1{
2    "$schema": "http://json-schema.org/draft-04/schema#",
3    "id": "3.3.4-targAccessibility.json",
4    "assertionType": "may",
5    "expectedResult": "valid",
6    "onUnexpectedResult" : "passAndContinue",
7    "errorMessage": "The description of a Target may include accessibility key which has one or more values.",
8    "title": "Implements **target _accessibility_ key** which has one or more values - [model 3.3.4](#https://www.w3.org/TR/annotation-model/#accessibility-of-content)",
9    "description": "True when Annotation includes one or more Targets, one or more of which include accessibility key which has one or more values. (Section 3.3.4)",
10    "type": "object",
11    "properties":
12    {
13        "target":
14        {
15           "oneOf": [
16                      { "anyOf": [
17                        { "$ref": "otherProperties.json#/definitions/accessibilityPropertyFound" },
18                        { "$ref": "otherProperties.json#/definitions/itemAccessibilityPropertyFound" },
19                        { "$ref": "otherProperties.json#/definitions/sourceAccessibilityPropertyFound" }
20                        ]
21                      },
22                       { "not":
23                         { "items":
24                            { "not":
25                               { "anyOf": [
26                                  { "$ref": "otherProperties.json#/definitions/accessibilityPropertyFound" },
27                                  { "$ref": "otherProperties.json#/definitions/itemAccessibilityPropertyFound" },
28                                  { "$ref": "otherProperties.json#/definitions/sourceAccessibilityPropertyFound" }
29                                 ]
30                               }
31                             }
32                         }
33                       }
34
35                     ]
36         }
37     },
38     "required": [ "target" ]
39}