{
    "additionalProperties": false,
    "properties": {
        "_id": {
            "description": "unique url-friendly base64 encoded, utf8 endoded concatenation identifier",
            "type": "string"
        },
        "_timestamp": {
            "_format": "date-time",
            "description": "ISO8601 combined date and time in UTC e.g. '2014-12-01T00:00:00+00:00'",
            "type": "string"
        },
        "available_hours": {
            "description": "The number of hours available - decimal(i.e.8.00 - not HH:MM)",
            "minimum": 0,
            "type": "number"
        },
        "consulate": {
            "description": "The name or identity of the consulate providing the appointment",
            "type": "string"
        },
        "period": {
            "description": "The period covered by each data point from the _timestamp",
            "enum": [
                "hour",
                "day",
                "week",
                "month",
                "quarter"
            ]
        },
        "service": {
            "description": "The name of the service provided e.g. appointment",
            "type": "string"
        },
        "used_hours": {
            "description": "The number of hours used - decimal(i.e.8.00 - not HH:MM)",
            "minimum": 0,
            "type": "number"
        }
    },
    "required": [
        "_id",
        "_timestamp",
        "period",
        "consulate",
        "service",
        "available_hours",
        "used_hours"
    ],
    "title": "consulate-service-utilisation",
    "type": "object"
}