{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "Models.SGV": {
            "id": "Models.SGV",
            "type": "object",
            "description": "export interface Timestamped { }",
            "properties": {
                "date": {
                    "description": "Epoch",
                    "type": "number"
                },
                "dateString": {
                    "description": "dateString, prefer ISO `8601`",
                    "type": "string"
                },
                "sgv": {
                    "description": "The glucose reading",
                    "type": "string"
                },
                "trend": {
                    "description": "Enum of direction",
                    "type": "number"
                },
                "direction": {
                    "description": "Direction of glucose reported by Dexcom.",
                    "type": "string"
                },
                "noise": {
                    "description": "Noise level at time of reading.",
                    "type": "number"
                }
            },
            "required": [
                "date",
                "dateString",
                "sgv",
                "direction"
            ],
            "additionalProperties": false
        },
        "Models.Timestamped": {
            "id": "Models.Timestamped",
            "type": "object",
            "properties": {
                "date": {
                    "type": "number"
                },
                "dateString": {
                    "description": "dateString, prefer ISO `8601`",
                    "type": "string"
                }
            },
            "required": [
                "date",
                "dateString"
            ],
            "additionalProperties": false
        },
        "Models.Entry": {
            "id": "Models.Entry",
            "type": "object",
            "properties": {
                "sgv": {
                    "type": "string"
                },
                "direction": {
                    "type": "string"
                }
            },
            "required": [
                "sgv",
                "direction"
            ],
            "additionalProperties": false
        }
    },
    "properties": {
        "Models.SGV": {
            "$ref": "#/definitions/Models.SGV"
        },
        "Models.Timestamped": {
            "$ref": "#/definitions/Models.Timestamped"
        },
        "Models.Entry": {
            "$ref": "#/definitions/Models.Entry"
        }
    },
    "required": [
        "Models.SGV",
        "Models.Timestamped",
        "Models.Entry"
    ]
}