tor-browser

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

4-targSpecificResource.json (1580B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "4-targSpecificResource.json",
      4    "assertionType": "may",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "passAndContinue",
      7    "errorMessage": "A Specific Resource may be used as an Annotation Target (not found).",
      8    "title": "Implements **Specific Resource** with **_source_ and at least one of _purpose, selector, state, style, renderedVia, scope_ keys** as a target of the Annotation  [model 4](https://www.w3.org/TR/annotation-model/#specific-resources)",
      9    "description": "True when Annotation includes one or more Specific Resources as Annotation target(ies). (Section 4)",
     10    "type": "object",
     11    "properties":
     12    {
     13        "target":
     14        {
     15           "anyOf": [
     16                      { "$ref": "specificResource.json#/definitions/specificeResourceDetected" },
     17                      { "$ref": "specificResource.json#/definitions/itemSpecificResourceDetected"},
     18                      { "not":
     19                         {
     20                           "items":
     21                            { "not":
     22                               { "anyOf": [
     23                                  { "$ref": "specificResource.json#/definitions/specificeResourceDetected" },
     24                                  { "$ref": "specificResource.json#/definitions/itemSpecificResourceDetected"}
     25                                 ]
     26                               }
     27                            }
     28                          }
     29                      }
     30                     ]
     31         }
     32     },
     33     "required": [ "target" ]
     34 }