{
    "additionalProperties": false,
    "description": "perfromance platform schema for: user-satisfaction multiple quantitative based question plus comment records. Quantitative question rated 1 to 5, 1 being the lowest, 5 being the highest. the comment is the last question. Schema shows 6 questions plus one comments question (question 7)",
    "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"
        },
        "period": {
            "description": "The period covered by each data point from the _timestamp",
            "enum": [
                "hour",
                "day",
                "week",
                "month",
                "quarter"
            ]
        },
        "question": {
            "description": "the identifier for the question",
            "type": "string"
        },
        "rating_1": {
            "description": "the number of respondents answering with the lowest ranked score",
            "minimum": 0,
            "type": "integer"
        },
        "rating_2": {
            "description": "the number of respondents answering with the second lowest ranked score",
            "minimum": 0,
            "type": "integer"
        },
        "rating_3": {
            "description": "the number of respondents answering with the middle ranked score",
            "minimum": 0,
            "type": "integer"
        },
        "rating_4": {
            "description": "the number of respondents answering with the second highest ranked score",
            "minimum": 0,
            "type": "integer"
        },
        "rating_5": {
            "description": "the number of respondents answering with the highest ranked score",
            "minimum": 0,
            "type": "integer"
        },
        "respondents": {
            "description": "the number of respondents responding the specific question - respondents may choose not to answer all survey questions",
            "minimum": 0,
            "type": "integer"
        },
        "total_respondents": {
            "description": "the total number of respondents undertaking the user-satisfaction questionnaire",
            "minimum": 0,
            "type": "integer"
        }
    },
    "required": [
        "_id",
        "_timestamp",
        "period",
        "question",
        "respondents",
        "total_respondents"
    ],
    "title": "user-satisfaction-multi-question",
    "type": "object"
}