1{
2  "$schema": "http://json-schema.org/draft-04/schema#",
3  "id": "3.3.2-pageCreatorAgentNameImplemented.json",
4  "assertionType": "may",
5  "expectedResult": "valid",
6  "onUnexpectedResult" : "passAndContinue",
7  "errorMessage": "Name for Annotation Page Creator (Agent) (i.e., in description of Collection included using partOf key) not found. Agents may have one or more name values.",
8  "title": "Implements Annotation Page-level creator (Agent) (i.e., in description of Collection included using partOf key) **_name_ key** with one or more values - [model 3.2.2](https://www.w3.org/TR/annotation-model/#agents)",
9  "description": "True when one or more name values for Annotation Page Creator (Agent) (i.e., in description of Collection included using partOf key) is implemented (Section 3.3.2)",
10   "type": "object",
11  "properties":
12  {
13    "partOf":
14           { "$ref": "#/definitions/creatorAgentNameFound" }
15  },
16  "required": [ "partOf" ],
17  "definitions": {
18   "creatorAgentNameFound":
19    {  "properties":
20      {  "creator":
21        { "oneOf":
22          [
23          { "$ref": "otherProperties.json#/definitions/agentNameFound" },
24          { "type": "array",
25            "minItems": 1,
26            "not":
27            { "items": { "not": { "$ref": "otherProperties.json#/definitions/agentNameFound" } } }
28          }
29          ]
30        }
31      },
32      "required": ["creator"]
33   }
34  }
35}
36