summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageModifiedImplemented.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageModifiedImplemented.json')
-rw-r--r--testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageModifiedImplemented.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageModifiedImplemented.json b/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageModifiedImplemented.json
new file mode 100644
index 0000000000..68d22370af
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageModifiedImplemented.json
@@ -0,0 +1,29 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "id": "3.3.1-pageModifiedImplemented.json",
+ "assertionType": "may",
+ "expectedResult": "valid",
+ "onUnexpectedResult" : "passAndContinue",
+ "errorMessage": "Valid Annotation Page-level modified key (i.e., in description of Collection included using partOf key) not found. Annotation Page may have zero or exactly one modified key value inherited from Collection.",
+ "title": "Implements Annotation Page-level **_modified_ key** (i.e., in description of Collection included using partOf key) which has a **single value** that is a **string of format date-time** - [model 3.3.1](https://www.w3.org/TR/annotation-model/#lifecycle-information)",
+ "description": "True when the Annotation Page implements exactly one modified key value (i.e., in description of Collection included using partOf key) (Section 3.3.1, 5.2)",
+ "type": "object",
+ "properties":
+ {
+ "partOf":
+ { "$ref": "#/definitions/modifiedImplemented" }
+ },
+ "required": [ "partOf" ],
+ "definitions":
+ {
+ "modifiedImplemented":
+ {
+ "allOf":
+ [
+ { "$ref": "otherProperties.json#/definitions/modifiedValidIfPresent"},
+ { "type": "object",
+ "required": [ "modified" ] }
+ ]
+ }
+ }
+}