summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/5.2-pageStartIndexImplemented.json
blob: 00a1eddd28c6a4721d1682a74139507e8a6c5e80 (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-pageStartIndexImplemented.json",
  "assertionType": "should",
  "expectedResult": "valid",
  "onUnexpectedResult" : "passAndContinue",
  "errorMessage": "Annotation Page has has no valid startIndex value.",
  "title": "Implements **Annotation Page _startIndex_ key** with valid value of _type_ integer >= 0 - [model 5.2](https://www.w3.org/TR/annotation-model/#annotation-page)",
  "oneOf": [
      { "$ref": "collections.json#/definitions/startIndexFound" },
      { "type": "object",
        "properties":
         {"first":
           { "$ref": "collections.json#/definitions/startIndexFound" }
         },
        "required": [ "first" ]
      }
  ]
}