{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateContactFlowRequest",
  "title": "CreateContactFlowRequest",
  "type": "object",
  "required": [
    "Content",
    "Name",
    "Type"
  ],
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the contact flow.",
      "example": "My Contact Flow"
    },
    "Type": {
      "type": "string",
      "description": "The type of the contact flow.",
      "enum": [
        "CONTACT_FLOW",
        "CUSTOMER_QUEUE",
        "CUSTOMER_HOLD",
        "CUSTOMER_WHISPER",
        "AGENT_HOLD",
        "AGENT_WHISPER",
        "OUTBOUND_WHISPER",
        "AGENT_TRANSFER",
        "QUEUE_TRANSFER"
      ],
      "example": "CONTACT_FLOW"
    },
    "Description": {
      "type": "string",
      "description": "The description of the contact flow."
    },
    "Content": {
      "type": "string",
      "description": "The content of the contact flow."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}