4-bodyEmbeddedTextualNoSource.json (1213B)
1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "4-bodyEmbeddedTextualNoSource.json", 4 "assertionType": "must", 5 "expectedResult": "valid", 6 "onUnexpectedResult" : "failAndContinue", 7 "errorMessage": "An Embedded Textual body cannot include a source key. source key is only valid with Specific Resources.", 8 "title": "If an **Embedded Textual Body** is a body, it does NOT have a **_source_ key** - [model 4](https://www.w3.org/TR/annotation-model/#specific-resources)", 9 "description": "True when no Embedded Textual bodies or when none of the Embedded Textual bodies include the source key. (Section 4)", 10 "type": "object", 11 "properties": 12 { 13 "body": 14 { 15 "allOf": [ 16 { "not": { "$ref": "bodyTarget.json#/definitions/embeddedTextualBodyWithSource" } }, 17 { "items": { "not": { "$ref": "bodyTarget.json#/definitions/embeddedTextualBodyWithSource" } } }, 18 { "not": { "$ref": "bodyTarget.json#/definitions/itemETBWithSource" } }, 19 { "items": { "not": { "$ref": "bodyTarget.json#/definitions/itemETBWithSource" } } } 20 ] 21 } 22 } 23 }