tor-browser

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

5.2-pageNextValidated.json (874B)


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