tor-browser

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

4-targSpecificResourceNoValue.json (1227B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "4-targSpecificResourceNoValue.json",
      4    "assertionType": "must",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "failAndContinue",
      7    "errorMessage": "An Specific Resource target cannot include a value key. value key is only valid with Specific Resources.",
      8    "title": "If a **Specific Resource** is a target, it does NOT have a **_value_ key** - [model 4](https://www.w3.org/TR/annotation-model/#specific-resources)",
      9    "description": "True when no Specific Resource targets or when none of the Specific Resource targets include the value key. (Section 4)",
     10    "type": "object",
     11    "properties":
     12    {
     13        "target":
     14        {
     15           "allOf": [
     16                      { "not": { "$ref": "specificResource.json#/definitions/specificResourceWithValue" } },
     17                      { "items": { "not": { "$ref": "specificResource.json#/definitions/specificResourceWithValue" } } },
     18                      { "not": { "$ref": "specificResource.json#/definitions/itemSRWithValue" }  },
     19                      { "items": { "not": { "$ref": "specificResource.json#/definitions/itemSRWithValue" } } }
     20                     ]
     21         }
     22     }
     23 }