{
    "additionalProperties": false,
    "description": "common schema for user application processing stage 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"
            ]
        },
        "stage": {
            "description": "application specific process stage",
            "type": "string"
        }
    },
    "required": [
        "_id",
        "_timestamp",
        "period",
        "stage",
        "count"
    ],
    "title": "application-stage-volumes",
    "type": "object"
}