{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-create-flex-flow-request-schema.json",
  "title": "CreateFlexFlowRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-flex-flows-api-openapi.yml#/components/schemas/CreateFlexFlowRequest",
  "type": "object",
  "required": [
    "FriendlyName",
    "ChatServiceSid",
    "ChannelType"
  ],
  "properties": {
    "FriendlyName": {
      "type": "string"
    },
    "ChatServiceSid": {
      "type": "string"
    },
    "ChannelType": {
      "type": "string",
      "enum": [
        "web",
        "sms",
        "facebook",
        "whatsapp",
        "line",
        "custom"
      ]
    },
    "ContactIdentity": {
      "type": "string"
    },
    "Enabled": {
      "type": "boolean"
    },
    "IntegrationType": {
      "type": "string",
      "enum": [
        "studio",
        "external",
        "task"
      ]
    },
    "Integration.FlowSid": {
      "type": "string"
    },
    "Integration.Url": {
      "type": "string",
      "format": "uri"
    },
    "Integration.WorkspaceSid": {
      "type": "string"
    },
    "Integration.WorkflowSid": {
      "type": "string"
    },
    "Integration.Channel": {
      "type": "string"
    },
    "LongLived": {
      "type": "boolean"
    },
    "JanitorEnabled": {
      "type": "boolean"
    }
  }
}