{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "subelement",
    "description": "A subelement element",
    "type": "object",
    "properties": {
        "content": {
            "description": "the content",
            "type": "string"
        },
        "children": {
            "description": "the content",
            "type": "string"
        }
    },
    "anyOf": [
        {
            "required": [
                "children"
            ]
        },
        {
            "required": [
                "content"
            ]
        }
    ]
}