tor-browser

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

3.3.1-bodyCreated.json (1843B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "3.3.1-bodyCreated.json",
      4    "assertionType": "should",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "passAndContinue",
      7    "errorMessage": "The description of a body should include created key with a single value that is of format date-time.",
      8    "title": "Implements **body _created_ key** with a **single value** that is of **format date-time** [model 3.3.1](https://www.w3.org/TR/annotation-model/#lifecycle-information)",
      9    "description": "True when Annotation includes one or more bodies, one or more of which include created key with a single value of date-time format. (Section 3.3.1)",
     10    "type": "object",
     11    "required": ["body"],
     12    "properties":
     13    {
     14        "body":
     15        {
     16           "oneOf": [
     17                      { "anyOf": [
     18                        { "$ref": "otherProperties.json#/definitions/createdPropertyFound" },
     19                        { "$ref": "otherProperties.json#/definitions/itemCreatedPropertyFound" },
     20                        { "$ref": "otherProperties.json#/definitions/sourceCreatedPropertyFound" }
     21                        ]
     22                      },
     23                       { "not":
     24                         { "items":
     25                            { "not":
     26                               { "anyOf": [
     27                                  { "$ref": "otherProperties.json#/definitions/createdPropertyFound" },
     28                                  { "$ref": "otherProperties.json#/definitions/itemCreatedPropertyFound" },
     29                                  { "$ref": "otherProperties.json#/definitions/sourceCreatedPropertyFound" }
     30                                 ]
     31                               }
     32                             }
     33                         }
     34                       }
     35 
     36                     ]
     37         }
     38     }
     39 }