json_schema: {
      "additionalProperties": false,
      "description": "perfromance platform schema for: GOV.UK customer-satisfaction single question plus comment records. Quantitative question rated 1 to 5, 1 being the lowest, 5 being the highest",
      "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"
          },
          "comments": {
              "description": "the number of respondents leaving a comment - optional dependent on whether information available",
              "minimum": 0,
              "type": "integer"
          },
          "period": {
              "description": "The period covered by each data point from the _timestamp",
              "enum": [
                  "hour",
                  "day",
                  "week",
                  "month",
                  "quarter"
              ]
          },
          "satisfaction_score": {
              "description": "the calculated user satisfaction score for the service",
              "minimum": 0,
              "type": "number"
          },
          "total_responses": {
              "description": "the total number of respondents providing feedback",
              "minimum": 0,
              "type": "integer"
          }
      },
      "required": [
          "_id",
          "_timestamp",
          "period",
          "satisfaction_score",
          "total_responses"
      ],
      "title": "calculated-customer-satisfaction",
      "type": "object"
  }