Source code

Revision control

Copy as Markdown

Other Tools

{
"id": "5.2-pagePartOfValidated.json",
"assertionType": "must",
"expectedResult": "valid",
"onUnexpectedResult" : "failAndContinue",
"errorMessage": "ERROR: Annotation Page has an invalid partOf value.",
"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)",
"oneOf": [
{ "allOf": [
{ "$ref": "collections.json#/definitions/partOfValidIfPresent" },
{ "$ref": "collections.json#/definitions/annotationPageTypeValueFound" }
]
},
{ "type": "object",
"properties":
{"first":
{ "$ref": "collections.json#/definitions/partOfValidIfPresent" }
},
"required": [ "first" ]
}
]
}