{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-start-survey-test-response-schema.json",
  "title": "StartSurveyTestResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nopaque-co-uk-survey-tests-api-openapi.yml#/components/schemas/StartSurveyTestResponse",
  "type": "object",
  "required": [
    "runId",
    "configId",
    "agentE164",
    "endUserE164",
    "state",
    "startedAt",
    "expiresAt",
    "maxMessages"
  ],
  "properties": {
    "runId": {
      "type": "string",
      "format": "uuid"
    },
    "configId": {
      "type": "string"
    },
    "agentE164": {
      "type": "string",
      "description": "**Point the survey at this number.** Nothing can reach the test\nuntil the survey is aimed here.\n"
    },
    "endUserE164": {
      "type": "string"
    },
    "state": {
      "type": "string",
      "enum": [
        "waiting"
      ]
    },
    "startedAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": "integer",
      "description": "Epoch seconds."
    },
    "maxMessages": {
      "type": "integer"
    }
  }
}