tor-browser

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

3.2.7-targChoice.json (1154B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "3.2.7-targChoice.json",
      4    "assertionType": "may",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "passAndContinue",
      7    "errorMessage": "A Choice resource may be used as an Annotation Target (not found).",
      8    "title": "Implements **Choice** with **_type_ and _items_ keys** as a target of the Annotation  [model 3.2.7](https://www.w3.org/TR/annotation-model/#choice-of-targets-and-targets)",
      9    "description": "True when Annotation includes one or more Choice resources as Annotation target(ies). (Section 3.2.7)",
     10    "type": "object",
     11    "properties":
     12    {
     13        "target":
     14        {
     15           "oneOf": [
     16                      { "$ref": "choiceSet.json#/definitions/choiceDetected" },
     17                      { "not":
     18                         {
     19                           "items":
     20                            { "not":
     21                                  { "$ref": "choiceSet.json#/definitions/choiceDetected" }
     22                            }
     23                          }
     24                      }
     25                     ]
     26         }
     27     },
     28     "required": [ "target" ]
     29 }