tor-browser

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

4.5-targRenderedVia.json (1651B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "4.5-targRenderedVia.json",
      4    "assertionType": "may",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "passAndContinue",
      7    "errorMessage": "The description of a Specific Resource target  may include renderedVia key with one or more values.",
      8    "title": "Implements **Specific Resource target _renderedVia_ key** which has one or more values - [model 4.5](https://www.w3.org/TR/annotation-model/#rendering-software)",
      9    "description": "True when Annotation includes one or more Specific Resource targets, one or more of which include renderedVia key with one or more values. (Section 4.4)",
     10    "type": "object",
     11    "properties":
     12    {
     13        "target":
     14        {
     15           "oneOf": [
     16                      { "anyOf": [
     17                        { "$ref": "specificResource.json#/definitions/renderedViaDetected" },
     18                        { "$ref": "specificResource.json#/definitions/itemRenderedViaPropertyDetected" }
     19                        ]
     20                      },
     21                       { "not":
     22                         { "items":
     23                            { "not":
     24                               { "anyOf": [
     25                                  { "$ref": "specificResource.json#/definitions/renderedViaDetected" },
     26                                  { "$ref": "specificResource.json#/definitions/itemRenderedViaPropertyDetected" }
     27                                 ]
     28                               }
     29                             }
     30                         }
     31                       }
     32                     ]
     33         }
     34     },
     35     "required": [ "target" ]
     36 }