1{ 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "3.2.4-bodyChoiceSetNoValue.json", 4 "assertionType": "must", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "failAndContinue", 7 "errorMessage": "A Choice or Set body cannot include a value key. value key is only valid with Embedded Textual Bodies.", 8 "title": "If a **Choice or Set** is a body, it does NOT have a **_value_ key** - [model 3.2.4](https://www.w3.org/TR/annotation-model/#embedded-textual-body)", 9 "description": "True when no Choice or Set bodies or when none of the Choice or Set bodies include the value key. (Section 3.3.4)", 10 "type": "object", 11 "properties": 12 { 13 "body": 14 { 15 "allOf": [ 16 { "not": { "$ref": "choiceSet.json#/definitions/choiceSetWithValue" } }, 17 { "items": { "not": { "$ref": "choiceSet.json#/definitions/choiceSetWithValue" } } } 18 ] 19 } 20 } 21}