exampleContext.json (877B)
1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "title": "Check @context value", 4 "description": "'http://www.w3.org/ns/anno.jsonld must be' an @context value (Section 3.1)", 5 "assertionType": "must", 6 "expectedResult": "valid", 7 "errorMessage": "Error: 'http://www.w3.org/ns/anno.jsonld' is not an @context value.", 8 "type": "object", 9 "properties": { 10 "@context": { 11 "oneOf": [ 12 { "type": "string", 13 "$ref": "#/definitions/contextValue" }, 14 { "type": "array", 15 "$ref": "#/definitions/contextArray" } 16 ] 17 } 18 }, 19 "definitions": { 20 "contextValue": 21 { "enum": [ "http://www.w3.org/ns/anno.jsonld" ] }, 22 "contextArray": 23 { "not": 24 { "items": 25 { "not": 26 { "type": "string", 27 "$ref": "#/definitions/contextValue" } } 28 } 29 } 30 } 31 }