summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/5.2-pageTotalImplemented.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/annotation-model/collections/pages/5.2-pageTotalImplemented.json')
-rw-r--r--testing/web-platform/tests/annotation-model/collections/pages/5.2-pageTotalImplemented.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/annotation-model/collections/pages/5.2-pageTotalImplemented.json b/testing/web-platform/tests/annotation-model/collections/pages/5.2-pageTotalImplemented.json
new file mode 100644
index 0000000000..fe1f21edae
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/collections/pages/5.2-pageTotalImplemented.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "id": "5.2-pageTotalImplemented.json",
+ "assertionType": "may",
+ "expectedResult": "valid",
+ "onUnexpectedResult" : "passAndContinue",
+ "errorMessage": "Annotation Page has no total key (i.e., in description of Collection included using partOf key).",
+ "title": "Implements **Annotation Page _total_ key** (i.e., in description of Collection included using partOf key) with valid value - [model 5.1](https://www.w3.org/TR/annotation-model/#annotation-collection)",
+ "type": "object",
+ "properties":
+ {
+ "partOf":
+ { "$ref": "collections.json#/definitions/totalFound" }
+ },
+ "required": [ "partOf" ]
+}