tor-browser

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

3.2.7-bodyChoice.json (1140B)


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