{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "order": {
            "type": "object",
            "properties": {
                "orderId": {
                    "type": "integer"
                },
                "customerName": {
                    "type": "string"
                },
                "drinkType": {
                    "type": "string",
                    "enum": [
                        "Latte",
                        "Espresso",
                        "Cappuccino",
                        "Chai",
                        "Tea",
                        "Steamer",
                        "Hot Chocolate"
                    ]
                },
                "flavor": {
                    "type": "string",
                    "enum": [
                        "Carmel",
                        "Chocolate",
                        "Hazelnut",
                        "Vanilla",
                        "Peppermint",
                        "White Chocolate"
                    ]
                },
                "size": {
                    "type": "string",
                    "enum": [
                        "Small",
                        "Medium",
                        "Large",
                        "Extra-Large",
                        "Bucket"
                    ]
                },
                "date": {
                    "type": "string"
                },
                "time": {
                    "type": "string"
                },
                "milk": {
                    "type": "string",
                    "enum": [
                        "Non-Fat",
                        "Whole",
                        "Breve",
                        "Soy",
                        "Almond"
                    ]
                },
                "espressoConCard": {
                    "type": "string"
                },
                "totalPrice": {
                    "type": "number"
                }
            },
            "additionalProperties": false,
            "required": [
                "orderId",
                "customerName",
                "drinkType",
                "size",
                "date",
                "time",
                "milk",
                "espressoConCard",
                "totalPrice"
            ]
        }
    },
    "additionalProperties": false,
    "required": [
        "order"
    ]
}