{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "order": {
            "type": "object",
            "properties": {
                "orderId": {
                    "type": "integer"
                },
                "customerName": {
                    "type": "string"
                },
                "drinkType": {
                    "type": "string"
                },
                "size": {
                    "type": "string"
                },
                "date": {
                    "type": "string"
                },
                "time": {
                    "type": "string"
                },
                "milk": {
                    "type": "string"
                },
                "espressoConCard": {
                    "type": "string"
                },
                "totalPrice": {
                    "type": "number"
                }
            },
            "additionalProperties": false,
            "required": [
                "orderId",
                "customerName",
                "drinkType",
                "size",
                "date",
                "time",
                "milk",
                "espressoConCard",
                "totalPrice"
            ]
        }
    },
    "additionalProperties": false,
    "required": [
        "order"
    ]
}