{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-describe-test-case-response-schema.json",
  "title": "DescribeTestCaseResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-test-cases-api-openapi.yml#/components/schemas/DescribeTestCaseResponse",
  "type": "object",
  "properties": {
    "TestCase": {
      "$ref": "#/$defs/TestCase"
    }
  },
  "$defs": {
    "ChatEntryPointParameters": {
      "type": "object",
      "properties": {
        "FlowId": {
          "type": "string",
          "description": "The flow identifier for the test."
        }
      }
    },
    "TestCase": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the test case."
        },
        "Id": {
          "type": "string",
          "description": "The identifier of the test case."
        },
        "Name": {
          "type": "string",
          "description": "The name of the test case."
        },
        "Content": {
          "type": "string",
          "description": "The JSON string that represents the content of the test."
        },
        "EntryPoint": {
          "$ref": "#/$defs/TestCaseEntryPoint"
        },
        "InitializationData": {
          "type": "string",
          "description": "Defines the test attributes for precise data representation. The value must be a valid JSON string."
        },
        "Description": {
          "type": "string",
          "description": "The description of the test case."
        },
        "Status": {
          "type": "string",
          "enum": [
            "PUBLISHED",
            "SAVED"
          ],
          "description": "Indicates the test status as either SAVED or PUBLISHED."
        },
        "LastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the test case was last modified."
        },
        "LastModifiedRegion": {
          "type": "string",
          "description": "The region in which the test case was last modified."
        },
        "Tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags used to organize, track, or control access for this resource."
        },
        "TestCaseSha256": {
          "type": "string",
          "description": "The SHA256 hash of the test case content."
        }
      }
    },
    "TestCaseEntryPoint": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "VOICE_CALL",
            "CHAT"
          ],
          "description": "The type of entry point."
        },
        "VoiceCallEntryPointParameters": {
          "$ref": "#/$defs/VoiceCallEntryPointParameters"
        },
        "ChatEntryPointParameters": {
          "$ref": "#/$defs/ChatEntryPointParameters"
        }
      }
    },
    "VoiceCallEntryPointParameters": {
      "type": "object",
      "properties": {
        "SourcePhoneNumber": {
          "type": "string",
          "description": "The source phone number for the test."
        },
        "DestinationPhoneNumber": {
          "type": "string",
          "description": "The destination phone number for the test."
        },
        "FlowId": {
          "type": "string",
          "description": "The flow identifier for the test."
        }
      }
    }
  }
}