{
    "additionalProperties": false,
    "description": "common schema for user application started and complete volumes - used for MI data based save and return completion-rate calculation",
    "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"
        },
        "count": {
            "minimum": 0,
            "type": "integer"
        },
        "period": {
            "description": "The period covered by each data point from the _timestamp",
            "enum": [
                "hour",
                "day",
                "week",
                "month",
                "quarter"
            ]
        },
        "state": {
            "enum": [
                "started",
                "completed"
            ]
        }
    },
    "required": [
        "_id",
        "_timestamp",
        "period",
        "state",
        "count"
    ],
    "title": "application-state-volumes",
    "type": "object"
}