{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "name": {
            "type": "string",
            "pattern": "^[0-9a-zA-Z_-]{1,255}$"
        },
        "dataType": {
            "type": "string",
            "enum": [
                "string",
                "number",
                "boolean"
            ]
        },
        "constraint": {
            "type": "string",
            "enum": [
                "unique",
                "required",
                "optional"
            ]
        },
        "defaultValue": {
            "type": [
                "string",
                "number",
                "boolean"
            ]
        }
    },
    "required": [
        "name",
        "dataType",
        "constraint"
    ],
    "additionalProperties": false
}