3.3.2-targCreatorAgentSingleNameImplemented.json (1837B)
1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "3.3.2-targCreatorAgentSingleNameImplemented.json", 4 "assertionType": "should", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "passAndContinue", 7 "errorMessage": "Single name for Target Creator (Agent) not found. Agents should have exactly one name value.", 8 "title": "Implements Target-level creator (Agent) **_name_ key** with a **single value** that is a string - [model 3.2.2](https://www.w3.org/TR/annotation-model/#agents)", 9 "description": "True when exactly one name for Target Creator (Agent) is implemented (Section 3.3.2)", 10 "properties": 11 { 12 "target": 13 { 14 "oneOf": [ 15 { "anyOf": [ 16 { "$ref": "otherProperties.json#/definitions/creatorAgentWithSingularNameFound" }, 17 { "$ref": "otherProperties.json#/definitions/sourceCreatorAgentWithSingularNameFound" }, 18 { "$ref": "otherProperties.json#/definitions/itemCreatorAgentWithSingularNameFound" } 19 ] 20 }, 21 { "not": 22 { "items": 23 { "not": 24 { "anyOf": [ 25 { "$ref": "otherProperties.json#/definitions/creatorAgentWithSingularNameFound" }, 26 { "$ref": "otherProperties.json#/definitions/sourceCreatorAgentWithSingularNameFound" }, 27 { "$ref": "otherProperties.json#/definitions/itemCreatorAgentWithSingularNameFound" } 28 ] 29 } 30 } 31 } 32 } 33 ] 34 } 35 }, 36 "required": [ "target" ] 37 }