diff options
Diffstat (limited to 'testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4-targChoiceSetFound.json')
-rw-r--r-- | testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4-targChoiceSetFound.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4-targChoiceSetFound.json b/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4-targChoiceSetFound.json new file mode 100644 index 000000000..6b67481dc --- /dev/null +++ b/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4-targChoiceSetFound.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "id": "4-targChoiceSetFound.json", + "assertionType": "may", + "expectedResult": "valid", + "onUnexpectedResult" : "passAndContinue", + "errorMessage": "A Target may be a Choice or Set.", + "title": "Implements a **Choice or Set** as target - [model 3.2.7](https://www.w3.org/TR/annotation-model/#choice-of-bodies-and-targets)", + "description": "True when Choice or Set is a target. (Section 3.2.7)", + "type": "object", + "properties": + { + "target": + { + "oneOf": [ + { "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" } , + { "type": "Array", + "minItems": 1, + "not": + { "items": { "not": { "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" } } } + } + ] + } + } +}
\ No newline at end of file |