diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.4-bodyChoiceSetNoValue.json | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.4-bodyChoiceSetNoValue.json')
-rw-r--r-- | testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.4-bodyChoiceSetNoValue.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.4-bodyChoiceSetNoValue.json b/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.4-bodyChoiceSetNoValue.json new file mode 100644 index 000000000..95c0aafa9 --- /dev/null +++ b/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.4-bodyChoiceSetNoValue.json @@ -0,0 +1,21 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "id": "3.2.4-bodyChoiceSetNoValue.json", + "assertionType": "must", + "expectedResult": "valid", + "onUnexpectedResult" : "failAndContinue", + "errorMessage": "A Choice or Set body cannot include a value key. value key is only valid with Embedded Textual Bodies.", + "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)", + "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)", + "type": "object", + "properties": + { + "body": + { + "allOf": [ + { "not": { "$ref": "choiceSet.json#/definitions/choiceSetWithValue" } }, + { "items": { "not": { "$ref": "choiceSet.json#/definitions/choiceSetWithValue" } } } + ] + } + } +}
\ No newline at end of file |