5.2-pagePartOfValidated.json (887B)
1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "5.2-pagePartOfValidated.json", 4 "assertionType": "must", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "failAndContinue", 7 "errorMessage": "ERROR: Annotation Page has an invalid partOf value.", 8 "title": "True when **Annotation Page has no _partOf_ key** or has **_partOf_ key** with valid value oof string of format uri - [model 5.2](https://www.w3.org/TR/annotation-model/#annotation-page)", 9 "oneOf": [ 10 { "allOf": [ 11 { "$ref": "collections.json#/definitions/partOfValidIfPresent" }, 12 { "$ref": "collections.json#/definitions/annotationPageTypeValueFound" } 13 ] 14 }, 15 { "type": "object", 16 "properties": 17 {"first": 18 { "$ref": "collections.json#/definitions/partOfValidIfPresent" } 19 }, 20 "required": [ "first" ] 21 } 22 ] 23 }