{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-created-verification-codes-response-schema.json",
  "title": "CreatedVerificationCodesResponse",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-hosted-numbers-api-openapi.yml#/components/schemas/CreatedVerificationCodesResponse",
  "properties": {
    "data": {
      "items": {
        "description": "Verification code result response",
        "properties": {
          "error": {
            "description": "Error message describing why the verification code creation failed",
            "type": "string"
          },
          "phone_number": {
            "description": "Phone number for which the verification code was created",
            "type": "string",
            "x-format": "+E.164"
          },
          "type": {
            "description": "Type of verification method used",
            "enum": [
              "sms",
              "call"
            ],
            "type": "string"
          },
          "verification_code_id": {
            "description": "Unique identifier for the verification code",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "phone_number"
        ],
        "title": "VerificationCodeResult",
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "data"
  ],
  "type": "object"
}