{
    "title": "Holiday",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "A Federal holiday",
    "required": [
        "_metadata",
        "holiday"
    ],
    "type": "object",
    "properties": {
        "_metadata": {
            "required": [
                "request",
                "response"
            ],
            "type": "object",
            "properties": {
                "request": {
                    "required": [
                        "ip",
                        "params",
                        "time",
                        "user"
                    ],
                    "type": "object",
                    "properties": {
                        "ip": {
                            "type": "string"
                        },
                        "params": {
                            "type": "null"
                        },
                        "user": {
                            "type": "null"
                        },
                        "time": {
                            "type": "string"
                        }
                    }
                },
                "response": {
                    "required": [
                        "time"
                    ],
                    "type": "object",
                    "properties": {
                        "time": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "holiday": {
            "required": [
                "holiday_date",
                "holiday_description",
                "holiday_type",
                "id",
                "next_bus_date"
            ],
            "type": "object",
            "properties": {
                "next_bus_date": {
                    "type": "string"
                },
                "holiday_date": {
                    "type": "string"
                },
                "holiday_description": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "holiday_type": {
                    "type": "string"
                }
            }
        }
    }
}