tor-browser

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

4-bodySpecificResource.json (1567B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "4-bodySpecificResource.json",
      4    "assertionType": "may",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "passAndContinue",
      7    "errorMessage": "A Specific Resource may be used as an Annotation Body (not found).",
      8    "title": "Implements **Specific Resource** with **_source_ and at least one of _purpose, selector, state, style, renderedVia, scope_ keys** as a body 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 body(ies). (Section 4)",
     10    "type": "object",
     11    "required": ["body"],
     12    "properties":
     13    {
     14        "body":
     15        {
     16           "anyOf": [
     17                      { "$ref": "specificResource.json#/definitions/specificeResourceDetected" },
     18                      { "$ref": "specificResource.json#/definitions/itemSpecificResourceDetected"},
     19                      { "not":
     20                         {
     21                           "items":
     22                            { "not":
     23                               { "anyOf": [
     24                                  { "$ref": "specificResource.json#/definitions/specificeResourceDetected" },
     25                                  { "$ref": "specificResource.json#/definitions/itemSpecificResourceDetected"}
     26                                 ]
     27                               }
     28                            }
     29                          }
     30                      }
     31                     ]
     32         }
     33     }
     34 }