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