{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roark/json-schema/roark-duplicate-customer-flow-input-schema.json",
  "title": "DuplicateCustomerFlowInput",
  "description": "Options for duplicating a customer flow. Every field is optional.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roark-customer-flow-api-openapi.yml#/components/schemas/DuplicateCustomerFlowInput",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "description": "Title for the copy. Defaults to \"Copy of\" the source flow."
    },
    "agentIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Agents to link on the copy. Omit to carry the source flow's agents over. Required when the source is a Roark-managed flow with no agents of its own."
    }
  }
}