{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "EMT order list schema for AMTweaker",
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "request": {
                "description": "Requested item. Either an ore dictionary tag or an item in the form modid:item:damage",
                "type": "string",
                "oneOf": [
                    {
                        "pattern": "^[^:]+$"
                    },
                    {
                        "pattern": "^[^:]+:[^:]+:[0-9]+$"
                    }
                ]
            },
            "amount": {
                "description": "Amount of items necessary to fulfill the order.",
                "type": "integer",
                "minimum": 1
            },
            "reward": {
                "description": "MP reward for fulfilling the order.",
                "type": "integer",
                "minimum": 1
            },
            "type": {
                "description": "Order type. single (1 day), ",
                "enum": [
                    "single",
                    "short",
                    "middle",
                    "long"
                ]
            },
            "name": {
                "description": "Display name for the order. Can be a translation tag defined as a resource (realm assts.economical.lang)",
                "type": "string"
            },
            "season": {
                "description": "Order season. none (default), spring, summer, autumn or winter.",
                "enum": [
                    "none",
                    "spring",
                    "summer",
                    "autumn",
                    "winter"
                ]
            },
            "biome": {
                "description": "Order biome category. none (default), plane, cold, arid, damp or hell.",
                "enum": [
                    "none",
                    "plane",
                    "cold",
                    "arid",
                    "damp",
                    "hell"
                ]
            }
        },
        "required": [
            "request",
            "amount",
            "reward",
            "type",
            "name"
        ],
        "additionalProperties": false
    }
}