summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/5.2-pagePartOfImplemented.json
blob: a23e27ea689289db08a6ce5b0e6a4a283a91b14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "5.2-pagePartOfImplemented.json",
  "assertionType": "should",
  "expectedResult": "valid",
  "onUnexpectedResult" : "passAndContinue",
  "errorMessage": "Annotation Page has no partOf key.",
  "title": "Implements **Annotation Page _partOf_ key** with valid value of string of format uri - [model 5.2](https://www.w3.org/TR/annotation-model/#annotation-page)",
  "oneOf": [
      { "$ref": "collections.json#/definitions/partOfFound" },
      { "type": "object",
        "properties":
         {"first":
           { "$ref": "collections.json#/definitions/partOfFound" }
         },
        "required": [ "first" ]
      }
  ]
}