summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/annotations/3.2.5-bodyValueImplemented.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/annotation-model/annotations/3.2.5-bodyValueImplemented.json')
-rw-r--r--testing/web-platform/tests/annotation-model/annotations/3.2.5-bodyValueImplemented.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/annotation-model/annotations/3.2.5-bodyValueImplemented.json b/testing/web-platform/tests/annotation-model/annotations/3.2.5-bodyValueImplemented.json
new file mode 100644
index 0000000000..bce28da0b5
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/annotations/3.2.5-bodyValueImplemented.json
@@ -0,0 +1,14 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "id": "3.1-bodyValueImplemented.json",
+ "assertionType": "may",
+ "expectedResult": "valid",
+ "onUnexpectedResult" : "passAndContinue",
+ "errorMessage": "bodyValue key not found. Annotation May have exactly one bodyValue (if no body also included).",
+ "title": "Implements **_bodyValue_ key** which has a **single value** that is a **string** [model 3.2.5](https://www.w3.org/TR/annotation-model/#string-body)",
+ "description": "True when the Annotation implements a bodyValue key (Section 3.2.5)",
+ "allOf":
+ [
+ { "$ref": "annotations.json#/definitions/bodyValueFound"}
+ ]
+}