3.1-annotationContextValidated.json (920B)
1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "3.1-annotationContextValidated.json", 4 "assertionType": "must", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "failAndContinue", 7 "errorMessage": "ERROR: Annotation is missing @context key or 'http://www.w3.org/ns/anno.jsonld' is not a value of @context.", 8 "title": "Implements **_@context_ key** and '**http://www.w3.org/ns/anno.jsonld**' is **a value of _@context_** - [model 3.1](https://www.w3.org/TR/annotation-model/#annotations)", 9 "description": "True when the Annotation has @context key and 'http://www.w3.org/ns/anno.jsonld' is an @context value (Section 3.1)", 10 "type": "object", 11 "required": [ "@context" ], 12 "properties": { 13 "@context": { 14 "oneOf": [ 15 { "$ref": "annotations.json#/definitions/contextValueFound" }, 16 { "$ref": "annotations.json#/definitions/contextValueInArrayFound" } 17 ] 18 } 19 } 20 }