tor-browser

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

5.2-pageContextValidated.json (1015B)


      1 {
      2  "$schema": "http://json-schema.org/draft-04/schema#",
      3  "id": "5.2-pageContextValidated.json",
      4  "assertionType": "must",
      5  "expectedResult": "valid",
      6  "onUnexpectedResult" : "failAndContinue",
      7  "errorMessage": "ERROR: Annotation Page/Collection is missing @context key or 'http://www.w3.org/ns/anno.jsonld' is not a value of @context.",
      8  "title": "Implements **Annotation Page** (or Annotation Collection for embedded Page) **_@context_ key** and '**http://www.w3.org/ns/anno.jsonld**' is **a value of _@context_** - [model 5.2](https://www.w3.org/TR/annotation-model/#annotation-page)",
      9  "description": "True when the Annotation Page/Collection has @context key and 'http://www.w3.org/ns/anno.jsonld' is an @context value (Section 5.2)",
     10  "type": "object",
     11  "required": [ "@context" ],
     12  "properties": {
     13    "@context": {
     14      "oneOf": [
     15      { "$ref": "collections.json#/definitions/contextValueFound" },
     16      { "$ref": "collections.json#/definitions/contextValueInArrayFound" }
     17      ]
     18    }
     19  }
     20 }