{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-flex-configuration-schema.json",
  "title": "FlexConfiguration",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-configuration-api-openapi.yml#/components/schemas/FlexConfiguration",
  "type": "object",
  "properties": {
    "account_sid": {
      "type": "string",
      "pattern": "^AC[0-9a-fA-F]{32}$"
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "inDeployment",
        "notDeployed"
      ]
    },
    "task_router_workspace_sid": {
      "type": "string"
    },
    "chat_service_instance_sid": {
      "type": "string"
    },
    "flex_service_instance_sid": {
      "type": "string"
    },
    "ui_language": {
      "type": "string"
    },
    "ui_attributes": {
      "type": "object",
      "description": "Custom UI configuration attributes"
    },
    "ui_dependencies": {
      "type": "object"
    },
    "ui_version": {
      "type": "string"
    },
    "flex_url": {
      "type": "string",
      "format": "uri"
    },
    "flex_insights_hr": {
      "type": "object"
    },
    "flex_insights_drilldown": {
      "type": "boolean"
    },
    "channel_configs": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "runtime_domain": {
      "type": "string"
    },
    "messaging_service_instance_sid": {
      "type": "string"
    },
    "serverless_service_sids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "date_created": {
      "type": "string",
      "format": "date-time"
    },
    "date_updated": {
      "type": "string",
      "format": "date-time"
    },
    "url": {
      "type": "string",
      "format": "uri"
    }
  }
}