3.2.5-notBodyBodyValue.json (658B)
1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "3.2.5-notBodyBodyValue.json", 4 "assertionType": "must", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "failAndContinue", 7 "errorMessage": "ERROR: body and bodyValue are exclusive keys; a single annotation cannot have both.", 8 "title": "Annotation has a **_body_ key**, or a **_bodyValue_ key**, or **neither**, but **NEVER both** - [model 3.2.5](https://www.w3.org/TR/annotation-model/#string-body)", 9 "description": "True when the Annotation does not have both body key and bodyValue key (Section 3.2.5)", 10 "type": "object", 11 "not": 12 { "required": [ "body", "bodyValue"] } 13 }