{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://github.com/jebeck/nefelion/schemas/definitions.json",
    "definitions": {
        "id": {
            "type": "string",
            "format": "uuid"
        },
        "time": {
            "type": "string",
            "pattern": "^20[0-1][0-9]-[0-1][0-9]-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9]\\.000Z$"
        },
        "timezoneName": {
            "type": "string"
        },
        "timezoneOffset": {
            "type": "number",
            "minimum": -720,
            "maximum": 840
        },
        "trackedTime": {
            "$ref": "#/definitions/time"
        }
    },
    "properties": {
        "id": {
            "$ref": "#/definitions/id"
        },
        "time": {
            "$ref": "#/definitions/time"
        },
        "timezoneName": {
            "$ref": "#/definitions/timezoneName"
        },
        "timezoneOffset": {
            "$ref": "#/definitions/timezoneOffset"
        },
        "trackedTime": {
            "$ref": "#/definitions/trackedTime"
        }
    },
    "required": [
        "id",
        "time",
        "timezoneName",
        "timezoneOffset",
        "trackedTime"
    ]
}