{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "title": "Nature",
    "definitions": {
        "translations": {
            "type": "object",
            "properties": {
                "cz": {
                    "type": "string"
                },
                "dk": {
                    "type": "string"
                },
                "fr": {
                    "type": "string"
                },
                "de": {
                    "type": "string"
                },
                "gr": {
                    "type": "string"
                },
                "it": {
                    "type": "string"
                },
                "pl": {
                    "type": "string"
                },
                "tr": {
                    "type": "string"
                },
                "en": {
                    "type": "string"
                },
                "jp": {
                    "type": "string"
                },
                "es": {
                    "type": "string"
                }
            },
            "required": [
                "en",
                "de"
            ],
            "additionalProperties": false
        },
        "stat": {
            "type": [
                "string",
                "null"
            ],
            "enum": [
                "atk",
                "def",
                "sp_atk",
                "sp_def",
                "speed",
                null
            ]
        },
        "flavor": {
            "type": [
                "string",
                "null"
            ],
            "enum": [
                "Dry",
                "Spicy",
                "Sweet",
                "Bitter",
                "Sour",
                null
            ]
        }
    },
    "properties": {
        "names": {
            "$ref": "#/definitions/translations"
        },
        "increased_stat": {
            "$ref": "#/definitions/stat"
        },
        "decreased_stat": {
            "$ref": "#/definitions/stat"
        },
        "favorite_flavor": {
            "$ref": "#/definitions/flavor"
        },
        "disliked_flavor": {
            "$ref": "#/definitions/flavor"
        }
    },
    "required": [
        "names",
        "increased_stat",
        "decreased_stat",
        "favorite_flavor",
        "disliked_flavor"
    ],
    "additionalProperties": false
}