tor-browser

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

3.3.2-pageCreatorAgentIdImplemented.json (1396B)


      1 {
      2  "$schema": "http://json-schema.org/draft-04/schema#",
      3  "id": "3.3.2-pageCreatorAgentIdImplemented.json",
      4  "assertionType": "may",
      5  "expectedResult": "valid",
      6  "onUnexpectedResult" : "passAndContinue",
      7  "errorMessage": "Single id for Annotation Page Creator (Agent) (i.e., in description of Collection included using partOf key)  not found for any Creator. Agents should have exactly one id of format uri.",
      8  "title": "Implements Annotation Page-level creator (Agent) (i.e., in description of Collection included using partOf key) **_id_ key** with **single value** that is a **string of format uri** - [model 3.2.2](https://www.w3.org/TR/annotation-model/#agents)",
      9  "description": "True when at least one Annotation Page Creator (Agent) (i.e., in description of Collection included using partOf key) has exactly one id (Section 3.3.2)",
     10  "type": "object",
     11  "properties":
     12  {
     13    "partOf":
     14           { "$ref": "#/definitions/creatorAgentIdFound" }
     15  },
     16  "required": [ "partOf" ],
     17  "definitions": {
     18   "creatorAgentIdFound":
     19   {
     20    "properties":
     21    {  "creator":
     22      { "oneOf":
     23        [
     24         { "$ref": "id.json#/definitions/idValueFound" },
     25         { "type": "array",
     26           "minItems": 1,
     27           "not":
     28           { "items": { "not": { "$ref": "id.json#/definitions/idValueFound" } } }
     29         }
     30        ]
     31      }
     32    },
     33    "required": ["creator"]
     34   }
     35  }
     36 }