{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Data Frequency",
    "description": "Defines the format for describing the update frequency of a data source",
    "type": "object",
    "properties": {
        "split": {
            "description": "The final component of the data packet name, i.e. the dimension on which data source packets are split.",
            "type": "string",
            "enum": [
                "segment",
                "timestamp",
                "version"
            ]
        },
        "avg": {
            "description": "The average frequency (in ms) for data updates",
            "type": "integer",
            "minimum": 0
        },
        "max": {
            "description": "The maximum expected frequency (in ms) for data updates",
            "type": "integer",
            "minimum": 0
        },
        "min": {
            "description": "The minimum expected frequency (in ms) for data updates",
            "type": "integer",
            "minimum": 0
        }
    },
    "required": [
        "avg",
        "min",
        "max"
    ]
}