summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageModifiedImplemented.json
blob: 68d22370afbb3989b241631a5ccdb529dda36b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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" ] }
      ]
   }
  }
}