summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/5.2-pagePrevImplemented.json
blob: 0ba0e8792e77806e68e2bf3d7bdcfd4e07f0babb (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-pagePrevImplemented.json",
  "assertionType": "may",
  "expectedResult": "valid",
  "onUnexpectedResult" : "passAndContinue",
  "errorMessage": "Annotation Page has no prev key.",
  "title": "Implements **Annotation Page _prev_ 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/prevFound" },
      { "type": "object",
        "properties":
         {"first":
           { "$ref": "collections.json#/definitions/prevFound" }
         },
        "required": [ "first" ]
      }
  ]
}