{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-dialogflow-cx/json-schema/google-cloud-dialogflow-cx-flow-schema.json",
  "title": "Flow",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-cloud-dialogflow-cx-flows-api-openapi.yml#/components/schemas/Flow",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Resource name of the flow."
    },
    "displayName": {
      "type": "string",
      "description": "Human-readable name of the flow."
    },
    "description": {
      "type": "string",
      "description": "Description of the flow."
    },
    "transitionRoutes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "intent": {
            "type": "string"
          },
          "condition": {
            "type": "string"
          },
          "targetPage": {
            "type": "string"
          },
          "targetFlow": {
            "type": "string"
          }
        }
      }
    },
    "eventHandlers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "event": {
            "type": "string"
          },
          "targetPage": {
            "type": "string"
          },
          "targetFlow": {
            "type": "string"
          }
        }
      }
    }
  }
}