{
    "description": "A MWF button component's schema definition.",
    "properties": {
        "config": {
            "properties": {
                "element-type": {
                    "enum": [
                        "button",
                        "anchor"
                    ],
                    "type": "string"
                }
            },
            "required": [
                "element-type"
            ],
            "type": "object"
        },
        "content": {
            "properties": {
                "href": {
                    "type": "string"
                },
                "text": {
                    "type": "string"
                }
            },
            "required": [
                "text",
                "href"
            ],
            "type": "object"
        }
    },
    "required": [
        "config",
        "content"
    ],
    "title": "Button",
    "type": "object"
}