1{
2    "$schema": "http://json-schema.org/draft-04/schema#",
3    "id": "3.2.4-bodyETB.json",
4    "assertionType": "may",
5    "expectedResult": "valid",
6    "onUnexpectedResult" : "passAndContinue",
7    "errorMessage": "An Embedded Textual Body may be used as an Annotation Body.",
8    "title": "Implements **Embedded Textual Body** with **_value_ key** as a body of the Annotation  [model 3.2.4](https://www.w3.org/TR/annotation-model/#embedded-textual-body)",
9    "description": "True when Annotation includes one or more Embedded Textual Bodies as Annotation body(ies). (Section 3.2.4)",
10    "type": "object",
11    "required": ["body"],
12    "properties":
13    {
14        "body":
15        {
16           "anyOf": [
17                      { "$ref": "bodyTarget.json#/definitions/textualBodyFound" },
18                      { "not": { "items": { "not": { "$ref": "bodyTarget.json#/definitions/textualBodyFound" } } } },
19                      { "$ref": "bodyTarget.json#/definitions/itemETBDetected" },
20                      { "not": { "items": { "not": { "$ref": "bodyTarget.json#/definitions/itemETBDetected" } } } }
21                    ]
22         }
23     }
24}