tor-browser

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

5.1-collectionContextValidated.json (952B)


      1 {
      2  "$schema": "http://json-schema.org/draft-04/schema#",
      3  "id": "5.1-collectionContextValidated.json",
      4  "assertionType": "must",
      5  "expectedResult": "valid",
      6  "onUnexpectedResult" : "failAndContinue",
      7  "errorMessage": "ERROR: Annotation Collection is missing @context key or 'http://www.w3.org/ns/anno.jsonld' is not a value of @context.",
      8  "title": "Implements **_@context_ key** and '**http://www.w3.org/ns/anno.jsonld**' is **a value of _@context_** - [model 5.1](https://www.w3.org/TR/annotation-model/#annotation-collection)",
      9  "description": "True when the Annotation Collection has @context key and 'http://www.w3.org/ns/anno.jsonld' is an @context value (Section 5.1)",
     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 }