1{ 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "3.2.7-targEWRNoItems.json", 4 "assertionType": "must", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "failAndContinue", 7 "errorMessage": "The description of an External Web Resource target cannot include an items key. items key is only valid with Choice or Set.", 8 "title": "If an **External Web Resource** is a target, it does NOT have an **_items_ key** - [model 3.2.7](https://www.w3.org/TR/annotation-model/#choice-of-targets-and-targets)", 9 "description": "True when no External Web Resource targets (incl. as source or item) or when none of the External Web Recource targets include the items key. (Section 3.2.7)", 10 "type": "object", 11 "properties": 12 { 13 "target": 14 { 15 "allOf": [ 16 { "not": { "$ref": "bodyTarget.json#/definitions/ewrWithItems" } }, 17 { "items": { "not": { "$ref": "bodyTarget.json#/definitions/ewrWithItems" } } }, 18 { "not": { "$ref": "bodyTarget.json#/definitions/sourceEwrWithItems" } }, 19 { "items": { "not": { "$ref": "bodyTarget.json#/definitions/sourceEwrWithItems" } } }, 20 { "not": { "$ref": "bodyTarget.json#/definitions/itemEwrWithItems" } }, 21 { "items": { "not": { "$ref": "bodyTarget.json#/definitions/itemEwrWithItems" } } } 22 ] 23 } 24 } 25}