tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

5.2-pageStartIndexValidated.json (901B)


      1 {
      2  "$schema": "http://json-schema.org/draft-04/schema#",
      3  "id": "5.2-pageStartIndexValidated.json",
      4  "assertionType": "must",
      5  "expectedResult": "valid",
      6  "onUnexpectedResult" : "failAndContinue",
      7  "errorMessage": "ERROR: Annotation Page has an invalid startIndex value.",
      8  "title": "True when **Annotation Page has no _startIndex_ key** or has **_startIndex_ key** with valid value of _type_ integer >= 0 - [model 5.2](https://www.w3.org/TR/annotation-model/#annotation-page)",
      9  "oneOf": [
     10      { "allOf": [
     11           { "$ref": "collections.json#/definitions/startIndexDefinition" },
     12           { "$ref": "collections.json#/definitions/annotationPageTypeValueFound"  }
     13         ]
     14      },
     15      { "type": "object",
     16        "properties":
     17         {"first":
     18           { "$ref": "collections.json#/definitions/startIndexDefinition" }
     19         },
     20        "required": [ "first" ]
     21      }
     22  ]
     23 }