tor-browser

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

3.3.6-targRights.json (1862B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "3.2.1-targRights.json",
      4    "assertionType": "may",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "passAndContinue",
      7    "errorMessage": "The description of a target may include rights key with one or more values each of format uri.",
      8    "title": "Implements **target _rights_ key** which has one or more values, each of which is a **string of format uri** - [model 3.3.6](https://www.w3.org/TR/annotation-model/#rights-information)",
      9    "description": "True when Annotation includes one or more Targets, one or more of which include rights key with one or more values that are each of format uri. (Section 3.3.6)",
     10    "type": "object",
     11    "properties":
     12    {
     13        "target":
     14        {
     15           "oneOf": [
     16                      { "anyOf": [
     17                        { "$ref": "otherProperties.json#/definitions/rightsPropertyFound" },
     18                        { "$ref": "otherProperties.json#/definitions/itemRightsPropertyFound" },
     19                        { "$ref": "otherProperties.json#/definitions/sourceRightsPropertyFound" }
     20                        ]
     21                      },
     22                       { "not":
     23                         { "items":
     24                            { "not":
     25                               { "anyOf": [
     26                                  { "$ref": "otherProperties.json#/definitions/rightsPropertyFound" },
     27                                  { "$ref": "otherProperties.json#/definitions/itemRightsPropertyFound" },
     28                                  { "$ref": "otherProperties.json#/definitions/sourceRightsPropertyFound" }
     29                                 ]
     30                               }
     31                             }
     32                         }
     33                       }
     34                     ]
     35         }
     36     },
     37     "required": [ "target" ]
     38 }