3.3.2-annotationGeneratorAgentSingleNameImplemented.json (997B)
1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "3.3.2-annotationGeneratorAgentSingleNameImplemented.json", 4 "assertionType": "should", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "passAndContinue", 7 "errorMessage": "Single name for Annotation Generator (Agent) not found. Agents should have exactly one name value.", 8 "title": "Implements Annotation-level generator (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 Annotation Generator (Agent) is implemented (Section 3.3.2)", 10 "properties": 11 { "generator": 12 { "oneOf": 13 [ 14 { "$ref": "otherProperties.json#/definitions/agentSingularNameFound" }, 15 { "type": "array", 16 "minItems": 1, 17 "not": 18 { "items": { "not": { "$ref": "otherProperties.json#/definitions/agentSingularNameFound" } } } 19 } 20 ] 21 } 22 }, 23 "required": ["generator"] 24 }