tor-browser

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

3.3.1-bodyCreatedValidated.json (1818B)


      1 {
      2    "$schema": "http://json-schema.org/draft-04/schema#",
      3    "id": "3.3.1-bodyCreatedValidated.json",
      4    "assertionType": "must",
      5    "expectedResult": "valid",
      6    "onUnexpectedResult" : "failAndContinue",
      7    "errorMessage": "ERROR: A body or body/source has multiple created key values for a body or source, or a single created key value that is not of format date-time.",
      8    "title": "If present all body-level or body/source-level **_created_ keys** have 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 no body-level or body/source-level (SR body) created key present or when all created keys have a single value that is of format date-time (Section 3.3.1)",
     10    "type": "object",
     11    "properties":
     12    {
     13      "body":
     14       {
     15          "oneOf":
     16          [
     17            { "$ref": "id.json#/definitions/arraySingleStringUri" },
     18            { "allOf":
     19               [
     20                  { "$ref": "otherProperties.json#/definitions/createdValidIfPresent" },
     21                  { "$ref": "specificResource.json#/definitions/sourceWithCreated" }
     22               ]
     23            },
     24            {
     25                "type": "array",
     26                "items":
     27                {
     28                    "oneOf":
     29                    [
     30                        { "$ref": "id.json#/definitions/arraySingleStringUri" },
     31                        { "allOf":
     32                           [
     33                              { "$ref": "otherProperties.json#/definitions/createdValidIfPresent" },
     34                              { "$ref": "specificResource.json#/definitions/sourceWithCreated" }
     35                           ]
     36                        }
     37                    ]
     38                }
     39            }
     40          ]
     41       }
     42   }
     43 }