{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-trusted-advisor/json-schema/amazon-trusted-advisor-describe-create-case-options-response-schema.json",
  "title": "DescribeCreateCaseOptionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-trusted-advisor-describecreatecaseoptions-api-openapi.yml#/components/schemas/DescribeCreateCaseOptionsResponse",
  "type": "object",
  "properties": {
    "languageAvailability": {
      "type": "string",
      "description": "Language availability can be any of the following: available best_effort unavailable"
    },
    "communicationTypes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CommunicationTypeOptions"
      },
      "description": "A JSON-formatted array that contains the available communication type options, along with the available support timeframes for the given inputs."
    }
  },
  "$defs": {
    "CommunicationTypeOptions": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call."
        },
        "supportedHours": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SupportedHour"
          },
          "description": "A JSON-formatted list containing time ranges when support is available."
        },
        "datesWithoutSupport": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateInterval"
          },
          "description": "A JSON-formatted list containing date and time ranges for periods without support"
        }
      }
    },
    "DateInterval": {
      "type": "object",
      "properties": {
        "startDateTime": {
          "type": "string",
          "description": "A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'."
        },
        "endDateTime": {
          "type": "string",
          "description": "End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'."
        }
      }
    },
    "SupportedHour": {
      "type": "object",
      "properties": {
        "startTime": {
          "type": "string",
          "description": "Start Time. RFC 3339 format 'HH:mm:ss.SSS'."
        },
        "endTime": {
          "type": "string",
          "description": "End Time. RFC 3339 format 'HH:mm:ss.SSS'."
        }
      }
    }
  }
}