tor-browser

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

3.2-targetObjectsRecognized.json (1139B)


      1 {
      2  "$schema": "http://json-schema.org/draft-04/schema#",
      3  "id": "3.2-targetObjectsRecognized.json",
      4  "assertionType": "must",
      5  "expectedResult": "valid",
      6  "onUnexpectedResult" : "failAndContinue",
      7  "errorMessage": "ERROR: One or more Targets of the Annotation is not one of a string of format uri, an External Web Resource, a Choice or Set, a Specific Resource.",
      8  "title": "Each **_target_** is one of a **string of format uri**, an **External Web Resource**, a **Choice** or **Set**, or a **Specific Resource** - [model 3.2](https://www.w3.org/TR/annotation-model/#bodies-and-targets), [model 4](https://www.w3.org/TR/annotation-model/#specific-resources)",
      9  "description": "True when all Target(s) are one of a string of format uri, an External Web Resource, a Choice or Set, a Specific Resource (Sections 3.2, Section 4)",
     10  "type": "object",
     11  "properties":
     12  {
     13    "target":
     14    {"oneOf": [
     15      { "$ref": "bodyTarget.json#/definitions/targetResourcesFound" },
     16      { "type" : ["array"],
     17        "items": { "$ref": "bodyTarget.json#/definitions/targetResourcesFound" }
     18      }
     19    ]
     20    }
     21  },
     22  "required": [ "target" ]
     23 }