{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "properties": {
        "encoding": {
            "enum": [
                "UTF-8"
            ]
        },
        "timeZone": {
            "pattern": "UTC|(Africa/[A-Za-z]+)|(America/[A-Za-z]+)|(Antarctica/[A-Za-z]+)|(Arctic/[A-Za-z]+)|(Asia/[A-Za-z]+)|(Atlantic/[A-Za-z]+)|(Australia/[A-Za-z]+)|(Europe/[A-Za-z]+)|(Indian/[A-Za-z]+)|(Pacific/[A-Za-z]+)"
        },
        "database": {
            "properties": {
                "dbms": {
                    "enum": [
                        "MySQL"
                    ]
                },
                "prefix": {
                    "enum": [
                        ""
                    ]
                },
                "x-dropFirst": {
                    "type": "boolean"
                }
            }
        },
        "resources": {
            "items": {
                "properties": {
                    "base": {
                        "not": {}
                    },
                    "abstract": {
                        "enum": [
                            false
                        ]
                    },
                    "inheritanceStrategy": {
                        "not": {}
                    },
                    "idInjection": {
                        "enum": [
                            true
                        ]
                    },
                    "relations": {
                        "items": {
                            "properties": {
                                "onDelete": {
                                    "enum": [
                                        "restrict",
                                        "noAction",
                                        "cascade",
                                        "setNull",
                                        "setDefault"
                                    ]
                                },
                                "onUpdate": {
                                    "enum": [
                                        "restrict",
                                        "noAction",
                                        "cascade",
                                        "setNull",
                                        "setDefault"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}