tor-browser

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

4.4-bodyStyleClass.json (1620B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "4.4-bodyStyleClass.json",
      4    "assertionType": "may",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "passAndContinue",
      7    "errorMessage": "The description of a Specific Resource body  may include styleClass key with one or more values.",
      8    "title": "Implements **Specific Resource body _styleClass_ key** which has one or more values - [model 4.4](https://www.w3.org/TR/annotation-model/#styles)",
      9    "description": "True when Annotation includes one or more Specific Resource bodies, one or more of which include styleClass key with one or more values. (Section 4.4)",
     10    "type": "object",
     11    "properties":
     12    {
     13        "body":
     14        {
     15           "oneOf": [
     16                      { "anyOf": [
     17                        { "$ref": "specificResource.json#/definitions/styleClassDetected" },
     18                        { "$ref": "specificResource.json#/definitions/itemStyleClassPropertyDetected" }
     19                        ]
     20                      },
     21                       { "not":
     22                         { "items":
     23                            { "not":
     24                               { "anyOf": [
     25                                  { "$ref": "specificResource.json#/definitions/styleClassDetected" },
     26                                  { "$ref": "specificResource.json#/definitions/itemStyleClassPropertyDetected" }
     27                                 ]
     28                               }
     29                             }
     30                         }
     31                       }
     32                     ]
     33         }
     34     },
     35     "required": ["body"]
     36 }