{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "title": "WikiDataFormForm",
    "description": "WikiDataFormForm from Tiamat",
    "definitions": {
        "jsonSchema": {
            "type": "object",
            "properties": {
                "type": {
                    "enum": [
                        "object",
                        "string",
                        "number",
                        "integer",
                        "array"
                    ]
                },
                "items": {
                    "ref": "#/definitions/jsonSchema"
                },
                "properties": {
                    "ref": "#/definitions/jsonSchema"
                }
            }
        }
    },
    "type": "object",
    "properties": {
        "name": {
            "type": "string",
            "minLength": 4,
            "maxLength": 10
        },
        "jsonSchema": {
            "$ref": "#/definitions/jsonSchema"
        },
        "uiSchema": {
            "type": "object"
        }
    },
    "required": [
        "name",
        "jsonSchema"
    ]
}