1{
2  "$schema": "http://json-schema.org/draft-04/schema#",
3  "id": "3.3.2-bodyCreatorAgentNameImplemented.json",
4  "assertionType": "may",
5  "expectedResult": "valid",
6  "onUnexpectedResult" : "passAndContinue",
7  "errorMessage": "Name for Body Creator (Agent) not found. Agents may have one or more name values.",
8  "title": "Implements Body-level creator (Agent) **_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 Body Creator (Agent) is implemented (Section 3.3.2)",
10    "required": [ "body" ],
11    "properties":
12    {
13        "body":
14        {
15           "oneOf": [
16                      { "anyOf": [
17                        { "$ref": "otherProperties.json#/definitions/creatorAgentWithNameFound" },
18                        { "$ref": "otherProperties.json#/definitions/sourceCreatorAgentWithNameFound" },
19                        { "$ref": "otherProperties.json#/definitions/itemCreatorAgentWithNameFound" }
20                        ]
21                      },
22                       { "not":
23                         { "items":
24                            { "not":
25                               { "anyOf": [
26                                  { "$ref": "otherProperties.json#/definitions/creatorAgentWithNameFound" },
27                                  { "$ref": "otherProperties.json#/definitions/sourceCreatorAgentWithNameFound" },
28                                  { "$ref": "otherProperties.json#/definitions/itemCreatorAgentWithNameFound" }
29                                 ]
30                               }
31                             }
32                         }
33                       }
34                     ]
35         }
36     }
37}
38