summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageCreatorImplemented.json
blob: 6ae95413e284099da7a4d952c3cc9371aa84c922 (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
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "3.3.1-pageCreatorImplemented.json",
  "assertionType": "may",
  "expectedResult": "valid",
  "onUnexpectedResult" : "passAndContinue",
  "errorMessage": "Valid Annotation Page-level creator key (i.e., in description of Collection included using partOf key) not found. Annotation Page may have zero or more creators inherited from Collection.",
  "title": "Implements **Annotation Page-level _creator_ key** (i.e., in description of Collection included using partOf key) which has one or more values, each of which is a **string of format uri** or an **object** - [model 3.3.1](https://www.w3.org/TR/annotation-model/#lifecycle-information)",
  "type": "object",
  "properties":
  {
    "partOf":
           { "$ref": "#/definitions/creatorImplemented" }
  },
  "required": [ "partOf" ],
  "definitions":
  {
    "creatorImplemented":
    {
      "allOf":
       [
        { "$ref": "otherProperties.json#/definitions/creatorValidIfPresent"},
        { "type": "object",
          "required": [ "creator" ] }
       ]
    }
  }
}