{
    "id": "https://xshl.org/schemas/1.1/content/chunk/text.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "Text.",
    "name": "text-chunk-content-xshl",
    "version": "1.2.4",
    "description": "A representation of text in header, paragraph, description etc.",
    "type": "object",
    "additionalProperties": false,
    "required": ["content"],
    "properties": {
        "@context": {
            "$ref": "https://xshl.org/schemas/1.1/definitions/context.json"
        },
        "@type": {
            "$ref": "https://xshl.org/schemas/1.1/definitions/type.json"
        },
        "@id": { "$ref": "https://xshl.org/schemas/1.1/definitions/id.json" },
        "target": {
            "$ref": "https://xshl.org/schemas/1.1/definitions/target.json"
        },
        "content": {
            "oneOf": [
                {
                    "type": "array",
                    "items": {
                        "$ref": "https://xshl.org/schemas/1.1/definitions/text.json"
                    },
                    "minItems": 2,
                    "uniqueItems": true
                },
                {
                    "$ref": "https://xshl.org/schemas/1.1/definitions/text.json"
                }
            ]
        }
    }
}
