5.2-pageIdValidated.json (1000B)
1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "5.2-pageIdValidated.json", 4 "assertionType": "must", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "failAndContinue", 7 "errorMessage": "ERROR: Annotation Page is missing id key or value of id key is not a single string of format uri.", 8 "title": "Implements **Annotation Page _id_ key** which has a **single value** that is a **string of format uri** - [model 5.2](https://www.w3.org/TR/annotation-model/#annotation-page)", 9 "description": "True when the Annotation Page has a single id that is a string of format uri (Section 5.2)", 10 "oneOf": [ 11 { "allOf": [ 12 { "$ref": "id.json#/definitions/idValueFound" }, 13 { "$ref": "collections.json#/definitions/annotationPageTypeValueFound" } 14 ] 15 }, 16 { "type": "object", 17 "properties": 18 {"first": 19 { "$ref": "id.json#/definitions/idValueFound" } 20 }, 21 "required": [ "first" ] 22 } 23 ] 24 }