{
  "$defs": {
    "ActivityCoverage": {
      "additionalProperties": true,
      "properties": {
        "observed_since": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Observed Since"
        },
        "complete_window": {
          "title": "Complete Window",
          "type": "boolean"
        },
        "missing_observations": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Missing Observations"
        },
        "reasons": {
          "items": {
            "type": "string"
          },
          "maxItems": 10,
          "title": "Reasons",
          "type": "array"
        }
      },
      "required": [
        "observed_since",
        "complete_window"
      ],
      "title": "ActivityCoverage",
      "type": "object"
    },
    "ActivityEmailPreviewInput": {
      "additionalProperties": false,
      "properties": {
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "preferences": {
          "$ref": "#/$defs/NotificationPreferencesInput"
        },
        "window": {
          "$ref": "#/$defs/ActivityWindow"
        }
      },
      "required": [
        "tenant_id",
        "preferences",
        "window"
      ],
      "title": "ActivityEmailPreviewInput",
      "type": "object"
    },
    "ActivitySummary": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "audience": {
          "enum": [
            "personal",
            "organization_administrators"
          ],
          "title": "Audience",
          "type": "string"
        },
        "window": {
          "$ref": "#/$defs/ActivityWindow"
        },
        "coverage": {
          "$ref": "#/$defs/ActivityCoverage"
        },
        "knowledge": {
          "$ref": "#/$defs/KnowledgeActivityCounts"
        },
        "top_projects": {
          "items": {
            "$ref": "#/$defs/ProjectActivity"
          },
          "maxItems": 10,
          "title": "Top Projects",
          "type": "array"
        },
        "daily_activity": {
          "items": {
            "$ref": "#/$defs/DailyActivity"
          },
          "maxItems": 367,
          "title": "Daily Activity",
          "type": "array"
        },
        "mcp": {
          "$ref": "#/$defs/McpActivityCounts"
        },
        "models": {
          "$ref": "#/$defs/ModelActivityCounts"
        }
      },
      "required": [
        "tenant_id",
        "audience",
        "window",
        "coverage",
        "knowledge",
        "mcp",
        "models"
      ],
      "title": "ActivitySummary",
      "type": "object"
    },
    "ActivityValue": {
      "additionalProperties": true,
      "properties": {},
      "title": "ActivityValue",
      "type": "object"
    },
    "ActivityWindow": {
      "additionalProperties": false,
      "properties": {
        "start_at": {
          "format": "date-time",
          "title": "Start At",
          "type": "string"
        },
        "end_at": {
          "format": "date-time",
          "title": "End At",
          "type": "string"
        },
        "time_zone": {
          "maxLength": 128,
          "minLength": 1,
          "title": "Time Zone",
          "type": "string"
        }
      },
      "required": [
        "start_at",
        "end_at",
        "time_zone"
      ],
      "title": "ActivityWindow",
      "type": "object"
    },
    "AddKnowledge": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "action": {
          "const": "add",
          "title": "Action",
          "type": "string"
        },
        "mode": {
          "enum": [
            "document",
            "dataset"
          ],
          "title": "Mode",
          "type": "string"
        },
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "project_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Project Id",
          "type": "string"
        },
        "parent_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Parent Id",
          "type": "string"
        }
      },
      "required": [
        "expected_revision",
        "action",
        "mode",
        "workspace_id",
        "project_id",
        "parent_id"
      ],
      "title": "AddKnowledge",
      "type": "object"
    },
    "AdministrativeSummarySchedule": {
      "additionalProperties": false,
      "properties": {
        "cadence": {
          "enum": [
            "daily",
            "weekly",
            "monthly"
          ],
          "title": "Cadence",
          "type": "string"
        },
        "schedule": {
          "$ref": "#/$defs/DigestSchedule"
        }
      },
      "required": [
        "cadence"
      ],
      "title": "AdministrativeSummarySchedule",
      "type": "object"
    },
    "AgentConfiguration": {
      "additionalProperties": true,
      "properties": {
        "model_settings": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Model Settings",
          "type": "object"
        },
        "input_modalities": {
          "items": {
            "enum": [
              "text",
              "image",
              "audio"
            ],
            "type": "string"
          },
          "title": "Input Modalities",
          "type": "array"
        },
        "input_modality_policy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Input Modality Policy"
        },
        "model_options_supported": {
          "items": {
            "type": "string"
          },
          "title": "Model Options Supported",
          "type": "array"
        },
        "api": {
          "anyOf": [
            {
              "enum": [
                "chat",
                "responses",
                "messages"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Api"
        },
        "model_class": {
          "anyOf": [
            {
              "enum": [
                "OpenAIChatModel",
                "OpenAIResponsesModel",
                "AnthropicModel"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Class"
        },
        "model_options": {
          "$ref": "#/$defs/ModelParameters"
        },
        "configured": {
          "default": false,
          "title": "Configured",
          "type": "boolean"
        },
        "can_run": {
          "default": false,
          "title": "Can Run",
          "type": "boolean"
        },
        "dependencies": {
          "items": {
            "$ref": "#/$defs/ModelConnection"
          },
          "title": "Dependencies",
          "type": "array"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "description": {
          "title": "Description",
          "type": "string"
        },
        "provider_id": {
          "title": "Provider Id",
          "type": "string"
        },
        "model_id": {
          "title": "Model Id",
          "type": "string"
        },
        "tools": {
          "items": {
            "enum": [
              "search_knowledge",
              "inspect_schema",
              "query_dataset",
              "propose_catalog_update"
            ],
            "type": "string"
          },
          "title": "Tools",
          "type": "array"
        },
        "scope": {
          "$ref": "#/$defs/KnowledgeScope"
        },
        "instructions": {
          "title": "Instructions",
          "type": "string"
        },
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "status": {
          "enum": [
            "ready",
            "needs_setup",
            "unverified",
            "disabled"
          ],
          "title": "Status",
          "type": "string"
        },
        "checks": {
          "items": {
            "$ref": "#/$defs/SetupCheck"
          },
          "title": "Checks",
          "type": "array"
        }
      },
      "required": [
        "id",
        "name",
        "description",
        "provider_id",
        "model_id",
        "tools",
        "scope",
        "instructions",
        "enabled",
        "revision",
        "status",
        "checks"
      ],
      "title": "AgentConfiguration",
      "type": "object"
    },
    "AgentInput": {
      "additionalProperties": false,
      "properties": {
        "model_options": {
          "anyOf": [
            {
              "$ref": "#/$defs/ModelParameters"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Description"
        },
        "provider_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "model_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Id"
        },
        "tools": {
          "anyOf": [
            {
              "items": {
                "enum": [
                  "search_knowledge",
                  "inspect_schema",
                  "query_dataset",
                  "propose_catalog_update"
                ],
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Tools"
        },
        "scope": {
          "anyOf": [
            {
              "$ref": "#/$defs/KnowledgeScope"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "instructions": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Instructions"
        },
        "enabled": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Enabled"
        }
      },
      "title": "AgentInput",
      "type": "object"
    },
    "AgentUsage": {
      "additionalProperties": true,
      "properties": {
        "agent": {
          "title": "Agent",
          "type": "string"
        },
        "model": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model"
        },
        "input_tokens": {
          "default": 0,
          "title": "Input Tokens",
          "type": "integer"
        },
        "output_tokens": {
          "default": 0,
          "title": "Output Tokens",
          "type": "integer"
        },
        "total_tokens": {
          "default": 0,
          "title": "Total Tokens",
          "type": "integer"
        },
        "cost_usd": {
          "default": 0,
          "title": "Cost Usd",
          "type": "number"
        },
        "latency_ms": {
          "default": 0,
          "title": "Latency Ms",
          "type": "number"
        },
        "calls": {
          "default": 0,
          "title": "Calls",
          "type": "integer"
        }
      },
      "required": [
        "agent"
      ],
      "title": "AgentUsage",
      "type": "object"
    },
    "AgenticCapability": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "verified": {
          "title": "Verified",
          "type": "boolean"
        }
      },
      "required": [
        "configured",
        "verified"
      ],
      "title": "AgenticCapability",
      "type": "object"
    },
    "AnswerAudit": {
      "additionalProperties": true,
      "properties": {
        "run_id": {
          "title": "Run Id",
          "type": "string"
        },
        "provenance_status": {
          "enum": [
            "recorded",
            "not_recorded"
          ],
          "title": "Provenance Status",
          "type": "string"
        },
        "source_provenance_complete": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Provenance Complete"
        },
        "output_release": {
          "anyOf": [
            {
              "$ref": "#/$defs/AnswerRelease"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "product_context": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProductHelpContext"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "knowledge_settings_snapshot": {
          "anyOf": [
            {
              "$ref": "#/$defs/OrganizationKnowledgeSnapshot"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "memory": {
          "anyOf": [
            {
              "$ref": "#/$defs/MemoryReceipt"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "generations": {
          "items": {
            "$ref": "#/$defs/GenerationReceipt"
          },
          "maxItems": 100,
          "title": "Generations",
          "type": "array"
        },
        "sources": {
          "items": {
            "$ref": "#/$defs/SourceReference"
          },
          "maxItems": 500,
          "title": "Sources",
          "type": "array"
        },
        "private_files": {
          "items": {
            "$ref": "#/$defs/PrivateFileReceipt"
          },
          "maxItems": 10,
          "title": "Private Files",
          "type": "array"
        },
        "native_reads": {
          "items": {
            "$ref": "#/$defs/NativeReadReceipt"
          },
          "maxItems": 1000,
          "title": "Native Reads",
          "type": "array"
        },
        "sql_attempts": {
          "items": {
            "$ref": "#/$defs/SqlAttemptReceipt"
          },
          "maxItems": 1000,
          "title": "Sql Attempts",
          "type": "array"
        },
        "rlm_tools": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/RlmToolReceipt"
              },
              "maxItems": 1000,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Actual recorded RLM function actions. Null means unrecorded; historical traces are never backfilled. A list does not assert that an interrupted generation has a complete trace.",
          "title": "Rlm Tools"
        }
      },
      "required": [
        "run_id",
        "provenance_status"
      ],
      "title": "AnswerAudit",
      "type": "object"
    },
    "AnswerPolicy": {
      "additionalProperties": true,
      "properties": {
        "outcome": {
          "enum": [
            "grounded",
            "refused",
            "review_required",
            "product_help"
          ],
          "title": "Outcome",
          "type": "string"
        },
        "code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Code"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        },
        "validation": {
          "anyOf": [
            {
              "$ref": "#/$defs/AnswerSelectionValidation"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "publication": {
          "anyOf": [
            {
              "$ref": "#/$defs/AnswerPublication"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "outcome"
      ],
      "title": "AnswerPolicy",
      "type": "object"
    },
    "AnswerPublication": {
      "additionalProperties": true,
      "properties": {
        "format": {
          "const": "verified-unicode-v1",
          "title": "Format",
          "type": "string"
        },
        "chunk_size": {
          "const": 128,
          "title": "Chunk Size",
          "type": "integer"
        },
        "chunk_count": {
          "title": "Chunk Count",
          "type": "integer"
        },
        "text_sha256": {
          "title": "Text Sha256",
          "type": "string"
        }
      },
      "required": [
        "format",
        "chunk_size",
        "chunk_count",
        "text_sha256"
      ],
      "title": "AnswerPublication",
      "type": "object"
    },
    "AnswerRelease": {
      "additionalProperties": true,
      "properties": {
        "version": {
          "const": 1,
          "default": 1,
          "title": "Version",
          "type": "integer"
        },
        "policy_version": {
          "default": "knowledge-only-v1",
          "enum": [
            "knowledge-only-v1",
            "knowledge-only-v2"
          ],
          "title": "Policy Version",
          "type": "string"
        },
        "run_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Run Id",
          "type": "string"
        },
        "message_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Message Id",
          "type": "string"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "generation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Generation Id"
        },
        "publication_sequence": {
          "minimum": 1,
          "title": "Publication Sequence",
          "type": "integer"
        },
        "outcome": {
          "enum": [
            "grounded",
            "refused",
            "review_required",
            "product_help"
          ],
          "title": "Outcome",
          "type": "string"
        },
        "text_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Text Sha256",
          "type": "string"
        },
        "citations_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Citations Sha256",
          "type": "string"
        },
        "artifacts_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Artifacts Sha256",
          "type": "string"
        },
        "policy_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Policy Sha256",
          "type": "string"
        },
        "fact_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "maxItems": 80,
          "title": "Fact Ids",
          "type": "array"
        },
        "result_pins": {
          "default": [],
          "items": {
            "$ref": "#/$defs/ResultPin"
          },
          "maxItems": 100,
          "title": "Result Pins",
          "type": "array"
        },
        "source_refs": {
          "default": [],
          "items": {
            "$ref": "#/$defs/SourceReference"
          },
          "maxItems": 500,
          "title": "Source Refs",
          "type": "array"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        }
      },
      "required": [
        "run_id",
        "message_id",
        "tenant_id",
        "publication_sequence",
        "outcome",
        "text_sha256",
        "citations_sha256",
        "artifacts_sha256",
        "policy_sha256",
        "created_at"
      ],
      "title": "AnswerRelease",
      "type": "object"
    },
    "AnswerSelectionValidation": {
      "additionalProperties": true,
      "properties": {
        "repairs": {
          "title": "Repairs",
          "type": "integer"
        },
        "errors": {
          "items": {
            "type": "string"
          },
          "title": "Errors",
          "type": "array"
        }
      },
      "required": [
        "repairs",
        "errors"
      ],
      "title": "AnswerSelectionValidation",
      "type": "object"
    },
    "AssetAvailability": {
      "additionalProperties": true,
      "properties": {
        "phase": {
          "default": "unknown",
          "enum": [
            "unknown",
            "queued",
            "processing",
            "indexing",
            "complete",
            "failed",
            "cancelled",
            "reconciliation_required"
          ],
          "title": "Phase",
          "type": "string"
        },
        "read": {
          "$ref": "#/$defs/AvailabilityCapability"
        },
        "search": {
          "$ref": "#/$defs/AvailabilityCapability"
        },
        "query": {
          "$ref": "#/$defs/AvailabilityCapability"
        },
        "revision": {
          "$ref": "#/$defs/AvailabilityRevision"
        },
        "latest_attempt": {
          "anyOf": [
            {
              "$ref": "#/$defs/AvailabilityAttempt"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "title": "AssetAvailability",
      "type": "object"
    },
    "AttachmentCapabilities": {
      "additionalProperties": true,
      "properties": {
        "storage": {
          "$ref": "#/$defs/AttachmentObservation"
        },
        "database": {
          "$ref": "#/$defs/AttachmentObservation"
        },
        "extraction": {
          "$ref": "#/$defs/AttachmentObservation"
        },
        "limits": {
          "$ref": "#/$defs/AttachmentLimits"
        },
        "formats": {
          "items": {
            "$ref": "#/$defs/AttachmentFormat"
          },
          "title": "Formats",
          "type": "array"
        },
        "promotion": {
          "$ref": "#/$defs/AttachmentPromotionRequirements"
        }
      },
      "required": [
        "storage",
        "database",
        "extraction",
        "limits",
        "formats",
        "promotion"
      ],
      "title": "AttachmentCapabilities",
      "type": "object"
    },
    "AttachmentEvidence": {
      "additionalProperties": true,
      "properties": {
        "attachments": {
          "items": {
            "$ref": "#/$defs/AttachmentEvidenceItem"
          },
          "title": "Attachments",
          "type": "array"
        }
      },
      "required": [
        "attachments"
      ],
      "title": "AttachmentEvidence",
      "type": "object"
    },
    "AttachmentEvidenceItem": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "filename": {
          "title": "Filename",
          "type": "string"
        },
        "media_type": {
          "title": "Media Type",
          "type": "string"
        },
        "sha256": {
          "title": "Sha256",
          "type": "string"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "complete": {
          "title": "Complete",
          "type": "boolean"
        },
        "chunk_ids": {
          "items": {
            "type": "string"
          },
          "title": "Chunk Ids",
          "type": "array"
        },
        "total_chunks": {
          "title": "Total Chunks",
          "type": "integer"
        },
        "warnings": {
          "items": {
            "type": "string"
          },
          "title": "Warnings",
          "type": "array"
        }
      },
      "required": [
        "id",
        "filename",
        "media_type",
        "sha256",
        "revision",
        "complete",
        "chunk_ids",
        "total_chunks",
        "warnings"
      ],
      "title": "AttachmentEvidenceItem",
      "type": "object"
    },
    "AttachmentFormat": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "enum": [
            "document",
            "image",
            "bundle"
          ],
          "title": "Kind",
          "type": "string"
        },
        "media_type": {
          "title": "Media Type",
          "type": "string"
        },
        "extensions": {
          "items": {
            "type": "string"
          },
          "title": "Extensions",
          "type": "array"
        },
        "extraction": {
          "$ref": "#/$defs/AttachmentObservation"
        }
      },
      "required": [
        "kind",
        "media_type",
        "extensions",
        "extraction"
      ],
      "title": "AttachmentFormat",
      "type": "object"
    },
    "AttachmentHistorySummary": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "filename": {
          "title": "Filename",
          "type": "string"
        },
        "media_type": {
          "title": "Media Type",
          "type": "string"
        },
        "kind": {
          "enum": [
            "document",
            "image",
            "bundle"
          ],
          "title": "Kind",
          "type": "string"
        },
        "size_bytes": {
          "title": "Size Bytes",
          "type": "integer"
        },
        "sha256": {
          "title": "Sha256",
          "type": "string"
        },
        "status": {
          "enum": [
            "storing",
            "queued",
            "extracting",
            "ready",
            "failed",
            "cancelled",
            "expired",
            "deleted"
          ],
          "title": "Status",
          "type": "string"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "expires_at": {
          "title": "Expires At",
          "type": "string"
        },
        "available": {
          "title": "Available",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "filename",
        "media_type",
        "kind",
        "size_bytes",
        "sha256",
        "status",
        "revision",
        "expires_at",
        "available"
      ],
      "title": "AttachmentHistorySummary",
      "type": "object"
    },
    "AttachmentLimits": {
      "additionalProperties": true,
      "properties": {
        "max_file_bytes": {
          "title": "Max File Bytes",
          "type": "integer"
        },
        "max_image_bytes": {
          "title": "Max Image Bytes",
          "type": "integer"
        },
        "max_selected": {
          "title": "Max Selected",
          "type": "integer"
        },
        "max_thread_files": {
          "title": "Max Thread Files",
          "type": "integer"
        },
        "max_thread_bytes": {
          "title": "Max Thread Bytes",
          "type": "integer"
        },
        "max_model_text_chars": {
          "title": "Max Model Text Chars",
          "type": "integer"
        },
        "max_model_binary_bytes": {
          "title": "Max Model Binary Bytes",
          "type": "integer"
        },
        "extraction_timeout_seconds": {
          "title": "Extraction Timeout Seconds",
          "type": "integer"
        },
        "ttl_seconds": {
          "title": "Ttl Seconds",
          "type": "integer"
        }
      },
      "required": [
        "max_file_bytes",
        "max_image_bytes",
        "max_selected",
        "max_thread_files",
        "max_thread_bytes",
        "max_model_text_chars",
        "max_model_binary_bytes",
        "extraction_timeout_seconds",
        "ttl_seconds"
      ],
      "title": "AttachmentLimits",
      "type": "object"
    },
    "AttachmentObservation": {
      "additionalProperties": true,
      "properties": {
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        },
        "configured": {
          "default": false,
          "title": "Configured",
          "type": "boolean"
        }
      },
      "required": [
        "available",
        "reason"
      ],
      "title": "AttachmentObservation",
      "type": "object"
    },
    "AttachmentPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/AttachmentView"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "AttachmentPage",
      "type": "object"
    },
    "AttachmentProgress": {
      "additionalProperties": true,
      "properties": {
        "status": {
          "enum": [
            "storing",
            "queued",
            "running",
            "succeeded",
            "failed",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "percent": {
          "maximum": 100,
          "minimum": 0,
          "title": "Percent",
          "type": "integer"
        },
        "attempts": {
          "minimum": 0,
          "title": "Attempts",
          "type": "integer"
        }
      },
      "required": [
        "status",
        "percent",
        "attempts"
      ],
      "title": "AttachmentProgress",
      "type": "object"
    },
    "AttachmentPromotionInput": {
      "discriminator": {
        "mapping": {
          "add": "#/$defs/AddKnowledge",
          "replace_document": "#/$defs/ReplaceDocument",
          "replace_table": "#/$defs/ReplaceTable"
        },
        "propertyName": "action"
      },
      "oneOf": [
        {
          "$ref": "#/$defs/AddKnowledge"
        },
        {
          "$ref": "#/$defs/ReplaceDocument"
        },
        {
          "$ref": "#/$defs/ReplaceTable"
        }
      ],
      "title": "AttachmentPromotionInput"
    },
    "AttachmentPromotionRequirements": {
      "additionalProperties": true,
      "properties": {
        "ready_attachment": {
          "default": true,
          "title": "Ready Attachment",
          "type": "boolean"
        },
        "ingest_write": {
          "default": true,
          "title": "Ingest Write",
          "type": "boolean"
        },
        "catalog_write": {
          "default": true,
          "title": "Catalog Write",
          "type": "boolean"
        },
        "document_sha256": {
          "default": true,
          "title": "Document Sha256",
          "type": "boolean"
        },
        "document_chunk_invalidation_acknowledgement": {
          "default": true,
          "title": "Document Chunk Invalidation Acknowledgement",
          "type": "boolean"
        },
        "table_snapshot_id": {
          "default": true,
          "title": "Table Snapshot Id",
          "type": "boolean"
        }
      },
      "title": "AttachmentPromotionRequirements",
      "type": "object"
    },
    "AttachmentPromotionView": {
      "additionalProperties": true,
      "properties": {
        "promotion_id": {
          "title": "Promotion Id",
          "type": "string"
        },
        "attachment_id": {
          "title": "Attachment Id",
          "type": "string"
        },
        "action": {
          "enum": [
            "add",
            "replace_document",
            "replace_table"
          ],
          "title": "Action",
          "type": "string"
        },
        "source": {
          "anyOf": [
            {
              "$ref": "#/$defs/PromotedCatalogEntry"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "assets": {
          "items": {
            "$ref": "#/$defs/PromotedCatalogEntry"
          },
          "title": "Assets",
          "type": "array"
        },
        "asset": {
          "anyOf": [
            {
              "$ref": "#/$defs/PromotedCatalogEntry"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "table": {
          "anyOf": [
            {
              "$ref": "#/$defs/PromotedCatalogEntry"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "version": {
          "anyOf": [
            {
              "$ref": "#/$defs/PromotedCatalogEntry"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "effects": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Effects",
          "type": "object"
        }
      },
      "required": [
        "promotion_id",
        "attachment_id",
        "action"
      ],
      "title": "AttachmentPromotionView",
      "type": "object"
    },
    "AttachmentRevision": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "AttachmentRevision",
      "type": "object"
    },
    "AttachmentView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "thread_id": {
          "title": "Thread Id",
          "type": "string"
        },
        "filename": {
          "title": "Filename",
          "type": "string"
        },
        "media_type": {
          "title": "Media Type",
          "type": "string"
        },
        "kind": {
          "enum": [
            "document",
            "image",
            "bundle"
          ],
          "title": "Kind",
          "type": "string"
        },
        "size_bytes": {
          "title": "Size Bytes",
          "type": "integer"
        },
        "sha256": {
          "title": "Sha256",
          "type": "string"
        },
        "status": {
          "enum": [
            "storing",
            "queued",
            "extracting",
            "ready",
            "failed",
            "cancelled",
            "expired",
            "deleted"
          ],
          "title": "Status",
          "type": "string"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "page_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Count"
        },
        "chunk_count": {
          "title": "Chunk Count",
          "type": "integer"
        },
        "progress": {
          "$ref": "#/$defs/AttachmentProgress"
        },
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error Code"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "warnings": {
          "items": {
            "type": "string"
          },
          "title": "Warnings",
          "type": "array"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "thread_id",
        "filename",
        "media_type",
        "kind",
        "size_bytes",
        "sha256",
        "status",
        "revision",
        "created_at",
        "expires_at",
        "chunk_count",
        "progress"
      ],
      "title": "AttachmentView",
      "type": "object"
    },
    "AuditEvent": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "subject": {
          "title": "Subject",
          "type": "string"
        },
        "action": {
          "title": "Action",
          "type": "string"
        },
        "resource_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Resource Id"
        },
        "details": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Details",
          "type": "object"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "subject",
        "action",
        "created_at"
      ],
      "title": "AuditEvent",
      "type": "object"
    },
    "AuditValue": {
      "additionalProperties": true,
      "properties": {},
      "title": "AuditValue",
      "type": "object"
    },
    "AuthorSummary": {
      "additionalProperties": true,
      "properties": {
        "subject": {
          "title": "Subject",
          "type": "string"
        },
        "display_name": {
          "title": "Display Name",
          "type": "string"
        },
        "avatar_data_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Data Url"
        },
        "avatar_version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Version"
        }
      },
      "required": [
        "subject",
        "display_name"
      ],
      "title": "AuthorSummary",
      "type": "object"
    },
    "AuthorizedApplication": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "client_id": {
          "title": "Client Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "resource": {
          "title": "Resource",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "tenant_name": {
          "title": "Tenant Name",
          "type": "string"
        },
        "workspace_id": {
          "title": "Workspace Id",
          "type": "string"
        },
        "workspace_name": {
          "title": "Workspace Name",
          "type": "string"
        },
        "scopes": {
          "items": {
            "type": "string"
          },
          "title": "Scopes",
          "type": "array"
        },
        "status": {
          "enum": [
            "active",
            "expired",
            "revoked"
          ],
          "title": "Status",
          "type": "string"
        },
        "connected_at": {
          "format": "date-time",
          "title": "Connected At",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "last_used_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Used At"
        },
        "revoked_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Revoked At"
        }
      },
      "required": [
        "id",
        "client_id",
        "name",
        "resource",
        "tenant_id",
        "tenant_name",
        "workspace_id",
        "workspace_name",
        "scopes",
        "status",
        "connected_at",
        "expires_at",
        "last_used_at",
        "revoked_at"
      ],
      "title": "AuthorizedApplication",
      "type": "object"
    },
    "AvailabilityAttempt": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "operation": {
          "title": "Operation",
          "type": "string"
        },
        "state": {
          "enum": [
            "unknown",
            "queued",
            "processing",
            "indexing",
            "complete",
            "failed",
            "cancelled",
            "reconciliation_required"
          ],
          "title": "State",
          "type": "string"
        }
      },
      "required": [
        "id",
        "operation",
        "state"
      ],
      "title": "AvailabilityAttempt",
      "type": "object"
    },
    "AvailabilityCapability": {
      "additionalProperties": true,
      "properties": {
        "state": {
          "default": "unknown",
          "enum": [
            "ready",
            "pending",
            "unavailable",
            "unknown",
            "not_applicable"
          ],
          "title": "State",
          "type": "string"
        },
        "reason": {
          "default": "NOT_OBSERVED",
          "title": "Reason",
          "type": "string"
        }
      },
      "title": "AvailabilityCapability",
      "type": "object"
    },
    "AvailabilityRequest": {
      "additionalProperties": false,
      "properties": {
        "asset_ids": {
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 100,
          "minItems": 1,
          "title": "Asset Ids",
          "type": "array"
        },
        "workspace_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        }
      },
      "required": [
        "asset_ids"
      ],
      "title": "AvailabilityRequest",
      "type": "object"
    },
    "AvailabilityResponse": {
      "additionalProperties": true,
      "properties": {
        "observed_at": {
          "format": "date-time",
          "title": "Observed At",
          "type": "string"
        },
        "items": {
          "additionalProperties": {
            "$ref": "#/$defs/AssetAvailability"
          },
          "title": "Items",
          "type": "object"
        }
      },
      "required": [
        "observed_at",
        "items"
      ],
      "title": "AvailabilityResponse",
      "type": "object"
    },
    "AvailabilityRevision": {
      "additionalProperties": true,
      "properties": {
        "source_version_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Version Id"
        },
        "extraction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Extraction Id"
        },
        "snapshot_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Snapshot Id"
        },
        "active_index_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Active Index Id"
        }
      },
      "title": "AvailabilityRevision",
      "type": "object"
    },
    "BatchQueryOutcome": {
      "additionalProperties": true,
      "properties": {
        "query_id": {
          "format": "uuid",
          "title": "Query Id",
          "type": "string"
        },
        "execution_status": {
          "anyOf": [
            {
              "enum": [
                "OK",
                "REFINED_OK",
                "FAILED",
                "REJECTED_BY_FIREWALL"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Execution Status"
        },
        "sql": {
          "anyOf": [
            {
              "maxLength": 65536,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sql"
        },
        "preview": {
          "anyOf": [
            {
              "items": {
                "additionalProperties": {
                  "$ref": "#/$defs/JsonValue"
                },
                "type": "object"
              },
              "maxItems": 100,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Preview"
        },
        "row_count": {
          "anyOf": [
            {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "elapsed_ms": {
          "anyOf": [
            {
              "maximum": 3600000,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Elapsed Ms"
        },
        "truncated": {
          "default": false,
          "title": "Truncated",
          "type": "boolean"
        },
        "chart_hint": {
          "anyOf": [
            {
              "enum": [
                "line",
                "bar",
                "table",
                "pie",
                "none"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Chart Hint"
        },
        "explanation": {
          "anyOf": [
            {
              "maxLength": 65536,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Explanation"
        },
        "clarification": {
          "anyOf": [
            {
              "$ref": "#/$defs/ClarificationFrame"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "grounded_summary": {
          "anyOf": [
            {
              "additionalProperties": {
                "$ref": "#/$defs/JsonValue"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Grounded Summary"
        },
        "usage": {
          "anyOf": [
            {
              "$ref": "#/$defs/UsageSummary"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "snapshot_pins": {
          "additionalProperties": {
            "type": "string"
          },
          "maxProperties": 128,
          "title": "Snapshot Pins",
          "type": "object"
        },
        "knowledge_settings_snapshot": {
          "$ref": "#/$defs/OrganizationKnowledgeSnapshot"
        }
      },
      "required": [
        "query_id",
        "execution_status",
        "knowledge_settings_snapshot"
      ],
      "title": "BatchQueryOutcome",
      "type": "object"
    },
    "BrandingInputValues": {
      "additionalProperties": true,
      "properties": {
        "product_name": {
          "default": "koinon",
          "maxLength": 64,
          "minLength": 1,
          "title": "Product Name",
          "type": "string"
        },
        "assistant_name": {
          "default": "koinon",
          "maxLength": 64,
          "minLength": 1,
          "title": "Assistant Name",
          "type": "string"
        },
        "logo_light": {
          "anyOf": [
            {
              "maxLength": 349550,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Logo Light"
        },
        "logo_dark": {
          "anyOf": [
            {
              "maxLength": 349550,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Logo Dark"
        },
        "symbol": {
          "anyOf": [
            {
              "maxLength": 349550,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Symbol"
        },
        "favicon": {
          "anyOf": [
            {
              "maxLength": 349550,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Favicon"
        },
        "palette": {
          "$ref": "#/$defs/BrandingPalettes"
        },
        "font_family": {
          "default": "Manrope",
          "enum": [
            "Manrope",
            "Inter"
          ],
          "title": "Font Family",
          "type": "string"
        }
      },
      "title": "BrandingInputValues",
      "type": "object"
    },
    "BrandingPalette": {
      "additionalProperties": true,
      "properties": {
        "surface": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "title": "Surface",
          "type": "string"
        },
        "canvas": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "title": "Canvas",
          "type": "string"
        },
        "text": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "title": "Text",
          "type": "string"
        },
        "muted": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "title": "Muted",
          "type": "string"
        },
        "line": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "title": "Line",
          "type": "string"
        },
        "action": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "title": "Action",
          "type": "string"
        },
        "action_text": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "title": "Action Text",
          "type": "string"
        },
        "accent": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "title": "Accent",
          "type": "string"
        }
      },
      "required": [
        "surface",
        "canvas",
        "text",
        "muted",
        "line",
        "action",
        "action_text",
        "accent"
      ],
      "title": "BrandingPalette",
      "type": "object"
    },
    "BrandingPalettes": {
      "additionalProperties": true,
      "properties": {
        "light": {
          "$ref": "#/$defs/BrandingPalette"
        },
        "dark": {
          "$ref": "#/$defs/BrandingPalette"
        }
      },
      "title": "BrandingPalettes",
      "type": "object"
    },
    "BrandingResetInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "BrandingResetInput",
      "type": "object"
    },
    "BrandingValues": {
      "additionalProperties": true,
      "properties": {
        "product_name": {
          "default": "koinon",
          "maxLength": 64,
          "minLength": 1,
          "title": "Product Name",
          "type": "string"
        },
        "assistant_name": {
          "default": "koinon",
          "maxLength": 64,
          "minLength": 1,
          "title": "Assistant Name",
          "type": "string"
        },
        "logo_light": {
          "anyOf": [
            {
              "maxLength": 349550,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Logo Light"
        },
        "logo_dark": {
          "anyOf": [
            {
              "maxLength": 349550,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Logo Dark"
        },
        "symbol": {
          "anyOf": [
            {
              "maxLength": 349550,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Symbol"
        },
        "favicon": {
          "anyOf": [
            {
              "maxLength": 349550,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Favicon"
        },
        "palette": {
          "$ref": "#/$defs/BrandingPalettes"
        },
        "font_family": {
          "default": "Manrope",
          "enum": [
            "Manrope",
            "Inter"
          ],
          "title": "Font Family",
          "type": "string"
        }
      },
      "title": "BrandingValues",
      "type": "object"
    },
    "BulkAction": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "BulkAction",
      "type": "object"
    },
    "BulkDestination": {
      "additionalProperties": false,
      "properties": {
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "project_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Project Id",
          "type": "string"
        },
        "parent_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Parent Id",
          "type": "string"
        }
      },
      "required": [
        "workspace_id",
        "project_id",
        "parent_id"
      ],
      "title": "BulkDestination",
      "type": "object"
    },
    "BulkRecoveryAction": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "operation": {
          "enum": [
            "retry_processing",
            "finalize_publication",
            "acknowledge_commit"
          ],
          "title": "Operation",
          "type": "string"
        }
      },
      "required": [
        "expected_revision",
        "operation"
      ],
      "title": "BulkRecoveryAction",
      "type": "object"
    },
    "Capabilities": {
      "additionalProperties": true,
      "properties": {
        "attachments": {
          "anyOf": [
            {
              "$ref": "#/$defs/AttachmentCapabilities"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "catalog": {
          "anyOf": [
            {
              "$ref": "#/$defs/CatalogCapability"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "agentic": {
          "anyOf": [
            {
              "$ref": "#/$defs/AgenticCapability"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "domains": {
          "additionalProperties": {
            "$ref": "#/$defs/DomainCapability"
          },
          "title": "Domains",
          "type": "object"
        },
        "providers": {
          "items": {
            "$ref": "#/$defs/ProviderCapability"
          },
          "title": "Providers",
          "type": "array"
        },
        "features": {
          "items": {
            "$ref": "#/$defs/FeatureCapability"
          },
          "title": "Features",
          "type": "array"
        }
      },
      "required": [
        "providers",
        "features"
      ],
      "title": "Capabilities",
      "type": "object"
    },
    "CapabilityState": {
      "additionalProperties": true,
      "properties": {
        "supported": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Supported"
        },
        "verified": {
          "default": false,
          "title": "Verified",
          "type": "boolean"
        }
      },
      "title": "CapabilityState",
      "type": "object"
    },
    "CatalogCapability": {
      "additionalProperties": true,
      "properties": {
        "ready": {
          "title": "Ready",
          "type": "boolean"
        }
      },
      "required": [
        "ready"
      ],
      "title": "CatalogCapability",
      "type": "object"
    },
    "CatalogCreate": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "title": "Kind",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Id"
        },
        "description": {
          "default": "",
          "title": "Description",
          "type": "string"
        },
        "metadata": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Metadata",
          "type": "object"
        }
      },
      "required": [
        "kind",
        "name"
      ],
      "title": "CatalogCreate",
      "type": "object"
    },
    "CatalogEntry": {
      "additionalProperties": true,
      "properties": {
        "created_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created By"
        },
        "updated_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Updated By"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "kind": {
          "title": "Kind",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Id"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "project_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Project Id"
        },
        "description": {
          "default": "",
          "title": "Description",
          "type": "string"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "system_managed": {
          "default": false,
          "title": "System Managed",
          "type": "boolean"
        },
        "metadata": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Metadata",
          "type": "object"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Updated At"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "kind",
        "name",
        "status",
        "created_at"
      ],
      "title": "CatalogEntry",
      "type": "object"
    },
    "CatalogMove": {
      "additionalProperties": false,
      "properties": {
        "parent_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Parent Id",
          "type": "string"
        },
        "expected_parent_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Expected Parent Id",
          "type": "string"
        },
        "expected_updated_at": {
          "format": "date-time",
          "title": "Expected Updated At",
          "type": "string"
        }
      },
      "required": [
        "parent_id",
        "expected_parent_id",
        "expected_updated_at"
      ],
      "title": "CatalogMove",
      "type": "object"
    },
    "CatalogPrecondition": {
      "additionalProperties": false,
      "properties": {
        "expected_updated_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Updated At"
        }
      },
      "title": "CatalogPrecondition",
      "type": "object"
    },
    "CatalogProposal": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "run_id": {
          "title": "Run Id",
          "type": "string"
        },
        "kind": {
          "const": "catalog",
          "default": "catalog",
          "title": "Kind",
          "type": "string"
        },
        "status": {
          "enum": [
            "pending",
            "applied",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "revision": {
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "asset_id": {
          "title": "Asset Id",
          "type": "string"
        },
        "before": {
          "$ref": "#/$defs/CatalogProposalBefore"
        },
        "changes": {
          "$ref": "#/$defs/CatalogProposalPatch"
        },
        "expected_catalog_digest": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Expected Catalog Digest",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "applied_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Applied At"
        },
        "cancelled_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancelled At"
        }
      },
      "required": [
        "id",
        "run_id",
        "status",
        "revision",
        "asset_id",
        "before",
        "changes",
        "expected_catalog_digest",
        "created_at"
      ],
      "title": "CatalogProposal",
      "type": "object"
    },
    "CatalogProposalBefore": {
      "additionalProperties": true,
      "properties": {
        "name": {
          "title": "Name",
          "type": "string"
        },
        "description": {
          "title": "Description",
          "type": "string"
        }
      },
      "required": [
        "name",
        "description"
      ],
      "title": "CatalogProposalBefore",
      "type": "object"
    },
    "CatalogProposalPatch": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "anyOf": [
            {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "description": {
          "anyOf": [
            {
              "maxLength": 4000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Description"
        }
      },
      "title": "CatalogProposalPatch",
      "type": "object"
    },
    "CatalogSummary": {
      "additionalProperties": true,
      "properties": {
        "child_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Child Count"
        },
        "document_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Document Count"
        },
        "dataset_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Dataset Count"
        },
        "table_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Table Count"
        },
        "row_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "column_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Column Count"
        },
        "page_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Count"
        },
        "size_bytes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size Bytes"
        },
        "format": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Format"
        },
        "language": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Language"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "title": "Tags",
          "type": "array"
        }
      },
      "title": "CatalogSummary",
      "type": "object"
    },
    "CatalogUpdate": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Description"
        },
        "metadata": {
          "anyOf": [
            {
              "additionalProperties": {
                "$ref": "#/$defs/JsonValue"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Metadata"
        },
        "expected_updated_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Updated At"
        }
      },
      "title": "CatalogUpdate",
      "type": "object"
    },
    "ChatEventData": {
      "additionalProperties": true,
      "properties": {
        "chunk_index": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Chunk Index"
        },
        "chunk_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Chunk Count"
        },
        "text_offset": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Text Offset"
        },
        "proposal_update": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProposalUpdate"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "tool_activity": {
          "anyOf": [
            {
              "$ref": "#/$defs/ToolActivity"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "answer_policy": {
          "anyOf": [
            {
              "$ref": "#/$defs/AnswerPolicy"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "presentation": {
          "anyOf": [
            {
              "$ref": "#/$defs/Presentation"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Text"
        },
        "stage": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Stage"
        },
        "message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Message"
        },
        "status": {
          "anyOf": [
            {
              "enum": [
                "queued",
                "running",
                "completed",
                "failed",
                "cancelled"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Status"
        },
        "code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Code"
        },
        "message_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Message Id"
        },
        "artifact": {
          "anyOf": [
            {
              "$ref": "#/$defs/OpenUIArtifact"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "citation": {
          "anyOf": [
            {
              "$ref": "#/$defs/Citation"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "title": "ChatEventData",
      "type": "object"
    },
    "ChatFolder": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Parent Id"
        },
        "scope": {
          "$ref": "#/$defs/KnowledgeScope"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "memory_enabled": {
          "default": false,
          "title": "Memory Enabled",
          "type": "boolean"
        },
        "conversation_count": {
          "title": "Conversation Count",
          "type": "integer"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "title": "Updated At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "parent_id",
        "scope",
        "revision",
        "conversation_count",
        "created_at",
        "updated_at"
      ],
      "title": "ChatFolder",
      "type": "object"
    },
    "ChatMessage": {
      "additionalProperties": true,
      "properties": {
        "tool_activities": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/ToolActivity"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Tool Activities"
        },
        "tool_activity_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Tool Activity Count"
        },
        "tool_activity_has_more": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Tool Activity Has More"
        },
        "attachments": {
          "items": {
            "$ref": "#/$defs/AttachmentHistorySummary"
          },
          "title": "Attachments",
          "type": "array"
        },
        "answer_policy": {
          "anyOf": [
            {
              "$ref": "#/$defs/AnswerPolicy"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "presentation": {
          "$ref": "#/$defs/Presentation"
        },
        "event_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Event Cursor"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "run_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Run Id"
        },
        "role": {
          "enum": [
            "user",
            "assistant"
          ],
          "title": "Role",
          "type": "string"
        },
        "text": {
          "title": "Text",
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "running",
            "completed",
            "failed",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "citations": {
          "items": {
            "$ref": "#/$defs/Citation"
          },
          "title": "Citations",
          "type": "array"
        },
        "artifacts": {
          "items": {
            "$ref": "#/$defs/OpenUIArtifact"
          },
          "title": "Artifacts",
          "type": "array"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "role",
        "text",
        "status",
        "citations",
        "artifacts",
        "created_at"
      ],
      "title": "ChatMessage",
      "type": "object"
    },
    "ChatRun": {
      "additionalProperties": true,
      "properties": {
        "event_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Event Cursor"
        },
        "run_id": {
          "title": "Run Id",
          "type": "string"
        },
        "message_id": {
          "title": "Message Id",
          "type": "string"
        },
        "status": {
          "anyOf": [
            {
              "enum": [
                "queued",
                "running",
                "completed",
                "failed",
                "cancelled"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Status"
        }
      },
      "required": [
        "run_id",
        "message_id"
      ],
      "title": "ChatRun",
      "type": "object"
    },
    "ChatThread": {
      "additionalProperties": true,
      "properties": {
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "title_source": {
          "enum": [
            "default",
            "manual",
            "ai"
          ],
          "title": "Title Source",
          "type": "string"
        },
        "folder_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Folder Id"
        },
        "archived_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Archived At"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "scope": {
          "$ref": "#/$defs/KnowledgeScope"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "title": "Updated At",
          "type": "string"
        }
      },
      "required": [
        "revision",
        "title_source",
        "folder_id",
        "archived_at",
        "id",
        "title",
        "scope",
        "created_at",
        "updated_at"
      ],
      "title": "ChatThread",
      "type": "object"
    },
    "Citation": {
      "additionalProperties": true,
      "properties": {
        "document_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Document Id"
        },
        "chunk_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Chunk Id"
        },
        "section": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Section"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Url"
        },
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Id"
        },
        "source_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Id"
        },
        "asset_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Asset Id"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Title"
        },
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Text"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        }
      },
      "title": "Citation",
      "type": "object"
    },
    "ClarificationFrame": {
      "additionalProperties": true,
      "properties": {
        "questions": {
          "items": {
            "type": "string"
          },
          "title": "Questions",
          "type": "array"
        },
        "reasons": {
          "items": {
            "type": "string"
          },
          "title": "Reasons",
          "type": "array"
        }
      },
      "required": [
        "questions"
      ],
      "title": "ClarificationFrame",
      "type": "object"
    },
    "Column": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "data_type": {
          "title": "Data Type",
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Description"
        },
        "pii_tag": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pii Tag"
        }
      },
      "required": [
        "id",
        "name",
        "data_type"
      ],
      "title": "Column",
      "type": "object"
    },
    "CommittedKnowledge": {
      "additionalProperties": true,
      "properties": {
        "status": {
          "const": "committed",
          "default": "committed",
          "title": "Status",
          "type": "string"
        },
        "receipt": {
          "$ref": "#/$defs/KnowledgeCommitReceipt"
        }
      },
      "required": [
        "receipt"
      ],
      "title": "CommittedKnowledge",
      "type": "object"
    },
    "CommunicationCapabilities": {
      "additionalProperties": true,
      "properties": {
        "state": {
          "enum": [
            "disabled",
            "not_configured",
            "ready",
            "degraded"
          ],
          "title": "State",
          "type": "string"
        },
        "provider_label": {
          "title": "Provider Label",
          "type": "string"
        },
        "sender_name": {
          "title": "Sender Name",
          "type": "string"
        },
        "sender_address": {
          "title": "Sender Address",
          "type": "string"
        },
        "reply_to": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reply To"
        },
        "sender_options": {
          "items": {
            "$ref": "#/$defs/VerifiedSenderOption"
          },
          "title": "Sender Options",
          "type": "array"
        },
        "public_address_configured": {
          "title": "Public Address Configured",
          "type": "boolean"
        },
        "public_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Public Url"
        },
        "acceptance_base": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Acceptance Base"
        },
        "issues": {
          "items": {
            "$ref": "#/$defs/CommunicationIssue"
          },
          "title": "Issues",
          "type": "array"
        },
        "effective_locale": {
          "default": "en-US",
          "title": "Effective Locale",
          "type": "string"
        },
        "locale_origin": {
          "default": "default",
          "enum": [
            "user",
            "organization",
            "installation",
            "default"
          ],
          "title": "Locale Origin",
          "type": "string"
        }
      },
      "required": [
        "state",
        "provider_label",
        "sender_name",
        "sender_address",
        "sender_options",
        "public_address_configured",
        "public_url",
        "acceptance_base",
        "issues"
      ],
      "title": "CommunicationCapabilities",
      "type": "object"
    },
    "CommunicationIssue": {
      "additionalProperties": true,
      "properties": {
        "code": {
          "title": "Code",
          "type": "string"
        },
        "explanation": {
          "title": "Explanation",
          "type": "string"
        }
      },
      "required": [
        "code",
        "explanation"
      ],
      "title": "CommunicationIssue",
      "type": "object"
    },
    "CommunicationPolicy": {
      "additionalProperties": true,
      "properties": {
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "sender_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sender Id"
        },
        "rules": {
          "items": {
            "$ref": "#/$defs/NotificationPreferenceRule"
          },
          "title": "Rules",
          "type": "array"
        },
        "digest_enabled": {
          "title": "Digest Enabled",
          "type": "boolean"
        },
        "can_update": {
          "title": "Can Update",
          "type": "boolean"
        },
        "allowed_digests": {
          "items": {
            "enum": [
              "off",
              "daily",
              "weekly",
              "monthly"
            ],
            "type": "string"
          },
          "title": "Allowed Digests",
          "type": "array"
        },
        "default_digest": {
          "default": "off",
          "enum": [
            "off",
            "daily",
            "weekly",
            "monthly"
          ],
          "title": "Default Digest",
          "type": "string"
        },
        "default_schedule": {
          "$ref": "#/$defs/DigestSchedule"
        },
        "admin_summaries": {
          "items": {
            "$ref": "#/$defs/AdministrativeSummarySchedule"
          },
          "maxItems": 3,
          "title": "Admin Summaries",
          "type": "array"
        },
        "default_locale": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Default Locale"
        }
      },
      "required": [
        "revision",
        "sender_id",
        "rules",
        "digest_enabled",
        "can_update"
      ],
      "title": "CommunicationPolicy",
      "type": "object"
    },
    "CommunicationPolicyInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        },
        "sender_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sender Id"
        },
        "rules": {
          "items": {
            "$ref": "#/$defs/NotificationPreferenceRuleInput"
          },
          "maxItems": 7,
          "title": "Rules",
          "type": "array"
        },
        "digest_enabled": {
          "default": false,
          "title": "Digest Enabled",
          "type": "boolean"
        },
        "allowed_digests": {
          "items": {
            "enum": [
              "off",
              "daily",
              "weekly",
              "monthly"
            ],
            "type": "string"
          },
          "title": "Allowed Digests",
          "type": "array"
        },
        "default_digest": {
          "default": "off",
          "enum": [
            "off",
            "daily",
            "weekly",
            "monthly"
          ],
          "title": "Default Digest",
          "type": "string"
        },
        "default_schedule": {
          "$ref": "#/$defs/DigestSchedule"
        },
        "admin_summaries": {
          "items": {
            "$ref": "#/$defs/AdministrativeSummarySchedule"
          },
          "maxItems": 3,
          "title": "Admin Summaries",
          "type": "array"
        },
        "default_locale": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Default Locale"
        }
      },
      "required": [
        "expected_revision",
        "rules"
      ],
      "title": "CommunicationPolicyInput",
      "type": "object"
    },
    "CommunicationUsageSummary": {
      "additionalProperties": true,
      "properties": {
        "scope": {
          "const": "own",
          "default": "own",
          "title": "Scope",
          "type": "string"
        },
        "window_start": {
          "format": "date-time",
          "title": "Window Start",
          "type": "string"
        },
        "window_end": {
          "format": "date-time",
          "title": "Window End",
          "type": "string"
        },
        "time_zone": {
          "title": "Time Zone",
          "type": "string"
        },
        "assistant_runs": {
          "minimum": 0,
          "title": "Assistant Runs",
          "type": "integer"
        },
        "completed_runs": {
          "minimum": 0,
          "title": "Completed Runs",
          "type": "integer"
        },
        "failed_runs": {
          "minimum": 0,
          "title": "Failed Runs",
          "type": "integer"
        },
        "mcp_requests": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Mcp Requests"
        },
        "mcp_request_status": {
          "default": "unavailable",
          "enum": [
            "available",
            "unavailable"
          ],
          "title": "Mcp Request Status",
          "type": "string"
        }
      },
      "required": [
        "window_start",
        "window_end",
        "time_zone",
        "assistant_runs",
        "completed_runs",
        "failed_runs"
      ],
      "title": "CommunicationUsageSummary",
      "type": "object"
    },
    "Configuration": {
      "additionalProperties": true,
      "properties": {
        "framework_providers": {
          "items": {
            "$ref": "#/$defs/ProviderSupport"
          },
          "title": "Framework Providers",
          "type": "array"
        },
        "model_options_schema": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Model Options Schema",
          "type": "object"
        },
        "deployment": {
          "anyOf": [
            {
              "$ref": "#/$defs/DeploymentConfiguration"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "providers": {
          "items": {
            "$ref": "#/$defs/ModelProvider"
          },
          "title": "Providers",
          "type": "array"
        },
        "provider_types": {
          "items": {
            "$ref": "#/$defs/ProviderType"
          },
          "title": "Provider Types",
          "type": "array"
        },
        "connections": {
          "items": {
            "$ref": "#/$defs/ModelConnection"
          },
          "title": "Connections",
          "type": "array"
        },
        "checks": {
          "items": {
            "$ref": "#/$defs/SetupCheck"
          },
          "title": "Checks",
          "type": "array"
        }
      },
      "required": [
        "providers",
        "provider_types",
        "connections",
        "checks"
      ],
      "title": "Configuration",
      "type": "object"
    },
    "ConnectionPool": {
      "additionalProperties": true,
      "properties": {
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "max_overflow": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Max Overflow"
        },
        "timeout": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Timeout"
        },
        "recycle": {
          "title": "Recycle",
          "type": "integer"
        },
        "pre_ping": {
          "title": "Pre Ping",
          "type": "boolean"
        }
      },
      "required": [
        "recycle",
        "pre_ping"
      ],
      "title": "ConnectionPool",
      "type": "object"
    },
    "ContentEffects": {
      "additionalProperties": true,
      "properties": {
        "unchanged": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Unchanged"
        },
        "affected_asset_ids": {
          "items": {
            "type": "string"
          },
          "title": "Affected Asset Ids",
          "type": "array"
        },
        "snapshot_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Snapshot Id"
        },
        "file_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "File Id"
        },
        "historical_snapshots_preserved": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Historical Snapshots Preserved"
        },
        "citation_rows_preserved": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Citation Rows Preserved"
        },
        "previous_chunk_ids_invalidated": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Previous Chunk Ids Invalidated"
        }
      },
      "title": "ContentEffects",
      "type": "object"
    },
    "ContentUpdate": {
      "additionalProperties": true,
      "properties": {
        "asset": {
          "$ref": "#/$defs/CatalogEntry"
        },
        "source": {
          "anyOf": [
            {
              "$ref": "#/$defs/CatalogEntry"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "table": {
          "anyOf": [
            {
              "$ref": "#/$defs/CatalogEntry"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "version": {
          "$ref": "#/$defs/CatalogEntry"
        },
        "effects": {
          "$ref": "#/$defs/ContentEffects"
        }
      },
      "required": [
        "asset",
        "version",
        "effects"
      ],
      "title": "ContentUpdate",
      "type": "object"
    },
    "ContextResponse": {
      "additionalProperties": true,
      "properties": {
        "workspace_permissions": {
          "anyOf": [
            {
              "additionalProperties": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Permissions"
        },
        "subject": {
          "title": "Subject",
          "type": "string"
        },
        "tenants": {
          "items": {
            "$ref": "#/$defs/TenantContext"
          },
          "title": "Tenants",
          "type": "array"
        },
        "memberships": {
          "items": {
            "$ref": "#/$defs/Membership"
          },
          "title": "Memberships",
          "type": "array"
        },
        "workspaces": {
          "items": {
            "$ref": "#/$defs/CatalogEntry"
          },
          "title": "Workspaces",
          "type": "array"
        }
      },
      "required": [
        "subject"
      ],
      "title": "ContextResponse",
      "type": "object"
    },
    "ConversationExportInput": {
      "additionalProperties": false,
      "properties": {
        "thread_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Thread Id",
          "type": "string"
        },
        "message_ids": {
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 200,
          "minItems": 1,
          "title": "Message Ids",
          "type": "array"
        },
        "kind": {
          "const": "conversation",
          "title": "Kind",
          "type": "string"
        },
        "format": {
          "enum": [
            "markdown",
            "json"
          ],
          "title": "Format",
          "type": "string"
        },
        "include_evidence": {
          "default": true,
          "title": "Include Evidence",
          "type": "boolean"
        }
      },
      "required": [
        "thread_id",
        "message_ids",
        "kind",
        "format"
      ],
      "title": "ConversationExportInput",
      "type": "object"
    },
    "ConversationIdentity": {
      "additionalProperties": true,
      "properties": {
        "product_name": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Product Name",
          "type": "string"
        },
        "assistant_name": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Assistant Name",
          "type": "string"
        },
        "branding_revision": {
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Branding Revision",
          "type": "integer"
        },
        "branding_origin": {
          "enum": [
            "deployment",
            "organization"
          ],
          "title": "Branding Origin",
          "type": "string"
        },
        "branding_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Branding Sha256",
          "type": "string"
        }
      },
      "required": [
        "product_name",
        "assistant_name",
        "branding_revision",
        "branding_origin",
        "branding_sha256"
      ],
      "title": "ConversationIdentity",
      "type": "object"
    },
    "ConversationMessage": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "role": {
          "enum": [
            "user",
            "assistant"
          ],
          "title": "Role",
          "type": "string"
        },
        "text": {
          "maxLength": 1000000,
          "title": "Text",
          "type": "string"
        },
        "status": {
          "enum": [
            "completed",
            "failed",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Revision",
          "type": "string"
        },
        "private_derived": {
          "default": false,
          "title": "Private Derived",
          "type": "boolean"
        },
        "source_ids": {
          "default": [],
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 500,
          "title": "Source Ids",
          "type": "array"
        },
        "result_ids": {
          "default": [],
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 100,
          "title": "Result Ids",
          "type": "array"
        },
        "created_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created At"
        },
        "presentation": {
          "anyOf": [
            {
              "$ref": "#/$defs/EvidencePresentation"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "role",
        "text",
        "status",
        "revision"
      ],
      "title": "ConversationMessage",
      "type": "object"
    },
    "ConversationOrigin": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "const": "conversation",
          "title": "Kind",
          "type": "string"
        },
        "thread_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Thread Id",
          "type": "string"
        },
        "message_ids": {
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 200,
          "minItems": 1,
          "title": "Message Ids",
          "type": "array"
        }
      },
      "required": [
        "kind",
        "thread_id",
        "message_ids"
      ],
      "title": "ConversationOrigin",
      "type": "object"
    },
    "ConversationSnapshot": {
      "additionalProperties": true,
      "properties": {
        "thread_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Thread Id",
          "type": "string"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "owner_subject": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Owner Subject",
          "type": "string"
        },
        "title": {
          "maxLength": 160,
          "minLength": 1,
          "title": "Title",
          "type": "string"
        },
        "revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Revision",
          "type": "string"
        },
        "messages": {
          "items": {
            "$ref": "#/$defs/ConversationMessage"
          },
          "maxItems": 200,
          "minItems": 1,
          "title": "Messages",
          "type": "array"
        },
        "sources": {
          "default": [],
          "items": {
            "$ref": "#/$defs/SourceReference"
          },
          "maxItems": 500,
          "title": "Sources",
          "type": "array"
        },
        "source_manifest_complete": {
          "default": false,
          "title": "Source Manifest Complete",
          "type": "boolean"
        },
        "originating_token_ids": {
          "default": [],
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 200,
          "title": "Originating Token Ids",
          "type": "array"
        },
        "identity": {
          "anyOf": [
            {
              "$ref": "#/$defs/ConversationIdentity"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Presentation identity recorded when the export or share review was created. Null means historical identity was not recorded; it never uses today's branding."
        }
      },
      "required": [
        "thread_id",
        "tenant_id",
        "owner_subject",
        "title",
        "revision",
        "messages"
      ],
      "title": "ConversationSnapshot",
      "type": "object"
    },
    "CoordinateCellPosition": {
      "additionalProperties": true,
      "properties": {
        "row": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Row",
          "type": "integer"
        },
        "column": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Column",
          "type": "integer"
        }
      },
      "required": [
        "row",
        "column"
      ],
      "title": "CoordinateCellPosition",
      "type": "object"
    },
    "CoordinateCellRequest": {
      "additionalProperties": true,
      "properties": {
        "snapshot_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Snapshot Id",
          "type": "string"
        },
        "cells": {
          "items": {
            "$ref": "#/$defs/CoordinateCellPosition"
          },
          "maxItems": 1000,
          "minItems": 1,
          "title": "Cells",
          "type": "array"
        }
      },
      "required": [
        "snapshot_id",
        "cells"
      ],
      "title": "CoordinateCellRequest",
      "type": "object"
    },
    "CoordinateColumnBinding": {
      "additionalProperties": true,
      "properties": {
        "output_position": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Output Position",
          "type": "integer"
        },
        "source_field_index": {
          "anyOf": [
            {
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Field Index"
        },
        "source_path": {
          "items": {
            "anyOf": [
              {
                "maxLength": 4096,
                "type": "string"
              },
              {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              }
            ]
          },
          "maxItems": 64,
          "title": "Source Path",
          "type": "array"
        },
        "source_type": {
          "anyOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Type"
        },
        "header_cells": {
          "items": {
            "$ref": "#/$defs/CoordinateHeaderCell"
          },
          "maxItems": 1024,
          "title": "Header Cells",
          "type": "array"
        }
      },
      "required": [
        "output_position",
        "source_field_index",
        "source_path",
        "source_type",
        "header_cells"
      ],
      "title": "CoordinateColumnBinding",
      "type": "object"
    },
    "CoordinateDependency": {
      "additionalProperties": true,
      "properties": {
        "name": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "version": {
          "anyOf": [
            {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Version"
        }
      },
      "required": [
        "name",
        "version"
      ],
      "title": "CoordinateDependency",
      "type": "object"
    },
    "CoordinateHeaderCell": {
      "additionalProperties": true,
      "properties": {
        "row": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Row",
          "type": "integer"
        },
        "column": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Column",
          "type": "integer"
        }
      },
      "required": [
        "row",
        "column"
      ],
      "title": "CoordinateHeaderCell",
      "type": "object"
    },
    "CoordinatePage": {
      "additionalProperties": true,
      "properties": {
        "manifest": {
          "$ref": "#/$defs/TableCoordinateManifest"
        },
        "total": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        }
      },
      "required": [
        "manifest",
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous"
      ],
      "title": "CoordinatePage",
      "type": "object"
    },
    "CoordinateParserDecision": {
      "additionalProperties": true,
      "properties": {
        "name": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "value": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "integer"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value"
        }
      },
      "required": [
        "name",
        "value"
      ],
      "title": "CoordinateParserDecision",
      "type": "object"
    },
    "CoordinateRowRange": {
      "additionalProperties": true,
      "properties": {
        "output_start": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Output Start",
          "type": "integer"
        },
        "count": {
          "maximum": 9007199254740991,
          "minimum": 1,
          "title": "Count",
          "type": "integer"
        },
        "source_start": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Source Start",
          "type": "integer"
        },
        "source_stride": {
          "maximum": 9007199254740991,
          "minimum": 1,
          "title": "Source Stride",
          "type": "integer"
        }
      },
      "required": [
        "output_start",
        "count",
        "source_start",
        "source_stride"
      ],
      "title": "CoordinateRowRange",
      "type": "object"
    },
    "CoordinateSourceCell": {
      "additionalProperties": true,
      "properties": {
        "output_row": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Output Row",
          "type": "integer"
        },
        "output_column": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Output Column",
          "type": "integer"
        },
        "source_row": {
          "anyOf": [
            {
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Row"
        },
        "source_column": {
          "anyOf": [
            {
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Column"
        },
        "source_path": {
          "items": {
            "anyOf": [
              {
                "maxLength": 4096,
                "type": "string"
              },
              {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              }
            ]
          },
          "maxItems": 64,
          "title": "Source Path",
          "type": "array"
        },
        "header_cells": {
          "items": {
            "$ref": "#/$defs/CoordinateHeaderCell"
          },
          "maxItems": 1024,
          "title": "Header Cells",
          "type": "array"
        },
        "source_type": {
          "anyOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Type"
        }
      },
      "required": [
        "output_row",
        "output_column",
        "source_row",
        "source_column",
        "source_path",
        "header_cells",
        "source_type"
      ],
      "title": "CoordinateSourceCell",
      "type": "object"
    },
    "CorporatePresentationSummary": {
      "additionalProperties": true,
      "properties": {
        "name_source": {
          "default": "personal",
          "enum": [
            "organization",
            "personal"
          ],
          "title": "Name Source",
          "type": "string"
        },
        "avatar_source": {
          "default": "personal",
          "enum": [
            "organization",
            "personal"
          ],
          "title": "Avatar Source",
          "type": "string"
        },
        "provider_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "provider_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Name"
        },
        "status": {
          "default": "not_configured",
          "enum": [
            "not_configured",
            "not_bound",
            "queued",
            "running",
            "current",
            "stale",
            "unavailable",
            "conflict"
          ],
          "title": "Status",
          "type": "string"
        },
        "last_synced_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Last Synced At"
        },
        "corporate_department": {
          "anyOf": [
            {
              "maxLength": 160,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Corporate Department"
        }
      },
      "title": "CorporatePresentationSummary",
      "type": "object"
    },
    "CorporateProfileFieldCapability": {
      "additionalProperties": true,
      "properties": {
        "field": {
          "enum": [
            "display_name",
            "avatar",
            "job_title",
            "department",
            "manager"
          ],
          "title": "Field",
          "type": "string"
        },
        "source": {
          "enum": [
            "directory",
            "verified_claims",
            "local",
            "personal"
          ],
          "title": "Source",
          "type": "string"
        },
        "supported": {
          "title": "Supported",
          "type": "boolean"
        },
        "required_permissions": {
          "items": {
            "type": "string"
          },
          "maxItems": 4,
          "title": "Required Permissions",
          "type": "array"
        },
        "code": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Code"
        }
      },
      "required": [
        "field",
        "source",
        "supported"
      ],
      "title": "CorporateProfileFieldCapability",
      "type": "object"
    },
    "CorporateProfileFieldObservation": {
      "additionalProperties": true,
      "properties": {
        "field": {
          "enum": [
            "display_name",
            "avatar",
            "job_title",
            "department",
            "manager"
          ],
          "title": "Field",
          "type": "string"
        },
        "source": {
          "enum": [
            "directory",
            "verified_claims",
            "local",
            "personal"
          ],
          "title": "Source",
          "type": "string"
        },
        "status": {
          "enum": [
            "not_observed",
            "current",
            "empty",
            "unavailable",
            "unsupported",
            "stale"
          ],
          "title": "Status",
          "type": "string"
        },
        "observed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Observed At"
        },
        "code": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Code"
        }
      },
      "required": [
        "field",
        "source",
        "status"
      ],
      "title": "CorporateProfileFieldObservation",
      "type": "object"
    },
    "CorporateProfileRefresh": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "profile_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Profile Id"
        },
        "status": {
          "enum": [
            "not_configured",
            "not_bound",
            "queued",
            "running",
            "current",
            "stale",
            "unavailable",
            "conflict"
          ],
          "title": "Status",
          "type": "string"
        },
        "snapshot_revision": {
          "default": 0,
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Snapshot Revision",
          "type": "integer"
        },
        "last_synced_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Last Synced At"
        },
        "last_attempt_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Last Attempt At"
        }
      },
      "required": [
        "tenant_id",
        "status"
      ],
      "title": "CorporateProfileRefresh",
      "type": "object"
    },
    "CorporateProfileRefreshInput": {
      "additionalProperties": false,
      "properties": {},
      "title": "CorporateProfileRefreshInput",
      "type": "object"
    },
    "CorporateProfileSyncPolicy": {
      "additionalProperties": false,
      "properties": {
        "interval_seconds": {
          "default": 900,
          "maximum": 86400,
          "minimum": 300,
          "title": "Interval Seconds",
          "type": "integer"
        },
        "allow_personal_overrides": {
          "default": true,
          "title": "Allow Personal Overrides",
          "type": "boolean"
        },
        "name_source": {
          "default": "directory",
          "enum": [
            "directory",
            "personal"
          ],
          "title": "Name Source",
          "type": "string"
        },
        "avatar_source": {
          "default": "directory",
          "enum": [
            "directory",
            "personal"
          ],
          "title": "Avatar Source",
          "type": "string"
        },
        "job_title_source": {
          "default": "directory",
          "enum": [
            "directory",
            "verified_claims",
            "local"
          ],
          "title": "Job Title Source",
          "type": "string"
        },
        "unit_source": {
          "default": "directory",
          "enum": [
            "directory",
            "verified_claims",
            "local"
          ],
          "title": "Unit Source",
          "type": "string"
        },
        "manager_source": {
          "default": "verified_claims",
          "enum": [
            "directory",
            "verified_claims",
            "local"
          ],
          "title": "Manager Source",
          "type": "string"
        },
        "google_department": {
          "default": "department",
          "enum": [
            "department",
            "org_unit_path"
          ],
          "title": "Google Department",
          "type": "string"
        },
        "keycloak_attributes": {
          "$ref": "#/$defs/KeycloakProfileAttributes"
        }
      },
      "title": "CorporateProfileSyncPolicy",
      "type": "object"
    },
    "DailyActivity": {
      "additionalProperties": true,
      "properties": {
        "local_date": {
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "title": "Local Date",
          "type": "string"
        },
        "knowledge": {
          "$ref": "#/$defs/KnowledgeActivityCounts"
        },
        "mcp_tool_calls": {
          "$ref": "#/$defs/ObservedCount"
        }
      },
      "required": [
        "local_date",
        "knowledge",
        "mcp_tool_calls"
      ],
      "title": "DailyActivity",
      "type": "object"
    },
    "DatasetFileAppendResult": {
      "additionalProperties": true,
      "properties": {
        "dataset_id": {
          "title": "Dataset Id",
          "type": "string"
        },
        "file_version_id": {
          "title": "File Version Id",
          "type": "string"
        },
        "filename": {
          "title": "Filename",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[0-9a-f]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "byte_size": {
          "minimum": 1,
          "title": "Byte Size",
          "type": "integer"
        },
        "table_ids": {
          "items": {
            "type": "string"
          },
          "maxItems": 128,
          "minItems": 1,
          "title": "Table Ids",
          "type": "array"
        },
        "status": {
          "const": "ready",
          "title": "Status",
          "type": "string"
        }
      },
      "required": [
        "dataset_id",
        "file_version_id",
        "filename",
        "sha256",
        "byte_size",
        "table_ids",
        "status"
      ],
      "title": "DatasetFileAppendResult",
      "type": "object"
    },
    "DatasetSchema": {
      "additionalProperties": true,
      "properties": {
        "tables": {
          "items": {
            "$ref": "#/$defs/SchemaTable"
          },
          "title": "Tables",
          "type": "array"
        }
      },
      "required": [
        "tables"
      ],
      "title": "DatasetSchema",
      "type": "object"
    },
    "Deleted": {
      "type": "object",
      "required": [
        "deleted"
      ],
      "properties": {
        "deleted": {
          "type": "boolean"
        }
      }
    },
    "DeliveryInspectionInput": {
      "additionalProperties": false,
      "properties": {
        "expected_generation": {
          "minimum": 0,
          "title": "Expected Generation",
          "type": "integer"
        }
      },
      "required": [
        "expected_generation"
      ],
      "title": "DeliveryInspectionInput",
      "type": "object"
    },
    "DeliveryObservationPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/DeliveryOperationObservation"
          },
          "title": "Items",
          "type": "array"
        },
        "has_more": {
          "title": "Has More",
          "type": "boolean"
        }
      },
      "required": [
        "items",
        "has_more"
      ],
      "title": "DeliveryObservationPage",
      "type": "object"
    },
    "DeliveryOperationObservation": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "delivery_id": {
          "title": "Delivery Id",
          "type": "string"
        },
        "source": {
          "const": "operation_lookup",
          "default": "operation_lookup",
          "title": "Source",
          "type": "string"
        },
        "operation_state": {
          "enum": [
            "checking",
            "pending",
            "accepted",
            "rejected",
            "unknown",
            "unavailable"
          ],
          "title": "Operation State",
          "type": "string"
        },
        "recipient_state": {
          "const": "not_observed",
          "default": "not_observed",
          "title": "Recipient State",
          "type": "string"
        },
        "checked_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Checked At"
        },
        "reason_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason Code"
        }
      },
      "required": [
        "id",
        "delivery_id",
        "operation_state"
      ],
      "title": "DeliveryOperationObservation",
      "type": "object"
    },
    "DeliveryPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/DeliveryRecord"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "DeliveryPage",
      "type": "object"
    },
    "DeliveryRecord": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "kind": {
          "enum": [
            "invitation",
            "access_granted",
            "role_changed",
            "access_removed",
            "security",
            "welcome",
            "digest"
          ],
          "title": "Kind",
          "type": "string"
        },
        "channel": {
          "const": "email",
          "default": "email",
          "title": "Channel",
          "type": "string"
        },
        "invitation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Invitation Id"
        },
        "membership_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Membership Id"
        },
        "recipient_display": {
          "title": "Recipient Display",
          "type": "string"
        },
        "scope_name": {
          "title": "Scope Name",
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "sending",
            "sent",
            "delivered",
            "deferred",
            "failed",
            "suppressed",
            "cancelled",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "last_attempt_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Attempt At"
        },
        "next_attempt_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Next Attempt At"
        },
        "attempt_count": {
          "title": "Attempt Count",
          "type": "integer"
        },
        "failure_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Failure Code"
        },
        "safe_explanation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Safe Explanation"
        },
        "can_retry": {
          "title": "Can Retry",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "kind",
        "invitation_id",
        "membership_id",
        "recipient_display",
        "scope_name",
        "status",
        "created_at",
        "last_attempt_at",
        "next_attempt_at",
        "attempt_count",
        "failure_code",
        "safe_explanation",
        "can_retry"
      ],
      "title": "DeliveryRecord",
      "type": "object"
    },
    "DeliveryRecoveryOptions": {
      "additionalProperties": true,
      "properties": {
        "delivery_id": {
          "title": "Delivery Id",
          "type": "string"
        },
        "generation": {
          "title": "Generation",
          "type": "integer"
        },
        "submission_status": {
          "enum": [
            "queued",
            "sending",
            "sent",
            "delivered",
            "deferred",
            "failed",
            "suppressed",
            "cancelled",
            "unknown"
          ],
          "title": "Submission Status",
          "type": "string"
        },
        "attempt_count": {
          "title": "Attempt Count",
          "type": "integer"
        },
        "can_inspect": {
          "title": "Can Inspect",
          "type": "boolean"
        },
        "inspection_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Inspection Reason"
        },
        "provider_binding_state": {
          "enum": [
            "verified",
            "operator_verification_required",
            "unavailable"
          ],
          "title": "Provider Binding State",
          "type": "string"
        },
        "can_recover_welcome": {
          "title": "Can Recover Welcome",
          "type": "boolean"
        },
        "recovery_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recovery Reason"
        },
        "contact_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Contact Id"
        },
        "contact_revision": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Contact Revision"
        },
        "possible_original_late_arrival": {
          "const": true,
          "default": true,
          "title": "Possible Original Late Arrival",
          "type": "boolean"
        }
      },
      "required": [
        "delivery_id",
        "generation",
        "submission_status",
        "attempt_count",
        "can_inspect",
        "provider_binding_state",
        "can_recover_welcome"
      ],
      "title": "DeliveryRecoveryOptions",
      "type": "object"
    },
    "DeploymentConfiguration": {
      "additionalProperties": true,
      "properties": {
        "ownership": {
          "const": "deployment",
          "title": "Ownership",
          "type": "string"
        },
        "read_only": {
          "const": true,
          "title": "Read Only",
          "type": "boolean"
        },
        "datasources": {
          "items": {
            "$ref": "#/$defs/DeploymentDatasource"
          },
          "title": "Datasources",
          "type": "array"
        },
        "storage": {
          "items": {
            "$ref": "#/$defs/DeploymentStorage"
          },
          "title": "Storage",
          "type": "array"
        },
        "indexes": {
          "items": {
            "$ref": "#/$defs/DeploymentIndex"
          },
          "title": "Indexes",
          "type": "array"
        },
        "metrics": {
          "$ref": "#/$defs/MetricsObservation"
        },
        "limits": {
          "$ref": "#/$defs/OperationalLimits"
        }
      },
      "required": [
        "ownership",
        "read_only",
        "datasources",
        "storage",
        "indexes",
        "metrics",
        "limits"
      ],
      "title": "DeploymentConfiguration",
      "type": "object"
    },
    "DeploymentDatasource": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "observed_at": {
          "title": "Observed At",
          "type": "string"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "kind": {
          "const": "database",
          "title": "Kind",
          "type": "string"
        },
        "driver": {
          "title": "Driver",
          "type": "string"
        },
        "pool": {
          "$ref": "#/$defs/ConnectionPool"
        },
        "pool_usage": {
          "$ref": "#/$defs/PoolUsage"
        },
        "role_policy": {
          "$ref": "#/$defs/RoleObservation"
        }
      },
      "required": [
        "configured",
        "available",
        "status",
        "observed_at",
        "reason",
        "id",
        "kind",
        "driver",
        "pool",
        "pool_usage",
        "role_policy"
      ],
      "title": "DeploymentDatasource",
      "type": "object"
    },
    "DeploymentIndex": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "observed_at": {
          "title": "Observed At",
          "type": "string"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "vector_extension": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Vector Extension"
        },
        "embedding_sets": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Embedding Sets"
        },
        "physical_indexes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Physical Indexes"
        }
      },
      "required": [
        "configured",
        "available",
        "status",
        "observed_at",
        "reason",
        "id"
      ],
      "title": "DeploymentIndex",
      "type": "object"
    },
    "DeploymentStorage": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "observed_at": {
          "title": "Observed At",
          "type": "string"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        },
        "ownership": {
          "anyOf": [
            {
              "const": "deployment",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Ownership"
        },
        "read_only": {
          "anyOf": [
            {
              "const": true,
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Read Only"
        },
        "id": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Id",
          "type": "string"
        },
        "backend": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Backend"
        },
        "store_originals": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Store Originals"
        }
      },
      "required": [
        "configured",
        "available",
        "status",
        "observed_at",
        "reason",
        "id"
      ],
      "title": "DeploymentStorage",
      "type": "object"
    },
    "DigestSchedule": {
      "additionalProperties": false,
      "properties": {
        "local_time": {
          "default": "09:00",
          "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$",
          "title": "Local Time",
          "type": "string"
        },
        "weekday": {
          "default": 0,
          "maximum": 6,
          "minimum": 0,
          "title": "Weekday",
          "type": "integer"
        },
        "day_of_month": {
          "default": 1,
          "maximum": 31,
          "minimum": 1,
          "title": "Day Of Month",
          "type": "integer"
        }
      },
      "title": "DigestSchedule",
      "type": "object"
    },
    "DigestSchedulePreview": {
      "additionalProperties": true,
      "properties": {
        "digest": {
          "enum": [
            "off",
            "daily",
            "weekly",
            "monthly"
          ],
          "title": "Digest",
          "type": "string"
        },
        "schedule": {
          "$ref": "#/$defs/DigestSchedule"
        },
        "time_zone": {
          "title": "Time Zone",
          "type": "string"
        },
        "next_run_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Next Run At"
        },
        "next_run_local": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Next Run Local"
        },
        "window_start": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Window Start"
        },
        "window_end": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Window End"
        },
        "dst_policy": {
          "const": "first_valid_minute_earlier_fold",
          "default": "first_valid_minute_earlier_fold",
          "title": "Dst Policy",
          "type": "string"
        },
        "effective_locale": {
          "default": "en-US",
          "title": "Effective Locale",
          "type": "string"
        },
        "locale_origin": {
          "default": "default",
          "enum": [
            "user",
            "organization",
            "installation",
            "default"
          ],
          "title": "Locale Origin",
          "type": "string"
        }
      },
      "required": [
        "digest",
        "schedule",
        "time_zone",
        "next_run_at",
        "next_run_local",
        "window_start",
        "window_end"
      ],
      "title": "DigestSchedulePreview",
      "type": "object"
    },
    "DirectoryRecipient": {
      "additionalProperties": true,
      "properties": {
        "recipient_ref": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Recipient Ref"
        },
        "display_name": {
          "title": "Display Name",
          "type": "string"
        },
        "email": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Email"
        },
        "provider_label": {
          "title": "Provider Label",
          "type": "string"
        },
        "delivery_address_status": {
          "enum": [
            "verified_directory",
            "missing",
            "unverified",
            "unavailable"
          ],
          "title": "Delivery Address Status",
          "type": "string"
        },
        "eligibility": {
          "enum": [
            "eligible",
            "already_has_access",
            "unavailable"
          ],
          "title": "Eligibility",
          "type": "string"
        },
        "eligibility_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Eligibility Reason"
        }
      },
      "required": [
        "recipient_ref",
        "display_name",
        "email",
        "provider_label",
        "delivery_address_status",
        "eligibility"
      ],
      "title": "DirectoryRecipient",
      "type": "object"
    },
    "DirectoryRecipientPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/DirectoryRecipient"
          },
          "title": "Items",
          "type": "array"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        }
      },
      "required": [
        "items"
      ],
      "title": "DirectoryRecipientPage",
      "type": "object"
    },
    "DocumentChunk": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "index": {
          "title": "Index",
          "type": "integer"
        },
        "total_chunks": {
          "title": "Total Chunks",
          "type": "integer"
        },
        "text": {
          "title": "Text",
          "type": "string"
        },
        "char_start": {
          "title": "Char Start",
          "type": "integer"
        },
        "char_end": {
          "title": "Char End",
          "type": "integer"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "section_path": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Section Path"
        },
        "embedding_model": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Embedding Model"
        }
      },
      "required": [
        "id",
        "index",
        "total_chunks",
        "text",
        "char_start",
        "char_end"
      ],
      "title": "DocumentChunk",
      "type": "object"
    },
    "DocumentChunks": {
      "additionalProperties": true,
      "properties": {
        "document_id": {
          "title": "Document Id",
          "type": "string"
        },
        "source_id": {
          "title": "Source Id",
          "type": "string"
        },
        "native_source_id": {
          "title": "Native Source Id",
          "type": "string"
        },
        "source_version_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Version Id"
        },
        "extraction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Extraction Id"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/DocumentChunk"
          },
          "title": "Items",
          "type": "array"
        },
        "offset": {
          "title": "Offset",
          "type": "integer"
        },
        "limit": {
          "title": "Limit",
          "type": "integer"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "next_offset": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Offset"
        }
      },
      "required": [
        "document_id",
        "source_id",
        "native_source_id",
        "items",
        "offset",
        "limit",
        "total"
      ],
      "title": "DocumentChunks",
      "type": "object"
    },
    "DocumentEvidence": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "const": "document_passage",
          "default": "document_passage",
          "title": "Kind",
          "type": "string"
        },
        "source": {
          "$ref": "#/$defs/SourceReference"
        },
        "basis": {
          "default": "direct",
          "enum": [
            "direct",
            "remembered_context"
          ],
          "title": "Basis",
          "type": "string"
        }
      },
      "required": [
        "source"
      ],
      "title": "DocumentEvidence",
      "type": "object"
    },
    "DocumentExtraction": {
      "additionalProperties": true,
      "properties": {
        "document_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Document Id",
          "type": "string"
        },
        "catalog_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Catalog Source Id",
          "type": "string"
        },
        "native_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Source Id",
          "type": "string"
        },
        "source_version_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Source Version Id",
          "type": "string"
        },
        "extraction_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Extraction Id",
          "type": "string"
        },
        "purpose": {
          "maxLength": 32,
          "minLength": 1,
          "title": "Purpose",
          "type": "string"
        },
        "coverage": {
          "maxLength": 32,
          "minLength": 1,
          "title": "Coverage",
          "type": "string"
        },
        "normalized_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Normalized Sha256",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "predecessor_extraction_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Predecessor Extraction Id"
        }
      },
      "required": [
        "document_id",
        "catalog_source_id",
        "native_source_id",
        "source_version_id",
        "extraction_id",
        "purpose",
        "coverage",
        "normalized_sha256",
        "created_at"
      ],
      "title": "DocumentExtraction",
      "type": "object"
    },
    "DocumentExtractionPage": {
      "additionalProperties": true,
      "properties": {
        "total": {
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/DocumentExtraction"
          },
          "maxItems": 100,
          "title": "Items",
          "type": "array"
        }
      },
      "required": [
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous",
        "items"
      ],
      "title": "DocumentExtractionPage",
      "type": "object"
    },
    "DocumentHistoryIdentity": {
      "additionalProperties": true,
      "properties": {
        "document_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Document Id",
          "type": "string"
        },
        "catalog_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Catalog Source Id",
          "type": "string"
        },
        "native_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Source Id",
          "type": "string"
        }
      },
      "required": [
        "document_id",
        "catalog_source_id",
        "native_source_id"
      ],
      "title": "DocumentHistoryIdentity",
      "type": "object"
    },
    "DocumentHistoryPagination": {
      "additionalProperties": true,
      "properties": {
        "total": {
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        }
      },
      "required": [
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous"
      ],
      "title": "DocumentHistoryPagination",
      "type": "object"
    },
    "DocumentKnowledgeBounds": {
      "additionalProperties": false,
      "properties": {
        "retrieval_top_k": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "retrieval_per_query_k": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "retrieval_rrf_k": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "query_expansion_n": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "answer_top_k": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "rlm_max_iters": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "rlm_sub_budget": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "rlm_max_depth": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "rlm_self_consistency": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        }
      },
      "required": [
        "retrieval_top_k",
        "retrieval_per_query_k",
        "retrieval_rrf_k",
        "query_expansion_n",
        "answer_top_k",
        "rlm_max_iters",
        "rlm_sub_budget",
        "rlm_max_depth",
        "rlm_self_consistency"
      ],
      "title": "DocumentKnowledgeBounds",
      "type": "object"
    },
    "DocumentKnowledgeCapabilities": {
      "additionalProperties": false,
      "description": "Feature availability; model/provider readiness requires separate installation qualification.",
      "properties": {
        "answer_modes": {
          "items": {
            "enum": [
              "rag",
              "rlm"
            ],
            "type": "string"
          },
          "title": "Answer Modes",
          "type": "array"
        },
        "rlm_curated_knowledge_supported": {
          "title": "Rlm Curated Knowledge Supported",
          "type": "boolean"
        },
        "rlm_curated_knowledge_reason": {
          "anyOf": [
            {
              "const": "KNOWLEDGE_RLM_UNQUALIFIED",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rlm Curated Knowledge Reason"
        },
        "rlm_model_role": {
          "const": "documents.rlm",
          "title": "Rlm Model Role",
          "type": "string"
        },
        "rlm_recorded_views_required": {
          "const": true,
          "title": "Rlm Recorded Views Required",
          "type": "boolean"
        },
        "rlm_recorded_views_reason": {
          "const": "RLM_DOCUMENT_VIEWS_REQUIRED",
          "title": "Rlm Recorded Views Reason",
          "type": "string"
        },
        "bounds": {
          "$ref": "#/$defs/DocumentKnowledgeBounds"
        }
      },
      "required": [
        "answer_modes",
        "rlm_curated_knowledge_supported",
        "rlm_curated_knowledge_reason",
        "rlm_model_role",
        "rlm_recorded_views_required",
        "rlm_recorded_views_reason",
        "bounds"
      ],
      "title": "DocumentKnowledgeCapabilities",
      "type": "object"
    },
    "DocumentKnowledgeSettings": {
      "additionalProperties": false,
      "properties": {
        "answer_mode": {
          "enum": [
            "rag",
            "rlm"
          ],
          "title": "Answer Mode",
          "type": "string"
        },
        "retrieval_top_k": {
          "maximum": 200,
          "minimum": 1,
          "title": "Retrieval Top K",
          "type": "integer"
        },
        "retrieval_per_query_k": {
          "maximum": 500,
          "minimum": 1,
          "title": "Retrieval Per Query K",
          "type": "integer"
        },
        "retrieval_rrf_k": {
          "maximum": 1000,
          "minimum": 1,
          "title": "Retrieval Rrf K",
          "type": "integer"
        },
        "query_expansion_enabled": {
          "title": "Query Expansion Enabled",
          "type": "boolean"
        },
        "query_expansion_n": {
          "maximum": 10,
          "minimum": 1,
          "title": "Query Expansion N",
          "type": "integer"
        },
        "answer_top_k": {
          "maximum": 40,
          "minimum": 1,
          "title": "Answer Top K",
          "type": "integer"
        },
        "rlm_max_iters": {
          "maximum": 64,
          "minimum": 1,
          "title": "Rlm Max Iters",
          "type": "integer"
        },
        "rlm_sub_budget": {
          "maximum": 128,
          "minimum": 0,
          "title": "Rlm Sub Budget",
          "type": "integer"
        },
        "rlm_max_depth": {
          "maximum": 8,
          "minimum": 0,
          "title": "Rlm Max Depth",
          "type": "integer"
        },
        "rlm_self_consistency": {
          "maximum": 8,
          "minimum": 1,
          "title": "Rlm Self Consistency",
          "type": "integer"
        },
        "rlm_extended_reasoning": {
          "title": "Rlm Extended Reasoning",
          "type": "boolean"
        }
      },
      "required": [
        "answer_mode",
        "retrieval_top_k",
        "retrieval_per_query_k",
        "retrieval_rrf_k",
        "query_expansion_enabled",
        "query_expansion_n",
        "answer_top_k",
        "rlm_max_iters",
        "rlm_sub_budget",
        "rlm_max_depth",
        "rlm_self_consistency",
        "rlm_extended_reasoning"
      ],
      "title": "DocumentKnowledgeSettings",
      "type": "object"
    },
    "DocumentPartContent": {
      "additionalProperties": true,
      "properties": {
        "document_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Document Id",
          "type": "string"
        },
        "catalog_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Catalog Source Id",
          "type": "string"
        },
        "native_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Source Id",
          "type": "string"
        },
        "source_version_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Source Version Id",
          "type": "string"
        },
        "extraction_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Extraction Id",
          "type": "string"
        },
        "source_part_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Source Part Id",
          "type": "string"
        },
        "kind": {
          "enum": [
            "chunk",
            "page"
          ],
          "title": "Kind",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "text": {
          "maxLength": 1000000,
          "title": "Text",
          "type": "string"
        },
        "recorded_page": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recorded Page"
        },
        "page_basis": {
          "const": "recorded_loader",
          "title": "Page Basis",
          "type": "string"
        },
        "raw_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Raw Sha256",
          "type": "string"
        },
        "normalized_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Normalized Sha256",
          "type": "string"
        },
        "input_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Input Sha256",
          "type": "string"
        }
      },
      "required": [
        "document_id",
        "catalog_source_id",
        "native_source_id",
        "source_version_id",
        "extraction_id",
        "source_part_id",
        "kind",
        "sha256",
        "text",
        "page_basis",
        "raw_sha256",
        "normalized_sha256",
        "input_sha256"
      ],
      "title": "DocumentPartContent",
      "type": "object"
    },
    "DocumentPartPage": {
      "additionalProperties": true,
      "properties": {
        "total": {
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/DocumentPartSummary"
          },
          "maxItems": 100,
          "title": "Items",
          "type": "array"
        }
      },
      "required": [
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous",
        "items"
      ],
      "title": "DocumentPartPage",
      "type": "object"
    },
    "DocumentPartSummary": {
      "additionalProperties": true,
      "properties": {
        "document_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Document Id",
          "type": "string"
        },
        "catalog_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Catalog Source Id",
          "type": "string"
        },
        "native_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Source Id",
          "type": "string"
        },
        "source_version_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Source Version Id",
          "type": "string"
        },
        "extraction_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Extraction Id",
          "type": "string"
        },
        "source_part_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Source Part Id",
          "type": "string"
        },
        "kind": {
          "enum": [
            "artifact",
            "section",
            "chunk",
            "page"
          ],
          "title": "Kind",
          "type": "string"
        },
        "ordinal": {
          "minimum": 0,
          "title": "Ordinal",
          "type": "integer"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "recorded_page": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recorded Page"
        },
        "page_basis": {
          "anyOf": [
            {
              "const": "recorded_loader",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Basis"
        },
        "char_start": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Char Start"
        },
        "char_end": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Char End"
        },
        "offset_basis": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Offset Basis"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        }
      },
      "required": [
        "document_id",
        "catalog_source_id",
        "native_source_id",
        "source_version_id",
        "extraction_id",
        "source_part_id",
        "kind",
        "ordinal",
        "sha256",
        "created_at"
      ],
      "title": "DocumentPartSummary",
      "type": "object"
    },
    "DocumentReingestInput": {
      "additionalProperties": false,
      "properties": {
        "acknowledge_chunk_invalidation": {
          "default": false,
          "title": "Acknowledge Chunk Invalidation",
          "type": "boolean"
        }
      },
      "title": "DocumentReingestInput",
      "type": "object"
    },
    "DocumentVersion": {
      "additionalProperties": true,
      "properties": {
        "document_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Document Id",
          "type": "string"
        },
        "catalog_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Catalog Source Id",
          "type": "string"
        },
        "native_source_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Source Id",
          "type": "string"
        },
        "source_version_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Source Version Id",
          "type": "string"
        },
        "filename": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Filename"
        },
        "media_type": {
          "anyOf": [
            {
              "maxLength": 128,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Media Type"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "byte_size": {
          "minimum": 0,
          "title": "Byte Size",
          "type": "integer"
        },
        "actor": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Actor"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "predecessor_source_version_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Predecessor Source Version Id"
        }
      },
      "required": [
        "document_id",
        "catalog_source_id",
        "native_source_id",
        "source_version_id",
        "sha256",
        "byte_size",
        "created_at"
      ],
      "title": "DocumentVersion",
      "type": "object"
    },
    "DocumentVersionPage": {
      "additionalProperties": true,
      "properties": {
        "total": {
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/DocumentVersion"
          },
          "maxItems": 100,
          "title": "Items",
          "type": "array"
        }
      },
      "required": [
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous",
        "items"
      ],
      "title": "DocumentVersionPage",
      "type": "object"
    },
    "DomainCapability": {
      "additionalProperties": true,
      "properties": {
        "installed": {
          "title": "Installed",
          "type": "boolean"
        },
        "registered": {
          "title": "Registered",
          "type": "boolean"
        },
        "beans": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Beans"
        },
        "qualified": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Qualified"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        }
      },
      "required": [
        "installed",
        "registered"
      ],
      "title": "DomainCapability",
      "type": "object"
    },
    "EmailInvitation": {
      "additionalProperties": true,
      "properties": {
        "action_reasons": {
          "additionalProperties": {
            "enum": [
              "closed",
              "cooldown",
              "send_limit",
              "delivery_outcome_unknown",
              "inviter_authority_lost",
              "origin_token_revoked",
              "origin_token_expired",
              "origin_scope_changed",
              "recipient_connection_changed"
            ],
            "type": "string"
          },
          "propertyNames": {
            "enum": [
              "accept",
              "resend"
            ]
          },
          "title": "Action Reasons",
          "type": "object"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Id"
        },
        "organization_name": {
          "title": "Organization Name",
          "type": "string"
        },
        "workspace_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Name"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "recipient_display_name": {
          "title": "Recipient Display Name",
          "type": "string"
        },
        "recipient_email": {
          "title": "Recipient Email",
          "type": "string"
        },
        "provider_label": {
          "title": "Provider Label",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "status": {
          "enum": [
            "pending",
            "accepted",
            "declined",
            "revoked",
            "expired"
          ],
          "title": "Status",
          "type": "string"
        },
        "accepted_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Accepted At"
        },
        "declined_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Declined At"
        },
        "revoked_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Revoked At"
        },
        "delivery": {
          "$ref": "#/$defs/InvitationDelivery"
        },
        "allowed_actions": {
          "items": {
            "enum": [
              "revoke",
              "resend"
            ],
            "type": "string"
          },
          "title": "Allowed Actions",
          "type": "array"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "workspace_id",
        "organization_name",
        "workspace_name",
        "role",
        "recipient_display_name",
        "recipient_email",
        "provider_label",
        "created_at",
        "expires_at",
        "status",
        "delivery",
        "allowed_actions"
      ],
      "title": "EmailInvitation",
      "type": "object"
    },
    "EmailInvitationInput": {
      "additionalProperties": false,
      "properties": {
        "recipient_ref": {
          "maxLength": 4096,
          "minLength": 8,
          "title": "Recipient Ref",
          "type": "string"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "expires_in_hours": {
          "default": 24,
          "maximum": 168,
          "minimum": 1,
          "title": "Expires In Hours",
          "type": "integer"
        },
        "message": {
          "default": "",
          "maxLength": 1000,
          "title": "Message",
          "type": "string"
        }
      },
      "required": [
        "recipient_ref",
        "role"
      ],
      "title": "EmailInvitationInput",
      "type": "object"
    },
    "EmailInvitationPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/EmailInvitation"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "EmailInvitationPage",
      "type": "object"
    },
    "EmailPreview": {
      "additionalProperties": true,
      "properties": {
        "subject": {
          "title": "Subject",
          "type": "string"
        },
        "sender_name": {
          "title": "Sender Name",
          "type": "string"
        },
        "recipient_display_name": {
          "title": "Recipient Display Name",
          "type": "string"
        },
        "recipient_email": {
          "title": "Recipient Email",
          "type": "string"
        },
        "heading": {
          "title": "Heading",
          "type": "string"
        },
        "paragraphs": {
          "items": {
            "type": "string"
          },
          "title": "Paragraphs",
          "type": "array"
        },
        "action_label": {
          "title": "Action Label",
          "type": "string"
        },
        "footer": {
          "title": "Footer",
          "type": "string"
        },
        "product_name": {
          "title": "Product Name",
          "type": "string"
        },
        "accent_color": {
          "title": "Accent Color",
          "type": "string"
        },
        "branding": {
          "$ref": "#/$defs/BrandingValues"
        },
        "rendered_html": {
          "default": "",
          "title": "Rendered Html",
          "type": "string"
        },
        "rendered_text": {
          "default": "",
          "title": "Rendered Text",
          "type": "string"
        },
        "usage_summary": {
          "anyOf": [
            {
              "$ref": "#/$defs/CommunicationUsageSummary"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "activity_summary": {
          "anyOf": [
            {
              "$ref": "#/$defs/ActivitySummary"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "organization_name": {
          "default": "",
          "title": "Organization Name",
          "type": "string"
        },
        "workspace_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Name"
        },
        "effective_locale": {
          "default": "en-US",
          "title": "Effective Locale",
          "type": "string"
        },
        "locale_origin": {
          "default": "default",
          "enum": [
            "user",
            "organization",
            "installation",
            "default"
          ],
          "title": "Locale Origin",
          "type": "string"
        },
        "powered_by": {
          "const": "Powered by koinon",
          "default": "Powered by koinon",
          "title": "Powered By",
          "type": "string"
        },
        "copyright": {
          "title": "Copyright",
          "type": "string"
        }
      },
      "required": [
        "subject",
        "sender_name",
        "recipient_display_name",
        "recipient_email",
        "heading",
        "paragraphs",
        "action_label",
        "footer",
        "product_name",
        "accent_color",
        "branding"
      ],
      "title": "EmailPreview",
      "type": "object"
    },
    "EntraCredential": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "entra",
          "title": "Kind",
          "type": "string"
        },
        "secret": {
          "format": "password",
          "maxLength": 8192,
          "minLength": 1,
          "title": "Secret",
          "type": "string",
          "writeOnly": true
        },
        "directory_secret": {
          "anyOf": [
            {
              "format": "password",
              "maxLength": 8192,
              "minLength": 1,
              "type": "string",
              "writeOnly": true
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Directory Secret"
        }
      },
      "required": [
        "kind",
        "secret"
      ],
      "title": "EntraCredential",
      "type": "object"
    },
    "EntraSettings": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "entra",
          "title": "Kind",
          "type": "string"
        },
        "tenant_id": {
          "format": "uuid",
          "title": "Tenant Id",
          "type": "string"
        },
        "client_id": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Client Id",
          "type": "string"
        },
        "directory_client_id": {
          "anyOf": [
            {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Directory Client Id"
        },
        "membership_mode": {
          "default": "direct",
          "enum": [
            "direct",
            "transitive"
          ],
          "title": "Membership Mode",
          "type": "string"
        },
        "identity_mode": {
          "default": "brokered",
          "enum": [
            "brokered",
            "direct"
          ],
          "title": "Identity Mode",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "tenant_id",
        "client_id"
      ],
      "title": "EntraSettings",
      "type": "object"
    },
    "EvidenceManifest": {
      "additionalProperties": true,
      "properties": {
        "revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Revision",
          "type": "string"
        },
        "sources": {
          "default": [],
          "items": {
            "$ref": "#/$defs/SourceReference"
          },
          "maxItems": 500,
          "title": "Sources",
          "type": "array"
        },
        "complete": {
          "default": false,
          "title": "Complete",
          "type": "boolean"
        },
        "omissions": {
          "default": [],
          "items": {
            "type": "string"
          },
          "maxItems": 100,
          "title": "Omissions",
          "type": "array"
        }
      },
      "required": [
        "revision"
      ],
      "title": "EvidenceManifest",
      "type": "object"
    },
    "EvidencePresentation": {
      "additionalProperties": true,
      "properties": {
        "locale": {
          "default": "en-US",
          "maxLength": 64,
          "minLength": 2,
          "title": "Locale",
          "type": "string"
        },
        "time_zone": {
          "default": "UTC",
          "maxLength": 128,
          "minLength": 1,
          "title": "Time Zone",
          "type": "string"
        },
        "response_language": {
          "default": "en",
          "maxLength": 64,
          "minLength": 2,
          "title": "Response Language",
          "type": "string"
        }
      },
      "title": "EvidencePresentation",
      "type": "object"
    },
    "EvidenceResult": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "run_id": {
          "title": "Run Id",
          "type": "string"
        },
        "kind": {
          "enum": [
            "search",
            "query",
            "schema",
            "lineage",
            "attachment",
            "proposal"
          ],
          "title": "Kind",
          "type": "string"
        },
        "data": {
          "anyOf": [
            {
              "$ref": "#/$defs/SearchResponse"
            },
            {
              "$ref": "#/$defs/QueryResponse"
            },
            {
              "$ref": "#/$defs/DatasetSchema"
            },
            {
              "$ref": "#/$defs/Lineage"
            },
            {
              "$ref": "#/$defs/AttachmentEvidence"
            },
            {
              "$ref": "#/$defs/CatalogProposal"
            }
          ],
          "title": "Data"
        }
      },
      "required": [
        "id",
        "run_id",
        "kind",
        "data"
      ],
      "title": "EvidenceResult",
      "type": "object"
    },
    "Export": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "kind": {
          "enum": [
            "conversation",
            "query_result"
          ],
          "title": "Kind",
          "type": "string"
        },
        "format": {
          "enum": [
            "markdown",
            "json",
            "parquet",
            "csv",
            "jsonl"
          ],
          "title": "Format",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "status": {
          "enum": [
            "ready",
            "cancelled",
            "expired"
          ],
          "title": "Status",
          "type": "string"
        },
        "revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Revision",
          "type": "string"
        },
        "completeness": {
          "enum": [
            "selected_messages",
            "bounded",
            "unknown"
          ],
          "title": "Completeness",
          "type": "string"
        },
        "row_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "truncated": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Truncated"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "kind",
        "format",
        "title",
        "status",
        "revision",
        "completeness",
        "created_at",
        "expires_at"
      ],
      "title": "Export",
      "type": "object"
    },
    "ExportCreate": {
      "additionalProperties": false,
      "properties": {
        "review_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Review Id",
          "type": "string"
        },
        "expected_revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Expected Revision",
          "type": "string"
        }
      },
      "required": [
        "review_id",
        "expected_revision"
      ],
      "title": "ExportCreate",
      "type": "object"
    },
    "ExportPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/Export"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "ExportPage",
      "type": "object"
    },
    "ExportReview": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Revision",
          "type": "string"
        },
        "kind": {
          "enum": [
            "conversation",
            "query_result"
          ],
          "title": "Kind",
          "type": "string"
        },
        "format": {
          "enum": [
            "markdown",
            "json",
            "parquet",
            "csv",
            "jsonl"
          ],
          "title": "Format",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "message_count": {
          "maximum": 200,
          "minimum": 0,
          "title": "Message Count",
          "type": "integer"
        },
        "source_count": {
          "maximum": 500,
          "minimum": 0,
          "title": "Source Count",
          "type": "integer"
        },
        "row_count": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "row_cap": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Cap"
        },
        "truncated": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Truncated"
        },
        "completeness": {
          "enum": [
            "selected_messages",
            "bounded",
            "unknown"
          ],
          "title": "Completeness",
          "type": "string"
        },
        "messages": {
          "default": [],
          "items": {
            "$ref": "#/$defs/ConversationMessage"
          },
          "title": "Messages",
          "type": "array"
        },
        "sources": {
          "default": [],
          "items": {
            "$ref": "#/$defs/SourceReference"
          },
          "title": "Sources",
          "type": "array"
        },
        "source_manifest_complete": {
          "default": false,
          "title": "Source Manifest Complete",
          "type": "boolean"
        },
        "result": {
          "anyOf": [
            {
              "$ref": "#/$defs/StoredResult"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "omissions": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Omissions",
          "type": "array"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "identity": {
          "anyOf": [
            {
              "$ref": "#/$defs/ConversationIdentity"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "revision",
        "kind",
        "format",
        "title",
        "message_count",
        "source_count",
        "completeness",
        "expires_at"
      ],
      "title": "ExportReview",
      "type": "object"
    },
    "ExportReviewRequest": {
      "discriminator": {
        "mapping": {
          "conversation": "#/$defs/ConversationExportInput",
          "query_result": "#/$defs/QueryResultExportInput"
        },
        "propertyName": "kind"
      },
      "oneOf": [
        {
          "$ref": "#/$defs/ConversationExportInput"
        },
        {
          "$ref": "#/$defs/QueryResultExportInput"
        }
      ],
      "title": "ExportReviewRequest"
    },
    "ExternalFileCatalogEntry": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "kind": {
          "title": "Kind",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Parent Id"
        },
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "project_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Project Id"
        },
        "description": {
          "title": "Description",
          "type": "string"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "created_by": {
          "title": "Created By",
          "type": "string"
        },
        "updated_by": {
          "title": "Updated By",
          "type": "string"
        },
        "metadata": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Metadata",
          "type": "object"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "kind",
        "name",
        "parent_id",
        "workspace_id",
        "project_id",
        "description",
        "status",
        "created_by",
        "updated_by",
        "metadata",
        "created_at",
        "updated_at"
      ],
      "title": "ExternalFileCatalogEntry",
      "type": "object"
    },
    "ExternalFileChunkInput": {
      "additionalProperties": false,
      "properties": {
        "index": {
          "maximum": 2047,
          "minimum": 0,
          "title": "Index",
          "type": "integer"
        },
        "data_base64": {
          "maxLength": 87384,
          "minLength": 4,
          "title": "Data Base64",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        }
      },
      "required": [
        "index",
        "data_base64",
        "sha256"
      ],
      "title": "ExternalFileChunkInput",
      "type": "object"
    },
    "ExternalFileCleanupInput": {
      "additionalProperties": false,
      "properties": {
        "review_ids": {
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 25,
          "minItems": 1,
          "title": "Review Ids",
          "type": "array"
        },
        "max_objects": {
          "default": 32,
          "maximum": 64,
          "minimum": 1,
          "title": "Max Objects",
          "type": "integer"
        }
      },
      "required": [
        "review_ids"
      ],
      "title": "ExternalFileCleanupInput",
      "type": "object"
    },
    "ExternalFileCleanupResult": {
      "additionalProperties": true,
      "properties": {
        "reviews": {
          "items": {
            "$ref": "#/$defs/ExternalFileCleanupReview"
          },
          "maxItems": 25,
          "title": "Reviews",
          "type": "array"
        }
      },
      "required": [
        "reviews"
      ],
      "title": "ExternalFileCleanupResult",
      "type": "object"
    },
    "ExternalFileCleanupReview": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "purging",
            "purged"
          ],
          "title": "Status",
          "type": "string"
        },
        "processed_objects": {
          "maximum": 2049,
          "minimum": 0,
          "title": "Processed Objects",
          "type": "integer"
        },
        "total_objects": {
          "maximum": 2049,
          "minimum": 1,
          "title": "Total Objects",
          "type": "integer"
        }
      },
      "required": [
        "id",
        "status",
        "processed_objects",
        "total_objects"
      ],
      "title": "ExternalFileCleanupReview",
      "type": "object"
    },
    "ExternalFileReceipt": {
      "additionalProperties": true,
      "properties": {
        "source": {
          "$ref": "#/$defs/ExternalFileCatalogEntry"
        },
        "assets": {
          "items": {
            "$ref": "#/$defs/ExternalFileCatalogEntry"
          },
          "maxItems": 128,
          "minItems": 1,
          "title": "Assets",
          "type": "array"
        }
      },
      "required": [
        "source",
        "assets"
      ],
      "title": "ExternalFileReceipt",
      "type": "object"
    },
    "ExternalFileReviewInput": {
      "additionalProperties": false,
      "properties": {
        "filename": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Filename",
          "type": "string"
        },
        "content_type": {
          "anyOf": [
            {
              "maxLength": 128,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Content Type"
        },
        "mode": {
          "enum": [
            "document",
            "dataset"
          ],
          "title": "Mode",
          "type": "string"
        },
        "destination_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Destination Id",
          "type": "string"
        },
        "size_bytes": {
          "maximum": 134217728,
          "minimum": 1,
          "title": "Size Bytes",
          "type": "integer"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        }
      },
      "required": [
        "filename",
        "mode",
        "destination_id",
        "size_bytes",
        "sha256"
      ],
      "title": "ExternalFileReviewInput",
      "type": "object"
    },
    "ExternalFileReviewView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "revision": {
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "authorization_digest": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Authorization Digest",
          "type": "string"
        },
        "status": {
          "enum": [
            "uploading",
            "preview",
            "ingesting",
            "committed",
            "cancelled",
            "unresolved"
          ],
          "title": "Status",
          "type": "string"
        },
        "filename": {
          "title": "Filename",
          "type": "string"
        },
        "content_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Content Type"
        },
        "mode": {
          "enum": [
            "document",
            "dataset"
          ],
          "title": "Mode",
          "type": "string"
        },
        "size_bytes": {
          "title": "Size Bytes",
          "type": "integer"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "destination": {
          "$ref": "#/$defs/KnowledgeDestination"
        },
        "received_chunks": {
          "title": "Received Chunks",
          "type": "integer"
        },
        "total_chunks": {
          "title": "Total Chunks",
          "type": "integer"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "submitted_by": {
          "title": "Submitted By",
          "type": "string"
        },
        "credential_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Credential Id",
          "type": "string"
        },
        "application_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Application Id"
        },
        "origin": {
          "const": "external_proposal",
          "default": "external_proposal",
          "title": "Origin",
          "type": "string"
        },
        "authority": {
          "const": "unverified",
          "default": "unverified",
          "title": "Authority",
          "type": "string"
        },
        "provider": {
          "default": null,
          "title": "Provider",
          "type": "null"
        },
        "model": {
          "default": null,
          "title": "Model",
          "type": "null"
        },
        "source_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Id"
        },
        "intake_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Intake Status"
        },
        "receipt": {
          "anyOf": [
            {
              "$ref": "#/$defs/ExternalFileReceipt"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "tenant_id",
        "revision",
        "authorization_digest",
        "status",
        "filename",
        "content_type",
        "mode",
        "size_bytes",
        "sha256",
        "destination",
        "received_chunks",
        "total_chunks",
        "expires_at",
        "submitted_by",
        "credential_id",
        "application_id"
      ],
      "title": "ExternalFileReviewView",
      "type": "object"
    },
    "ExternalProposalEvidence": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "const": "external_proposal",
          "default": "external_proposal",
          "title": "Kind",
          "type": "string"
        },
        "text": {
          "maxLength": 262144,
          "minLength": 1,
          "title": "Text",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "submitted_by": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Submitted By",
          "type": "string"
        },
        "credential_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Credential Id",
          "type": "string"
        },
        "application_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Application Id"
        },
        "source_receipt_ids": {
          "default": [],
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 32,
          "title": "Source Receipt Ids",
          "type": "array"
        },
        "recorded_at": {
          "format": "date-time",
          "title": "Recorded At",
          "type": "string"
        },
        "authority": {
          "const": "unverified",
          "default": "unverified",
          "title": "Authority",
          "type": "string"
        },
        "provider": {
          "default": null,
          "title": "Provider",
          "type": "null"
        },
        "model": {
          "default": null,
          "title": "Model",
          "type": "null"
        }
      },
      "required": [
        "text",
        "sha256",
        "submitted_by",
        "credential_id",
        "recorded_at"
      ],
      "title": "ExternalProposalEvidence",
      "type": "object"
    },
    "ExternalProposalOrigin": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "const": "external_proposal",
          "title": "Kind",
          "type": "string"
        },
        "source_receipt_ids": {
          "default": [],
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 32,
          "title": "Source Receipt Ids",
          "type": "array"
        }
      },
      "required": [
        "kind"
      ],
      "title": "ExternalProposalOrigin",
      "type": "object"
    },
    "ExternalReviewDecision": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "authorization_digest": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Authorization Digest",
          "type": "string"
        },
        "nonce": {
          "maxLength": 43,
          "minLength": 43,
          "title": "Nonce",
          "type": "string"
        }
      },
      "required": [
        "expected_revision",
        "authorization_digest",
        "nonce"
      ],
      "title": "ExternalReviewDecision",
      "type": "object"
    },
    "ExternalReviewInput": {
      "additionalProperties": false,
      "properties": {
        "action": {
          "enum": [
            "create_draft",
            "create_published",
            "update_draft",
            "update_published",
            "publish_draft"
          ],
          "title": "Action",
          "type": "string"
        },
        "destination_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Destination Id",
          "type": "string"
        },
        "target_item_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Target Item Id"
        },
        "expected_version": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Version"
        },
        "content": {
          "$ref": "#/$defs/KnowledgeContent"
        },
        "source_receipt_ids": {
          "default": [],
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 32,
          "title": "Source Receipt Ids",
          "type": "array"
        }
      },
      "required": [
        "action",
        "destination_id",
        "content"
      ],
      "title": "ExternalReviewInput",
      "type": "object"
    },
    "ExternalReviewView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "review": {
          "$ref": "#/$defs/KnowledgeIntent"
        },
        "status": {
          "enum": [
            "preview",
            "committing",
            "committed",
            "cancelled",
            "stale",
            "unresolved"
          ],
          "title": "Status",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "review",
        "status",
        "expires_at"
      ],
      "title": "ExternalReviewView",
      "type": "object"
    },
    "FeatureCapability": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "available": {
          "title": "Available",
          "type": "boolean"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        }
      },
      "required": [
        "id",
        "name",
        "available"
      ],
      "title": "FeatureCapability",
      "type": "object"
    },
    "FieldOption": {
      "additionalProperties": true,
      "properties": {
        "value": {
          "title": "Value",
          "type": "string"
        },
        "label": {
          "title": "Label",
          "type": "string"
        }
      },
      "required": [
        "value",
        "label"
      ],
      "title": "FieldOption",
      "type": "object"
    },
    "FieldSchema": {
      "additionalProperties": true,
      "properties": {
        "options": {
          "items": {
            "$ref": "#/$defs/FieldOption"
          },
          "title": "Options",
          "type": "array"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "label": {
          "title": "Label",
          "type": "string"
        },
        "type": {
          "enum": [
            "text",
            "url",
            "secret",
            "string_list",
            "select"
          ],
          "title": "Type",
          "type": "string"
        },
        "required": {
          "title": "Required",
          "type": "boolean"
        },
        "write_only": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Write Only"
        },
        "default": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Default"
        }
      },
      "required": [
        "name",
        "label",
        "type",
        "required"
      ],
      "title": "FieldSchema",
      "type": "object"
    },
    "FileBatchCapabilities": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "modes": {
          "items": {
            "enum": [
              "document",
              "dataset"
            ],
            "type": "string"
          },
          "title": "Modes",
          "type": "array"
        },
        "processing_policy": {
          "const": "extract_only_v1",
          "default": "extract_only_v1",
          "title": "Processing Policy",
          "type": "string"
        },
        "staging_backend": {
          "default": "private_local_posix",
          "enum": [
            "private_local_posix",
            "private_azure_blob",
            "private_gcs_object"
          ],
          "title": "Staging Backend",
          "type": "string"
        },
        "staging_topology": {
          "default": "single_host_shared_durable_posix",
          "enum": [
            "single_host_shared_durable_posix",
            "shared_private_object_store"
          ],
          "title": "Staging Topology",
          "type": "string"
        },
        "writer_fence": {
          "const": "primary_database_generation_lease",
          "default": "primary_database_generation_lease",
          "title": "Writer Fence",
          "type": "string"
        },
        "worker": {
          "const": "external_native_worker",
          "default": "external_native_worker",
          "title": "Worker",
          "type": "string"
        },
        "automatic_unknown_replay": {
          "const": false,
          "default": false,
          "title": "Automatic Unknown Replay",
          "type": "boolean"
        },
        "synchronous_max_file_bytes": {
          "default": 33554432,
          "title": "Synchronous Max File Bytes",
          "type": "integer"
        },
        "large_file_transport": {
          "const": "queued_file_spool",
          "default": "queued_file_spool",
          "title": "Large File Transport",
          "type": "string"
        },
        "quota_semantics": {
          "const": "lifetime_admission_bytes",
          "default": "lifetime_admission_bytes",
          "title": "Quota Semantics",
          "type": "string"
        },
        "max_files": {
          "title": "Max Files",
          "type": "integer"
        },
        "max_file_bytes": {
          "title": "Max File Bytes",
          "type": "integer"
        },
        "max_batch_bytes": {
          "title": "Max Batch Bytes",
          "type": "integer"
        },
        "max_active_batches_per_subject": {
          "title": "Max Active Batches Per Subject",
          "type": "integer"
        }
      },
      "required": [
        "configured",
        "modes",
        "max_files",
        "max_file_bytes",
        "max_batch_bytes",
        "max_active_batches_per_subject"
      ],
      "title": "FileBatchCapabilities",
      "type": "object"
    },
    "FileBatchCreate": {
      "additionalProperties": false,
      "properties": {
        "destination": {
          "$ref": "#/$defs/BulkDestination"
        },
        "processing_policy": {
          "const": "extract_only_v1",
          "default": "extract_only_v1",
          "title": "Processing Policy",
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/FileManifestItem"
          },
          "maxItems": 100,
          "minItems": 1,
          "title": "Items",
          "type": "array"
        }
      },
      "required": [
        "destination",
        "items"
      ],
      "title": "FileBatchCreate",
      "type": "object"
    },
    "FileBatchItemView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "client_item_id": {
          "title": "Client Item Id",
          "type": "string"
        },
        "filename": {
          "title": "Filename",
          "type": "string"
        },
        "mode": {
          "enum": [
            "document",
            "dataset"
          ],
          "title": "Mode",
          "type": "string"
        },
        "size_bytes": {
          "title": "Size Bytes",
          "type": "integer"
        },
        "sha256": {
          "title": "Sha256",
          "type": "string"
        },
        "status": {
          "enum": [
            "awaiting_upload",
            "staged",
            "queued",
            "running",
            "succeeded",
            "failed",
            "cancelled",
            "reconciling"
          ],
          "title": "Status",
          "type": "string"
        },
        "source_id": {
          "title": "Source Id",
          "type": "string"
        },
        "asset_id": {
          "title": "Asset Id",
          "type": "string"
        },
        "job_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Job Id"
        },
        "file_version_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "File Version Id"
        },
        "table_ids": {
          "items": {
            "type": "string"
          },
          "title": "Table Ids",
          "type": "array"
        },
        "source_version_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Version Id"
        },
        "extraction_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Extraction Id"
        },
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error Code"
        }
      },
      "required": [
        "id",
        "client_item_id",
        "filename",
        "mode",
        "size_bytes",
        "sha256",
        "status",
        "source_id",
        "asset_id",
        "job_id"
      ],
      "title": "FileBatchItemView",
      "type": "object"
    },
    "FileBatchPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/FileBatchView"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "FileBatchPage",
      "type": "object"
    },
    "FileBatchView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "destination": {
          "$ref": "#/$defs/BulkDestination"
        },
        "status": {
          "enum": [
            "expired",
            "staging",
            "queued",
            "running",
            "succeeded",
            "partial",
            "failed",
            "cancelled",
            "reconciling"
          ],
          "title": "Status",
          "type": "string"
        },
        "revision": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "total_items": {
          "title": "Total Items",
          "type": "integer"
        },
        "total_bytes": {
          "title": "Total Bytes",
          "type": "integer"
        },
        "counts": {
          "additionalProperties": {
            "type": "integer"
          },
          "propertyNames": {
            "enum": [
              "awaiting_upload",
              "staged",
              "queued",
              "running",
              "succeeded",
              "failed",
              "cancelled",
              "reconciling"
            ]
          },
          "title": "Counts",
          "type": "object"
        },
        "cancellation_requested": {
          "title": "Cancellation Requested",
          "type": "boolean"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "destination",
        "status",
        "revision",
        "total_items",
        "total_bytes",
        "counts",
        "cancellation_requested",
        "created_at",
        "expires_at"
      ],
      "title": "FileBatchView",
      "type": "object"
    },
    "FileItemPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/FileBatchItemView"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "FileItemPage",
      "type": "object"
    },
    "FileManifestItem": {
      "additionalProperties": false,
      "properties": {
        "client_item_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Client Item Id",
          "type": "string"
        },
        "filename": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Filename",
          "type": "string"
        },
        "mode": {
          "enum": [
            "document",
            "dataset"
          ],
          "title": "Mode",
          "type": "string"
        },
        "size_bytes": {
          "maximum": 134217728,
          "minimum": 1,
          "title": "Size Bytes",
          "type": "integer"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        }
      },
      "required": [
        "client_item_id",
        "filename",
        "mode",
        "size_bytes",
        "sha256"
      ],
      "title": "FileManifestItem",
      "type": "object"
    },
    "FileRecoveryView": {
      "additionalProperties": true,
      "properties": {
        "batch_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Batch Id",
          "type": "string"
        },
        "item_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Item Id",
          "type": "string"
        },
        "batch_revision": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Batch Revision",
          "type": "integer"
        },
        "native_state": {
          "enum": [
            "absent",
            "admitted",
            "failed",
            "prepared",
            "committed",
            "unknown",
            "not_checked"
          ],
          "title": "Native State",
          "type": "string"
        },
        "operation": {
          "anyOf": [
            {
              "enum": [
                "retry_processing",
                "finalize_publication",
                "acknowledge_commit"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Operation"
        },
        "reason_code": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason Code"
        },
        "attempts": {
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Attempts",
          "type": "integer"
        },
        "max_attempts": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Max Attempts",
          "type": "integer"
        },
        "checked_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Checked At"
        },
        "job_status": {
          "enum": [
            "queued",
            "running",
            "succeeded",
            "failed",
            "cancelled",
            "unknown"
          ],
          "title": "Job Status",
          "type": "string"
        },
        "original_receipt_state": {
          "enum": [
            "verified",
            "unavailable",
            "not_checked"
          ],
          "title": "Original Receipt State",
          "type": "string"
        }
      },
      "required": [
        "batch_id",
        "item_id",
        "batch_revision",
        "native_state",
        "operation",
        "attempts",
        "max_attempts",
        "checked_at",
        "job_status",
        "original_receipt_state"
      ],
      "title": "FileRecoveryView",
      "type": "object"
    },
    "FolderCreate": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "maxLength": 120,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Id"
        },
        "scope": {
          "anyOf": [
            {
              "$ref": "#/$defs/KnowledgeScope"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "memory_enabled": {
          "default": false,
          "title": "Memory Enabled",
          "type": "boolean"
        }
      },
      "required": [
        "name"
      ],
      "title": "FolderCreate",
      "type": "object"
    },
    "FolderPatch": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Id"
        },
        "memory_enabled": {
          "default": false,
          "title": "Memory Enabled",
          "type": "boolean"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "FolderPatch",
      "type": "object"
    },
    "Frozen": {
      "additionalProperties": true,
      "properties": {},
      "title": "Frozen",
      "type": "object"
    },
    "GenerationReceipt": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "start_sequence": {
          "minimum": 0,
          "title": "Start Sequence",
          "type": "integer"
        },
        "agent_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Agent Id",
          "type": "string"
        },
        "agent_revision": {
          "minimum": 1,
          "title": "Agent Revision",
          "type": "integer"
        },
        "provider_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Provider Id",
          "type": "string"
        },
        "provider_revision": {
          "minimum": 1,
          "title": "Provider Revision",
          "type": "integer"
        },
        "provider_kind": {
          "enum": [
            "ollama",
            "openai",
            "anthropic"
          ],
          "title": "Provider Kind",
          "type": "string"
        },
        "model_id": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Model Id",
          "type": "string"
        },
        "model_class": {
          "maxLength": 128,
          "minLength": 1,
          "title": "Model Class",
          "type": "string"
        },
        "api": {
          "enum": [
            "chat",
            "responses",
            "messages"
          ],
          "title": "Api",
          "type": "string"
        },
        "binding_output_mode": {
          "anyOf": [
            {
              "enum": [
                "default",
                "native"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Binding Output Mode"
        },
        "model_options_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Options Sha256"
        },
        "started_at": {
          "format": "date-time",
          "title": "Started At",
          "type": "string"
        },
        "finished_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Finished At"
        },
        "status": {
          "default": "started",
          "enum": [
            "started",
            "completed",
            "failed"
          ],
          "title": "Status",
          "type": "string"
        }
      },
      "required": [
        "id",
        "start_sequence",
        "agent_id",
        "agent_revision",
        "provider_id",
        "provider_revision",
        "provider_kind",
        "model_id",
        "model_class",
        "api",
        "started_at"
      ],
      "title": "GenerationReceipt",
      "type": "object"
    },
    "GlossaryPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/GlossaryTermRead"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        },
        "limit": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Limit"
        },
        "offset": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Offset"
        },
        "has_more": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Has More"
        }
      },
      "required": [
        "items"
      ],
      "title": "GlossaryPage",
      "type": "object"
    },
    "GlossaryTermCreate": {
      "additionalProperties": false,
      "properties": {
        "term": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Term",
          "type": "string"
        },
        "definition": {
          "maxLength": 16000,
          "minLength": 1,
          "title": "Definition",
          "type": "string"
        },
        "synonyms": {
          "items": {
            "maxLength": 512,
            "type": "string"
          },
          "maxItems": 64,
          "title": "Synonyms",
          "type": "array"
        },
        "tags": {
          "items": {
            "maxLength": 512,
            "type": "string"
          },
          "maxItems": 64,
          "title": "Tags",
          "type": "array"
        },
        "related_columns": {
          "items": {
            "maxLength": 512,
            "type": "string"
          },
          "maxItems": 64,
          "title": "Related Columns",
          "type": "array"
        },
        "related_metrics": {
          "items": {
            "maxLength": 512,
            "type": "string"
          },
          "maxItems": 64,
          "title": "Related Metrics",
          "type": "array"
        }
      },
      "required": [
        "term",
        "definition"
      ],
      "title": "GlossaryTermCreate",
      "type": "object"
    },
    "GlossaryTermRead": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "title": "Workspace Id",
          "type": "string"
        },
        "term": {
          "title": "Term",
          "type": "string"
        },
        "definition": {
          "title": "Definition",
          "type": "string"
        },
        "synonyms_json": {
          "items": {
            "type": "string"
          },
          "title": "Synonyms Json",
          "type": "array"
        },
        "tags_json": {
          "items": {
            "type": "string"
          },
          "title": "Tags Json",
          "type": "array"
        },
        "related_columns_json": {
          "items": {
            "type": "string"
          },
          "title": "Related Columns Json",
          "type": "array"
        },
        "related_metrics_json": {
          "items": {
            "type": "string"
          },
          "title": "Related Metrics Json",
          "type": "array"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "title": "Updated At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "workspace_id",
        "term",
        "definition",
        "synonyms_json",
        "tags_json",
        "related_columns_json",
        "related_metrics_json",
        "created_at",
        "updated_at"
      ],
      "title": "GlossaryTermRead",
      "type": "object"
    },
    "GlossaryTermUpdate": {
      "additionalProperties": false,
      "properties": {
        "definition": {
          "anyOf": [
            {
              "maxLength": 16000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Definition"
        },
        "synonyms": {
          "anyOf": [
            {
              "items": {
                "maxLength": 512,
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Synonyms"
        },
        "tags": {
          "anyOf": [
            {
              "items": {
                "maxLength": 512,
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Tags"
        },
        "related_columns": {
          "anyOf": [
            {
              "items": {
                "maxLength": 512,
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Related Columns"
        },
        "related_metrics": {
          "anyOf": [
            {
              "items": {
                "maxLength": 512,
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Related Metrics"
        }
      },
      "title": "GlossaryTermUpdate",
      "type": "object"
    },
    "GoogleCredential": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "google_workspace",
          "title": "Kind",
          "type": "string"
        },
        "secret": {
          "anyOf": [
            {
              "format": "password",
              "maxLength": 8192,
              "minLength": 1,
              "type": "string",
              "writeOnly": true
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Secret"
        },
        "service_account_email": {
          "anyOf": [
            {
              "maxLength": 320,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Service Account Email"
        },
        "private_key": {
          "anyOf": [
            {
              "format": "password",
              "maxLength": 32768,
              "minLength": 1,
              "type": "string",
              "writeOnly": true
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Private Key"
        },
        "private_key_id": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Private Key Id"
        },
        "delegated_admin": {
          "anyOf": [
            {
              "maxLength": 320,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Delegated Admin"
        }
      },
      "required": [
        "kind"
      ],
      "title": "GoogleCredential",
      "type": "object"
    },
    "GoogleWorkspaceSettings": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "google_workspace",
          "title": "Kind",
          "type": "string"
        },
        "client_id": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Client Id",
          "type": "string"
        },
        "hosted_domains": {
          "items": {
            "type": "string"
          },
          "maxItems": 10,
          "minItems": 1,
          "title": "Hosted Domains",
          "type": "array"
        },
        "customer_id": {
          "anyOf": [
            {
              "maxLength": 128,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Customer Id"
        },
        "membership_mode": {
          "default": "direct",
          "enum": [
            "direct",
            "transitive"
          ],
          "title": "Membership Mode",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "client_id",
        "hosted_domains"
      ],
      "title": "GoogleWorkspaceSettings",
      "type": "object"
    },
    "HealthComponent": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "enum": [
            "database-primary",
            "database-documents",
            "database-documents-control",
            "database-structured",
            "database-structured-control",
            "storage-documents",
            "storage-structured",
            "indexes-documents",
            "indexes-structured",
            "ingestion-documents",
            "ingestion-structured",
            "model-configuration",
            "communications",
            "workers"
          ],
          "title": "Id",
          "type": "string"
        },
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "unknown",
            "disabled"
          ],
          "title": "Status",
          "type": "string"
        },
        "basis": {
          "enum": [
            "observed",
            "configuration",
            "none"
          ],
          "title": "Basis",
          "type": "string"
        },
        "freshness": {
          "enum": [
            "current",
            "stale",
            "unknown"
          ],
          "title": "Freshness",
          "type": "string"
        },
        "observed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Observed At"
        },
        "expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expires At"
        },
        "reason": {
          "enum": [
            "DATABASE_OK",
            "DATABASE_UNAVAILABLE",
            "RUNTIME_ROLE_UNVERIFIED",
            "RUNTIME_ROLE_UNSAFE",
            "MODULE_DISABLED",
            "STORAGE_NOT_PROBED",
            "INDEXES_VERIFIED",
            "INDEXES_INCOMPLETE",
            "INDEXES_NOT_PROBED",
            "NO_INDEXES",
            "INGESTION_STATE_OBSERVED",
            "INGESTION_FAILURES",
            "MODEL_CONFIGURATION_PRESENT",
            "MODEL_CONFIGURATION_INCOMPLETE",
            "PROVIDER_NOT_PROBED",
            "COMMUNICATIONS_DISABLED",
            "COMMUNICATIONS_CONFIGURED",
            "COMMUNICATIONS_INCOMPLETE",
            "WORKER_LIVENESS_UNKNOWN",
            "OBSERVATION_UNAVAILABLE",
            "OBSERVATION_BOUNDED",
            "OBSERVATION_STALE"
          ],
          "title": "Reason",
          "type": "string"
        },
        "remediation": {
          "enum": [
            "none",
            "retry_read",
            "review_configuration",
            "review_indexes",
            "review_ingestion",
            "review_communications",
            "review_worker"
          ],
          "title": "Remediation",
          "type": "string"
        },
        "counts": {
          "anyOf": [
            {
              "$ref": "#/$defs/HealthCounts"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "coverage": {
          "enum": [
            "complete",
            "partial",
            "unavailable"
          ],
          "title": "Coverage",
          "type": "string"
        }
      },
      "required": [
        "id",
        "configured",
        "status",
        "basis",
        "freshness",
        "reason",
        "remediation",
        "coverage"
      ],
      "title": "HealthComponent",
      "type": "object"
    },
    "HealthCounts": {
      "additionalProperties": true,
      "properties": {
        "observed_total": {
          "maximum": 1000,
          "minimum": 0,
          "title": "Observed Total",
          "type": "integer"
        },
        "observed_ready": {
          "default": 0,
          "maximum": 1000,
          "minimum": 0,
          "title": "Observed Ready",
          "type": "integer"
        },
        "observed_pending": {
          "default": 0,
          "maximum": 1000,
          "minimum": 0,
          "title": "Observed Pending",
          "type": "integer"
        },
        "observed_running": {
          "default": 0,
          "maximum": 1000,
          "minimum": 0,
          "title": "Observed Running",
          "type": "integer"
        },
        "observed_failed": {
          "default": 0,
          "maximum": 1000,
          "minimum": 0,
          "title": "Observed Failed",
          "type": "integer"
        }
      },
      "required": [
        "observed_total"
      ],
      "title": "HealthCounts",
      "type": "object"
    },
    "HealthSummary": {
      "additionalProperties": true,
      "properties": {
        "passed": {
          "default": 0,
          "maximum": 16,
          "minimum": 0,
          "title": "Passed",
          "type": "integer"
        },
        "failed": {
          "default": 0,
          "maximum": 16,
          "minimum": 0,
          "title": "Failed",
          "type": "integer"
        },
        "unknown": {
          "default": 0,
          "maximum": 16,
          "minimum": 0,
          "title": "Unknown",
          "type": "integer"
        },
        "disabled": {
          "default": 0,
          "maximum": 16,
          "minimum": 0,
          "title": "Disabled",
          "type": "integer"
        }
      },
      "title": "HealthSummary",
      "type": "object"
    },
    "IdentityActivation": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "validation_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Validation Id",
          "type": "string"
        }
      },
      "required": [
        "expected_revision",
        "validation_id"
      ],
      "title": "IdentityActivation",
      "type": "object"
    },
    "IdentityCheck": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "unconfigured",
            "unknown",
            "passed",
            "failed",
            "blocked",
            "not_run"
          ],
          "title": "Status",
          "type": "string"
        },
        "message": {
          "title": "Message",
          "type": "string"
        },
        "supported": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Supported"
        },
        "verified": {
          "default": false,
          "title": "Verified",
          "type": "boolean"
        },
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Available"
        },
        "observed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Observed At"
        }
      },
      "required": [
        "id",
        "status",
        "message"
      ],
      "title": "IdentityCheck",
      "type": "object"
    },
    "IdentityGroup": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "provider_id": {
          "title": "Provider Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "path": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Path"
        },
        "membership_mode": {
          "enum": [
            "direct",
            "transitive"
          ],
          "title": "Membership Mode",
          "type": "string"
        }
      },
      "required": [
        "id",
        "provider_id",
        "name",
        "membership_mode"
      ],
      "title": "IdentityGroup",
      "type": "object"
    },
    "IdentityGroupPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/IdentityGroup"
          },
          "title": "Items",
          "type": "array"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        }
      },
      "required": [
        "items"
      ],
      "title": "IdentityGroupPage",
      "type": "object"
    },
    "IdentityMapping": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "provider_id": {
          "title": "Provider Id",
          "type": "string"
        },
        "group_id": {
          "title": "Group Id",
          "type": "string"
        },
        "group_name": {
          "title": "Group Name",
          "type": "string"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Id"
        },
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "provider_id",
        "group_id",
        "group_name",
        "role",
        "workspace_id",
        "enabled",
        "revision"
      ],
      "title": "IdentityMapping",
      "type": "object"
    },
    "IdentityMappingInput": {
      "additionalProperties": false,
      "properties": {
        "group_id": {
          "maxLength": 256,
          "minLength": 1,
          "title": "Group Id",
          "type": "string"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "enabled": {
          "default": true,
          "title": "Enabled",
          "type": "boolean"
        },
        "expected_revision": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Revision"
        }
      },
      "required": [
        "group_id",
        "role"
      ],
      "title": "IdentityMappingInput",
      "type": "object"
    },
    "IdentityMappingPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/IdentityMapping"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "IdentityMappingPage",
      "type": "object"
    },
    "IdentityProvider": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "kind": {
          "enum": [
            "keycloak",
            "entra",
            "google_workspace"
          ],
          "title": "Kind",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "canonical_issuer": {
          "title": "Canonical Issuer",
          "type": "string"
        },
        "broker_alias": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Broker Alias"
        },
        "ownership": {
          "enum": [
            "deployment",
            "tenant"
          ],
          "title": "Ownership",
          "type": "string"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "policy_revision": {
          "default": 1,
          "title": "Policy Revision",
          "type": "integer"
        },
        "status": {
          "enum": [
            "draft",
            "configured",
            "blocked",
            "verified",
            "active",
            "disabled"
          ],
          "title": "Status",
          "type": "string"
        },
        "credential_configured": {
          "title": "Credential Configured",
          "type": "boolean"
        },
        "settings": {
          "discriminator": {
            "mapping": {
              "entra": "#/$defs/EntraSettings",
              "google_workspace": "#/$defs/GoogleWorkspaceSettings",
              "keycloak": "#/$defs/KeycloakSettings"
            },
            "propertyName": "kind"
          },
          "oneOf": [
            {
              "$ref": "#/$defs/KeycloakSettings"
            },
            {
              "$ref": "#/$defs/EntraSettings"
            },
            {
              "$ref": "#/$defs/GoogleWorkspaceSettings"
            }
          ],
          "title": "Settings"
        },
        "checks": {
          "items": {
            "$ref": "#/$defs/IdentityCheck"
          },
          "title": "Checks",
          "type": "array"
        },
        "capabilities": {
          "items": {
            "type": "string"
          },
          "title": "Capabilities",
          "type": "array"
        },
        "observed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Observed At"
        },
        "created_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created At"
        },
        "updated_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Updated At"
        },
        "created_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created By"
        },
        "updated_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Updated By"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "kind",
        "name",
        "canonical_issuer",
        "broker_alias",
        "ownership",
        "revision",
        "status",
        "credential_configured",
        "settings"
      ],
      "title": "IdentityProvider",
      "type": "object"
    },
    "IdentityProviderInput": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "enum": [
            "keycloak",
            "entra",
            "google_workspace"
          ],
          "title": "Kind",
          "type": "string"
        },
        "name": {
          "maxLength": 120,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "broker_alias": {
          "anyOf": [
            {
              "pattern": "^[a-z0-9][a-z0-9_-]{0,63}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Broker Alias"
        },
        "settings": {
          "discriminator": {
            "mapping": {
              "entra": "#/$defs/EntraSettings",
              "google_workspace": "#/$defs/GoogleWorkspaceSettings",
              "keycloak": "#/$defs/KeycloakSettings"
            },
            "propertyName": "kind"
          },
          "oneOf": [
            {
              "$ref": "#/$defs/KeycloakSettings"
            },
            {
              "$ref": "#/$defs/EntraSettings"
            },
            {
              "$ref": "#/$defs/GoogleWorkspaceSettings"
            }
          ],
          "title": "Settings"
        },
        "credential": {
          "anyOf": [
            {
              "discriminator": {
                "mapping": {
                  "entra": "#/$defs/EntraCredential",
                  "google_workspace": "#/$defs/GoogleCredential",
                  "keycloak": "#/$defs/KeycloakCredential"
                },
                "propertyName": "kind"
              },
              "oneOf": [
                {
                  "$ref": "#/$defs/KeycloakCredential"
                },
                {
                  "$ref": "#/$defs/EntraCredential"
                },
                {
                  "$ref": "#/$defs/GoogleCredential"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Credential"
        },
        "credential_reference": {
          "anyOf": [
            {
              "maxLength": 120,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Credential Reference"
        }
      },
      "required": [
        "kind",
        "name",
        "settings"
      ],
      "title": "IdentityProviderInput",
      "type": "object"
    },
    "IdentityProviderPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/IdentityProvider"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "IdentityProviderPage",
      "type": "object"
    },
    "IdentityProviderPatch": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "name": {
          "anyOf": [
            {
              "maxLength": 120,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "settings": {
          "anyOf": [
            {
              "discriminator": {
                "mapping": {
                  "entra": "#/$defs/EntraSettings",
                  "google_workspace": "#/$defs/GoogleWorkspaceSettings",
                  "keycloak": "#/$defs/KeycloakSettings"
                },
                "propertyName": "kind"
              },
              "oneOf": [
                {
                  "$ref": "#/$defs/KeycloakSettings"
                },
                {
                  "$ref": "#/$defs/EntraSettings"
                },
                {
                  "$ref": "#/$defs/GoogleWorkspaceSettings"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Settings"
        },
        "credential": {
          "anyOf": [
            {
              "discriminator": {
                "mapping": {
                  "entra": "#/$defs/EntraCredential",
                  "google_workspace": "#/$defs/GoogleCredential",
                  "keycloak": "#/$defs/KeycloakCredential"
                },
                "propertyName": "kind"
              },
              "oneOf": [
                {
                  "$ref": "#/$defs/KeycloakCredential"
                },
                {
                  "$ref": "#/$defs/EntraCredential"
                },
                {
                  "$ref": "#/$defs/GoogleCredential"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Credential"
        },
        "credential_reference": {
          "anyOf": [
            {
              "maxLength": 120,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Credential Reference"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "IdentityProviderPatch",
      "type": "object"
    },
    "IdentityRevision": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "IdentityRevision",
      "type": "object"
    },
    "IdentityValidation": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "candidate_revision": {
          "title": "Candidate Revision",
          "type": "integer"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "checks": {
          "items": {
            "$ref": "#/$defs/IdentityCheck"
          },
          "title": "Checks",
          "type": "array"
        },
        "status": {
          "default": "pending",
          "enum": [
            "pending",
            "verified",
            "failed",
            "consumed"
          ],
          "title": "Status",
          "type": "string"
        },
        "authorization_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Authorization Url"
        }
      },
      "required": [
        "id",
        "candidate_revision",
        "expires_at",
        "checks"
      ],
      "title": "IdentityValidation",
      "type": "object"
    },
    "IndexActivateInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "expected_active_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Active Id"
        },
        "expected_connection_revision": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Connection Revision"
        },
        "recovery": {
          "anyOf": [
            {
              "enum": [
                "finish",
                "restore_previous"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recovery"
        }
      },
      "required": [
        "expected_revision",
        "expected_active_id",
        "expected_connection_revision"
      ],
      "title": "IndexActivateInput",
      "type": "object"
    },
    "IndexCreateInput": {
      "additionalProperties": false,
      "properties": {
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "domain": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Domain",
          "type": "string"
        },
        "provider_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Provider Id",
          "type": "string"
        },
        "model_id": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Model Id",
          "type": "string"
        },
        "expected_dimensions": {
          "anyOf": [
            {
              "maximum": 4096,
              "minimum": 64,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Dimensions"
        },
        "expected_active_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Active Id"
        },
        "expected_connection_revision": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Connection Revision"
        },
        "batch_size": {
          "default": 32,
          "maximum": 64,
          "minimum": 1,
          "title": "Batch Size",
          "type": "integer"
        }
      },
      "required": [
        "workspace_id",
        "domain",
        "provider_id",
        "model_id",
        "expected_active_id",
        "expected_connection_revision"
      ],
      "title": "IndexCreateInput",
      "type": "object"
    },
    "IndexJobView": {
      "additionalProperties": true,
      "properties": {
        "index": {
          "$ref": "#/$defs/KnowledgeIndexView"
        },
        "job_id": {
          "title": "Job Id",
          "type": "string"
        }
      },
      "required": [
        "index",
        "job_id"
      ],
      "title": "IndexJobView",
      "type": "object"
    },
    "IndexPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/KnowledgeIndexView"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "limit": {
          "title": "Limit",
          "type": "integer"
        },
        "offset": {
          "title": "Offset",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "limit",
        "offset"
      ],
      "title": "IndexPage",
      "type": "object"
    },
    "IndexPlanInput": {
      "additionalProperties": false,
      "properties": {
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "domain": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Domain",
          "type": "string"
        },
        "provider_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Provider Id",
          "type": "string"
        },
        "model_id": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Model Id",
          "type": "string"
        },
        "expected_dimensions": {
          "anyOf": [
            {
              "maximum": 4096,
              "minimum": 64,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Dimensions"
        }
      },
      "required": [
        "workspace_id",
        "domain",
        "provider_id",
        "model_id"
      ],
      "title": "IndexPlanInput",
      "type": "object"
    },
    "IndexPlanView": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "title": "Workspace Id",
          "type": "string"
        },
        "domain": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Domain",
          "type": "string"
        },
        "provider_id": {
          "title": "Provider Id",
          "type": "string"
        },
        "provider_kind": {
          "title": "Provider Kind",
          "type": "string"
        },
        "provider_revision": {
          "title": "Provider Revision",
          "type": "integer"
        },
        "model_id": {
          "title": "Model Id",
          "type": "string"
        },
        "dimensions": {
          "title": "Dimensions",
          "type": "integer"
        },
        "storage_dimensions": {
          "title": "Storage Dimensions",
          "type": "integer"
        },
        "qualification": {
          "title": "Qualification",
          "type": "string"
        },
        "expected_connection_revision": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Connection Revision"
        },
        "active_space_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Active Space Id"
        },
        "active_index_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Active Index Id"
        },
        "chunk_count": {
          "title": "Chunk Count",
          "type": "integer"
        },
        "warnings": {
          "items": {
            "type": "string"
          },
          "title": "Warnings",
          "type": "array"
        }
      },
      "required": [
        "tenant_id",
        "workspace_id",
        "domain",
        "provider_id",
        "provider_kind",
        "provider_revision",
        "model_id",
        "dimensions",
        "storage_dimensions",
        "qualification",
        "expected_connection_revision",
        "active_space_id",
        "active_index_id",
        "chunk_count",
        "warnings"
      ],
      "title": "IndexPlanView",
      "type": "object"
    },
    "IndexRevisionInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "IndexRevisionInput",
      "type": "object"
    },
    "Input": {
      "additionalProperties": false,
      "properties": {},
      "title": "Input",
      "type": "object"
    },
    "Invitation": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Id"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "label": {
          "title": "Label",
          "type": "string"
        },
        "created_by": {
          "title": "Created By",
          "type": "string"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "expires_at": {
          "title": "Expires At",
          "type": "string"
        },
        "status": {
          "enum": [
            "pending",
            "accepted",
            "expired",
            "revoked"
          ],
          "title": "Status",
          "type": "string"
        },
        "accepted_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Accepted At"
        },
        "accepted_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Accepted By"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "workspace_id",
        "role",
        "label",
        "created_by",
        "created_at",
        "expires_at",
        "status"
      ],
      "title": "Invitation",
      "type": "object"
    },
    "InvitationCreated": {
      "additionalProperties": true,
      "properties": {
        "invitation": {
          "$ref": "#/$defs/Invitation"
        },
        "token": {
          "format": "password",
          "title": "Token",
          "type": "string",
          "writeOnly": true
        }
      },
      "required": [
        "invitation",
        "token"
      ],
      "title": "InvitationCreated",
      "type": "object"
    },
    "InvitationDelivery": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "sending",
            "sent",
            "delivered",
            "deferred",
            "failed",
            "suppressed",
            "cancelled",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "queued_at": {
          "format": "date-time",
          "title": "Queued At",
          "type": "string"
        },
        "last_attempt_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Last Attempt At"
        },
        "next_attempt_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Attempt At"
        },
        "next_resend_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Resend At"
        },
        "failure_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Failure Code"
        }
      },
      "required": [
        "id",
        "status",
        "queued_at"
      ],
      "title": "InvitationDelivery",
      "type": "object"
    },
    "InvitationInput": {
      "additionalProperties": false,
      "properties": {
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "expires_in_hours": {
          "default": 24,
          "maximum": 168,
          "minimum": 1,
          "title": "Expires In Hours",
          "type": "integer"
        },
        "label": {
          "default": "",
          "maxLength": 120,
          "title": "Label",
          "type": "string"
        }
      },
      "required": [
        "role"
      ],
      "title": "InvitationInput",
      "type": "object"
    },
    "InvitationPreview": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "tenant_name": {
          "title": "Tenant Name",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Id"
        },
        "workspace_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Name"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "expires_at": {
          "title": "Expires At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "tenant_name",
        "workspace_id",
        "workspace_name",
        "role",
        "expires_at"
      ],
      "title": "InvitationPreview",
      "type": "object"
    },
    "InvitationReview": {
      "additionalProperties": true,
      "properties": {
        "action_reasons": {
          "additionalProperties": {
            "enum": [
              "closed",
              "cooldown",
              "send_limit",
              "delivery_outcome_unknown",
              "inviter_authority_lost",
              "origin_token_revoked",
              "origin_token_expired",
              "origin_scope_changed",
              "recipient_connection_changed"
            ],
            "type": "string"
          },
          "propertyNames": {
            "enum": [
              "accept",
              "resend"
            ]
          },
          "title": "Action Reasons",
          "type": "object"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "organization_name": {
          "title": "Organization Name",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Id"
        },
        "workspace_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Name"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "status": {
          "enum": [
            "pending",
            "accepted",
            "declined",
            "revoked",
            "expired"
          ],
          "title": "Status",
          "type": "string"
        },
        "can_accept": {
          "title": "Can Accept",
          "type": "boolean"
        },
        "can_decline": {
          "title": "Can Decline",
          "type": "boolean"
        },
        "binding": {
          "const": "directory_identity",
          "default": "directory_identity",
          "title": "Binding",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "organization_name",
        "workspace_id",
        "workspace_name",
        "role",
        "expires_at",
        "status",
        "can_accept",
        "can_decline"
      ],
      "title": "InvitationReview",
      "type": "object"
    },
    "InvitationToken": {
      "additionalProperties": false,
      "properties": {
        "token": {
          "format": "password",
          "title": "Token",
          "type": "string",
          "writeOnly": true
        }
      },
      "required": [
        "token"
      ],
      "title": "InvitationToken",
      "type": "object"
    },
    "Job": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "resource_id": {
          "title": "Resource Id",
          "type": "string"
        },
        "kind": {
          "title": "Kind",
          "type": "string"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "attempts": {
          "title": "Attempts",
          "type": "integer"
        },
        "max_attempts": {
          "title": "Max Attempts",
          "type": "integer"
        },
        "progress": {
          "title": "Progress",
          "type": "integer"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "result": {
          "anyOf": [
            {
              "additionalProperties": {
                "$ref": "#/$defs/JsonValue"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Result"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "title": "Updated At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "resource_id",
        "kind",
        "status",
        "attempts",
        "max_attempts",
        "progress",
        "created_at",
        "updated_at"
      ],
      "title": "Job",
      "type": "object"
    },
    "JsonValue": {},
    "KeycloakCredential": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "keycloak",
          "title": "Kind",
          "type": "string"
        },
        "secret": {
          "format": "password",
          "maxLength": 8192,
          "minLength": 1,
          "title": "Secret",
          "type": "string",
          "writeOnly": true
        },
        "directory_secret": {
          "anyOf": [
            {
              "format": "password",
              "maxLength": 8192,
              "minLength": 1,
              "type": "string",
              "writeOnly": true
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Directory Secret"
        }
      },
      "required": [
        "kind",
        "secret"
      ],
      "title": "KeycloakCredential",
      "type": "object"
    },
    "KeycloakProfileAttributes": {
      "additionalProperties": false,
      "properties": {
        "display_name": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Display Name"
        },
        "job_title": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Job Title"
        },
        "department": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Department"
        },
        "manager": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Manager"
        },
        "picture": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Picture"
        }
      },
      "title": "KeycloakProfileAttributes",
      "type": "object"
    },
    "KeycloakSettings": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "keycloak",
          "title": "Kind",
          "type": "string"
        },
        "issuer": {
          "maxLength": 2048,
          "title": "Issuer",
          "type": "string"
        },
        "client_id": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Client Id",
          "type": "string"
        },
        "directory_client_id": {
          "anyOf": [
            {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Directory Client Id"
        },
        "membership_mode": {
          "default": "direct",
          "enum": [
            "direct",
            "transitive"
          ],
          "title": "Membership Mode",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "issuer",
        "client_id"
      ],
      "title": "KeycloakSettings",
      "type": "object"
    },
    "KnowledgeActivityCounts": {
      "additionalProperties": true,
      "properties": {
        "created": {
          "$ref": "#/$defs/ObservedCount"
        },
        "updated": {
          "$ref": "#/$defs/ObservedCount"
        },
        "consulted": {
          "$ref": "#/$defs/ObservedCount"
        }
      },
      "required": [
        "created",
        "updated",
        "consulted"
      ],
      "title": "KnowledgeActivityCounts",
      "type": "object"
    },
    "KnowledgeCancellation": {
      "additionalProperties": true,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "KnowledgeCancellation",
      "type": "object"
    },
    "KnowledgeCommitReceipt": {
      "additionalProperties": true,
      "properties": {
        "operation_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Operation Id",
          "type": "string"
        },
        "intent_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Intent Id",
          "type": "string"
        },
        "intent_revision": {
          "minimum": 1,
          "title": "Intent Revision",
          "type": "integer"
        },
        "authorization_digest": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Authorization Digest",
          "type": "string"
        },
        "item_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Item Id",
          "type": "string"
        },
        "native_item_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Item Id",
          "type": "string"
        },
        "native_version_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Version Id",
          "type": "string"
        },
        "version": {
          "minimum": 1,
          "title": "Version",
          "type": "integer"
        },
        "serving_version": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Serving Version"
        },
        "action": {
          "enum": [
            "create_draft",
            "create_published",
            "update_draft",
            "update_published",
            "publish_draft"
          ],
          "title": "Action",
          "type": "string"
        },
        "content_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Content Sha256",
          "type": "string"
        },
        "evidence_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Evidence Sha256",
          "type": "string"
        },
        "committed_at": {
          "format": "date-time",
          "title": "Committed At",
          "type": "string"
        },
        "retrieval_state": {
          "enum": [
            "not_published",
            "lexical_ready",
            "indexing",
            "ready",
            "unavailable"
          ],
          "title": "Retrieval State",
          "type": "string"
        },
        "reason": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        }
      },
      "required": [
        "operation_id",
        "intent_id",
        "intent_revision",
        "authorization_digest",
        "item_id",
        "native_item_id",
        "native_version_id",
        "version",
        "action",
        "content_sha256",
        "evidence_sha256",
        "committed_at",
        "retrieval_state"
      ],
      "title": "KnowledgeCommitReceipt",
      "type": "object"
    },
    "KnowledgeConfirmation": {
      "additionalProperties": true,
      "properties": {
        "confirm": {
          "const": true,
          "title": "Confirm",
          "type": "boolean"
        },
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "authorization_digest": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Authorization Digest",
          "type": "string"
        },
        "include_remembered_context": {
          "default": false,
          "title": "Include Remembered Context",
          "type": "boolean"
        }
      },
      "required": [
        "confirm",
        "expected_revision",
        "authorization_digest"
      ],
      "title": "KnowledgeConfirmation",
      "type": "object"
    },
    "KnowledgeConnection": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "domain": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Domain",
          "type": "string"
        },
        "role": {
          "title": "Role",
          "type": "string"
        },
        "mode": {
          "enum": [
            "provider",
            "current_agent"
          ],
          "title": "Mode",
          "type": "string"
        },
        "provider_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "model_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Id"
        },
        "model_options": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Model Options",
          "type": "object"
        },
        "dimensions": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Dimensions"
        },
        "storage_dimensions": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Storage Dimensions"
        },
        "space_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Space Id"
        },
        "embedding_fingerprint": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Embedding Fingerprint"
        },
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "created_by": {
          "title": "Created By",
          "type": "string"
        },
        "updated_by": {
          "title": "Updated By",
          "type": "string"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "title": "Updated At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "domain",
        "role",
        "mode",
        "model_options",
        "enabled",
        "revision",
        "created_by",
        "updated_by",
        "created_at",
        "updated_at"
      ],
      "title": "KnowledgeConnection",
      "type": "object"
    },
    "KnowledgeConnectionInput": {
      "additionalProperties": false,
      "properties": {
        "domain": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Domain",
          "type": "string"
        },
        "role": {
          "title": "Role",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "mode": {
          "default": "provider",
          "enum": [
            "provider",
            "current_agent"
          ],
          "title": "Mode",
          "type": "string"
        },
        "provider_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "model_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Id"
        },
        "model_options": {
          "anyOf": [
            {
              "$ref": "#/$defs/ModelParameters"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "dimensions": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Dimensions"
        },
        "storage_dimensions": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Storage Dimensions"
        },
        "space_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Space Id"
        },
        "enabled": {
          "default": true,
          "title": "Enabled",
          "type": "boolean"
        },
        "expected_revision": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Revision"
        }
      },
      "required": [
        "domain",
        "role"
      ],
      "title": "KnowledgeConnectionInput",
      "type": "object"
    },
    "KnowledgeContent": {
      "additionalProperties": true,
      "properties": {
        "title": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Title",
          "type": "string"
        },
        "body": {
          "maxLength": 262144,
          "minLength": 1,
          "title": "Body",
          "type": "string"
        },
        "summary": {
          "anyOf": [
            {
              "maxLength": 4000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Summary"
        },
        "domain": {
          "default": "other",
          "enum": [
            "legal",
            "compliance",
            "process",
            "network",
            "ai_platform",
            "executive",
            "hr",
            "cto",
            "engineering",
            "security",
            "other"
          ],
          "title": "Domain",
          "type": "string"
        },
        "tags": {
          "default": [],
          "items": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 64,
          "title": "Tags",
          "type": "array"
        }
      },
      "required": [
        "title",
        "body"
      ],
      "title": "KnowledgeContent",
      "type": "object"
    },
    "KnowledgeDestination": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "project_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Project Id",
          "type": "string"
        },
        "name": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "ancestry_digest": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Ancestry Digest",
          "type": "string"
        }
      },
      "required": [
        "id",
        "workspace_id",
        "project_id",
        "name",
        "ancestry_digest"
      ],
      "title": "KnowledgeDestination",
      "type": "object"
    },
    "KnowledgeIndexView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "title": "Workspace Id",
          "type": "string"
        },
        "domain": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Domain",
          "type": "string"
        },
        "native_id": {
          "title": "Native Id",
          "type": "string"
        },
        "space_id": {
          "title": "Space Id",
          "type": "string"
        },
        "provider_kind": {
          "title": "Provider Kind",
          "type": "string"
        },
        "model_id": {
          "title": "Model Id",
          "type": "string"
        },
        "dimensions": {
          "title": "Dimensions",
          "type": "integer"
        },
        "storage_dimensions": {
          "title": "Storage Dimensions",
          "type": "integer"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "active": {
          "title": "Active",
          "type": "boolean"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "job_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Job Id"
        },
        "chunk_count": {
          "title": "Chunk Count",
          "type": "integer"
        },
        "vector_count": {
          "title": "Vector Count",
          "type": "integer"
        },
        "indexed": {
          "title": "Indexed",
          "type": "boolean"
        },
        "qualification": {
          "title": "Qualification",
          "type": "string"
        },
        "recovery_required": {
          "default": false,
          "title": "Recovery Required",
          "type": "boolean"
        },
        "native_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Native Status"
        },
        "provider_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "created_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created By"
        },
        "updated_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Updated By"
        },
        "previous_space_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Previous Space Id"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created At"
        },
        "ready_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Ready At"
        },
        "activated_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Activated At"
        },
        "retired_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Retired At"
        },
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error Code"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "workspace_id",
        "domain",
        "native_id",
        "space_id",
        "provider_kind",
        "model_id",
        "dimensions",
        "storage_dimensions",
        "status",
        "active",
        "revision",
        "chunk_count",
        "vector_count",
        "indexed",
        "qualification"
      ],
      "title": "KnowledgeIndexView",
      "type": "object"
    },
    "KnowledgeIntegerBounds": {
      "additionalProperties": false,
      "properties": {
        "minimum": {
          "title": "Minimum",
          "type": "integer"
        },
        "maximum": {
          "title": "Maximum",
          "type": "integer"
        }
      },
      "required": [
        "minimum",
        "maximum"
      ],
      "title": "KnowledgeIntegerBounds",
      "type": "object"
    },
    "KnowledgeIntent": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "revision": {
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "owner_subject": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Owner Subject",
          "type": "string"
        },
        "action": {
          "enum": [
            "create_draft",
            "create_published",
            "update_draft",
            "update_published",
            "publish_draft"
          ],
          "title": "Action",
          "type": "string"
        },
        "destination": {
          "$ref": "#/$defs/KnowledgeDestination"
        },
        "target_item_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Target Item Id",
          "type": "string"
        },
        "expected_version": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Version"
        },
        "before": {
          "anyOf": [
            {
              "$ref": "#/$defs/KnowledgeContent"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "after": {
          "$ref": "#/$defs/KnowledgeContent"
        },
        "evidence": {
          "items": {
            "discriminator": {
              "mapping": {
                "document_passage": "#/$defs/DocumentEvidence",
                "external_proposal": "#/$defs/ExternalProposalEvidence",
                "structured_snapshot": "#/$defs/StructuredEvidence",
                "user_statement": "#/$defs/UserStatementEvidence"
              },
              "propertyName": "kind"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/UserStatementEvidence"
              },
              {
                "$ref": "#/$defs/DocumentEvidence"
              },
              {
                "$ref": "#/$defs/StructuredEvidence"
              },
              {
                "$ref": "#/$defs/ExternalProposalEvidence"
              }
            ]
          },
          "maxItems": 500,
          "minItems": 1,
          "title": "Evidence",
          "type": "array"
        },
        "authorization_digest": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Authorization Digest",
          "type": "string"
        },
        "remembered_context_present": {
          "default": false,
          "title": "Remembered Context Present",
          "type": "boolean"
        },
        "status": {
          "enum": [
            "preview",
            "committing",
            "committed",
            "cancelled",
            "stale",
            "unresolved"
          ],
          "title": "Status",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "receipt": {
          "anyOf": [
            {
              "$ref": "#/$defs/KnowledgeCommitReceipt"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "revision",
        "tenant_id",
        "owner_subject",
        "action",
        "destination",
        "target_item_id",
        "after",
        "evidence",
        "authorization_digest",
        "status",
        "created_at",
        "expires_at"
      ],
      "title": "KnowledgeIntent",
      "type": "object"
    },
    "KnowledgeIntentInput": {
      "additionalProperties": true,
      "properties": {
        "action": {
          "enum": [
            "create_draft",
            "create_published",
            "update_draft",
            "update_published",
            "publish_draft"
          ],
          "title": "Action",
          "type": "string"
        },
        "destination_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Destination Id",
          "type": "string"
        },
        "target_item_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Target Item Id"
        },
        "expected_version": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Version"
        },
        "content": {
          "$ref": "#/$defs/KnowledgeContent"
        },
        "include_remembered_context": {
          "default": false,
          "title": "Include Remembered Context",
          "type": "boolean"
        },
        "origin": {
          "discriminator": {
            "mapping": {
              "conversation": "#/$defs/ConversationOrigin",
              "external_proposal": "#/$defs/ExternalProposalOrigin",
              "user_statement": "#/$defs/UserStatementOrigin"
            },
            "propertyName": "kind"
          },
          "oneOf": [
            {
              "$ref": "#/$defs/UserStatementOrigin"
            },
            {
              "$ref": "#/$defs/ConversationOrigin"
            },
            {
              "$ref": "#/$defs/ExternalProposalOrigin"
            }
          ],
          "title": "Origin"
        }
      },
      "required": [
        "action",
        "destination_id",
        "content",
        "origin"
      ],
      "title": "KnowledgeIntentInput",
      "type": "object"
    },
    "KnowledgeItemPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/KnowledgeItemSummary"
          },
          "maxItems": 100,
          "title": "Items",
          "type": "array"
        },
        "total": {
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous"
      ],
      "title": "KnowledgeItemPage",
      "type": "object"
    },
    "KnowledgeItemSummary": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "project_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Project Id",
          "type": "string"
        },
        "destination_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Destination Id",
          "type": "string"
        },
        "title": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Title",
          "type": "string"
        },
        "summary": {
          "maxLength": 4000,
          "title": "Summary",
          "type": "string"
        },
        "head_version": {
          "minimum": 1,
          "title": "Head Version",
          "type": "integer"
        },
        "serving_version": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Serving Version"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "workspace_id",
        "project_id",
        "destination_id",
        "title",
        "summary",
        "head_version"
      ],
      "title": "KnowledgeItemSummary",
      "type": "object"
    },
    "KnowledgeItemView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "project_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Project Id",
          "type": "string"
        },
        "destination_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Destination Id",
          "type": "string"
        },
        "head_version": {
          "minimum": 1,
          "title": "Head Version",
          "type": "integer"
        },
        "serving_version": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Serving Version"
        },
        "selected_version": {
          "$ref": "#/$defs/KnowledgeVersionView"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "workspace_id",
        "project_id",
        "destination_id",
        "head_version",
        "selected_version"
      ],
      "title": "KnowledgeItemView",
      "type": "object"
    },
    "KnowledgeNumberBounds": {
      "additionalProperties": false,
      "properties": {
        "minimum": {
          "title": "Minimum",
          "type": "number"
        },
        "maximum": {
          "title": "Maximum",
          "type": "number"
        }
      },
      "required": [
        "minimum",
        "maximum"
      ],
      "title": "KnowledgeNumberBounds",
      "type": "object"
    },
    "KnowledgePolicyValue": {
      "additionalProperties": false,
      "properties": {},
      "title": "KnowledgePolicyValue",
      "type": "object"
    },
    "KnowledgeProvider": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "kind": {
          "enum": [
            "ollama",
            "openai",
            "anthropic"
          ],
          "title": "Kind",
          "type": "string"
        },
        "api": {
          "anyOf": [
            {
              "enum": [
                "chat",
                "responses",
                "messages"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Api"
        },
        "model_ids": {
          "items": {
            "type": "string"
          },
          "title": "Model Ids",
          "type": "array"
        },
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "name",
        "kind",
        "model_ids",
        "enabled"
      ],
      "title": "KnowledgeProvider",
      "type": "object"
    },
    "KnowledgeRole": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "domain": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Domain",
          "type": "string"
        },
        "label": {
          "title": "Label",
          "type": "string"
        },
        "kind": {
          "enum": [
            "embedding",
            "generative"
          ],
          "title": "Kind",
          "type": "string"
        },
        "purposes": {
          "items": {
            "type": "string"
          },
          "title": "Purposes",
          "type": "array"
        },
        "supports_current_agent": {
          "title": "Supports Current Agent",
          "type": "boolean"
        },
        "compatible_index_required": {
          "title": "Compatible Index Required",
          "type": "boolean"
        },
        "assignment": {
          "anyOf": [
            {
              "enum": [
                "tenant",
                "workspace"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Assignment"
        },
        "status": {
          "enum": [
            "needs_setup",
            "assigned",
            "disabled"
          ],
          "title": "Status",
          "type": "string"
        },
        "runtime_qualification": {
          "const": "not_run",
          "title": "Runtime Qualification",
          "type": "string"
        }
      },
      "required": [
        "id",
        "domain",
        "label",
        "kind",
        "purposes",
        "supports_current_agent",
        "compatible_index_required",
        "status",
        "runtime_qualification"
      ],
      "title": "KnowledgeRole",
      "type": "object"
    },
    "KnowledgeRoles": {
      "additionalProperties": true,
      "properties": {
        "roles": {
          "items": {
            "$ref": "#/$defs/KnowledgeRole"
          },
          "title": "Roles",
          "type": "array"
        },
        "model_options_schema": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Model Options Schema",
          "type": "object"
        },
        "providers": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/KnowledgeProvider"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Providers"
        }
      },
      "required": [
        "roles"
      ],
      "title": "KnowledgeRoles",
      "type": "object"
    },
    "KnowledgeScope": {
      "additionalProperties": true,
      "properties": {
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "project_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Project Id"
        },
        "collection_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Collection Id"
        },
        "asset_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Asset Ids"
        }
      },
      "title": "KnowledgeScope",
      "type": "object"
    },
    "KnowledgeVersionView": {
      "additionalProperties": true,
      "properties": {
        "item_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Item Id",
          "type": "string"
        },
        "version": {
          "minimum": 1,
          "title": "Version",
          "type": "integer"
        },
        "version_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Version Id",
          "type": "string"
        },
        "publication": {
          "enum": [
            "draft",
            "published"
          ],
          "title": "Publication",
          "type": "string"
        },
        "serving": {
          "title": "Serving",
          "type": "boolean"
        },
        "content": {
          "$ref": "#/$defs/KnowledgeContent"
        },
        "evidence": {
          "items": {
            "discriminator": {
              "mapping": {
                "document_passage": "#/$defs/DocumentEvidence",
                "external_proposal": "#/$defs/ExternalProposalEvidence",
                "structured_snapshot": "#/$defs/StructuredEvidence",
                "user_statement": "#/$defs/UserStatementEvidence"
              },
              "propertyName": "kind"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/UserStatementEvidence"
              },
              {
                "$ref": "#/$defs/DocumentEvidence"
              },
              {
                "$ref": "#/$defs/StructuredEvidence"
              },
              {
                "$ref": "#/$defs/ExternalProposalEvidence"
              }
            ]
          },
          "maxItems": 500,
          "minItems": 1,
          "title": "Evidence",
          "type": "array"
        },
        "content_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Content Sha256",
          "type": "string"
        },
        "evidence_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Evidence Sha256",
          "type": "string"
        },
        "operation_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Operation Id",
          "type": "string"
        },
        "author_subject": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Author Subject",
          "type": "string"
        },
        "committed_at": {
          "format": "date-time",
          "title": "Committed At",
          "type": "string"
        }
      },
      "required": [
        "item_id",
        "version",
        "version_id",
        "publication",
        "serving",
        "content",
        "evidence",
        "content_sha256",
        "evidence_sha256",
        "operation_id",
        "author_subject",
        "committed_at"
      ],
      "title": "KnowledgeVersionView",
      "type": "object"
    },
    "Lineage": {
      "additionalProperties": true,
      "properties": {
        "nodes": {
          "items": {
            "$ref": "#/$defs/LineageNode"
          },
          "title": "Nodes",
          "type": "array"
        },
        "edges": {
          "items": {
            "$ref": "#/$defs/LineageEdge"
          },
          "title": "Edges",
          "type": "array"
        }
      },
      "required": [
        "nodes",
        "edges"
      ],
      "title": "Lineage",
      "type": "object"
    },
    "LineageEdge": {
      "additionalProperties": true,
      "properties": {
        "source": {
          "title": "Source",
          "type": "string"
        },
        "target": {
          "title": "Target",
          "type": "string"
        },
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Label"
        }
      },
      "required": [
        "source",
        "target"
      ],
      "title": "LineageEdge",
      "type": "object"
    },
    "LineageNode": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "label": {
          "title": "Label",
          "type": "string"
        },
        "kind": {
          "title": "Kind",
          "type": "string"
        }
      },
      "required": [
        "id",
        "label",
        "kind"
      ],
      "title": "LineageNode",
      "type": "object"
    },
    "McpActivityCounts": {
      "additionalProperties": true,
      "properties": {
        "requests": {
          "$ref": "#/$defs/ObservedCount"
        },
        "tool_calls": {
          "$ref": "#/$defs/ObservedCount"
        },
        "succeeded": {
          "$ref": "#/$defs/ObservedCount"
        },
        "failed": {
          "$ref": "#/$defs/ObservedCount"
        },
        "rejected": {
          "$ref": "#/$defs/ObservedCount"
        },
        "average_duration_ms": {
          "$ref": "#/$defs/ObservedCount"
        },
        "p95_duration_ms": {
          "$ref": "#/$defs/ObservedCount"
        },
        "tool_cancelled": {
          "$ref": "#/$defs/ObservedCount"
        },
        "request_succeeded": {
          "$ref": "#/$defs/ObservedCount"
        },
        "request_failed": {
          "$ref": "#/$defs/ObservedCount"
        },
        "request_rejected": {
          "$ref": "#/$defs/ObservedCount"
        },
        "request_cancelled": {
          "$ref": "#/$defs/ObservedCount"
        }
      },
      "required": [
        "requests",
        "tool_calls",
        "succeeded",
        "failed",
        "rejected",
        "average_duration_ms",
        "p95_duration_ms"
      ],
      "title": "McpActivityCounts",
      "type": "object"
    },
    "McpConnectionDescriptor": {
      "additionalProperties": true,
      "properties": {
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        },
        "local_only": {
          "default": false,
          "title": "Local Only",
          "type": "boolean"
        },
        "endpoint": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Endpoint"
        },
        "transport": {
          "const": "streamable-http",
          "default": "streamable-http",
          "title": "Transport",
          "type": "string"
        },
        "authentication": {
          "items": {
            "enum": [
              "personal_token",
              "oauth"
            ],
            "type": "string"
          },
          "title": "Authentication",
          "type": "array"
        },
        "clients": {
          "default": [],
          "items": {
            "$ref": "#/$defs/McpRegisteredClient"
          },
          "title": "Clients",
          "type": "array"
        },
        "oauth_enabled": {
          "title": "Oauth Enabled",
          "type": "boolean"
        },
        "oauth_registration": {
          "anyOf": [
            {
              "const": "pre_registered",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Oauth Registration"
        },
        "supported_scopes": {
          "items": {
            "type": "string"
          },
          "title": "Supported Scopes",
          "type": "array"
        },
        "tools": {
          "items": {
            "$ref": "#/$defs/McpToolCapability"
          },
          "title": "Tools",
          "type": "array"
        },
        "review": {
          "$ref": "#/$defs/McpReviewSupport"
        },
        "client_acceptance": {
          "const": "not_verified",
          "default": "not_verified",
          "title": "Client Acceptance",
          "type": "string"
        }
      },
      "required": [
        "enabled",
        "endpoint",
        "authentication",
        "oauth_enabled",
        "oauth_registration",
        "supported_scopes",
        "tools",
        "review"
      ],
      "title": "McpConnectionDescriptor",
      "type": "object"
    },
    "McpOAuthClient": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "maxLength": 120,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "redirect_uris": {
          "items": {
            "type": "string"
          },
          "maxItems": 8,
          "minItems": 1,
          "title": "Redirect Uris",
          "type": "array"
        },
        "scopes": {
          "items": {
            "enum": [
              "catalog:read",
              "catalog:write",
              "ingest:write",
              "knowledge:search",
              "query:execute",
              "chat:use",
              "evidence:read",
              "activity:read"
            ],
            "type": "string"
          },
          "maxItems": 8,
          "minItems": 1,
          "title": "Scopes",
          "type": "array"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "client_id": {
          "title": "Client Id",
          "type": "string"
        },
        "client_type": {
          "enum": [
            "public",
            "confidential"
          ],
          "title": "Client Type",
          "type": "string"
        },
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "created_by": {
          "title": "Created By",
          "type": "string"
        },
        "updated_by": {
          "title": "Updated By",
          "type": "string"
        }
      },
      "required": [
        "name",
        "redirect_uris",
        "scopes",
        "id",
        "tenant_id",
        "client_id",
        "client_type",
        "enabled",
        "revision",
        "created_at",
        "updated_at",
        "created_by",
        "updated_by"
      ],
      "title": "McpOAuthClient",
      "type": "object"
    },
    "McpOAuthClientCredential": {
      "additionalProperties": false,
      "properties": {
        "client": {
          "$ref": "#/$defs/McpOAuthClient"
        },
        "client_secret": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Client Secret"
        }
      },
      "required": [
        "client"
      ],
      "title": "McpOAuthClientCredential",
      "type": "object"
    },
    "McpOAuthClientInput": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "maxLength": 120,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "redirect_uris": {
          "items": {
            "type": "string"
          },
          "maxItems": 8,
          "minItems": 1,
          "title": "Redirect Uris",
          "type": "array"
        },
        "scopes": {
          "items": {
            "enum": [
              "catalog:read",
              "catalog:write",
              "ingest:write",
              "knowledge:search",
              "query:execute",
              "chat:use",
              "evidence:read",
              "activity:read"
            ],
            "type": "string"
          },
          "maxItems": 8,
          "minItems": 1,
          "title": "Scopes",
          "type": "array"
        },
        "client_type": {
          "enum": [
            "public",
            "confidential"
          ],
          "title": "Client Type",
          "type": "string"
        }
      },
      "required": [
        "name",
        "redirect_uris",
        "scopes",
        "client_type"
      ],
      "title": "McpOAuthClientInput",
      "type": "object"
    },
    "McpOAuthClientPage": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/McpOAuthClient"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "McpOAuthClientPage",
      "type": "object"
    },
    "McpOAuthClientPatch": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "name": {
          "anyOf": [
            {
              "maxLength": 120,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "redirect_uris": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "maxItems": 8,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Redirect Uris"
        },
        "scopes": {
          "anyOf": [
            {
              "items": {
                "enum": [
                  "catalog:read",
                  "catalog:write",
                  "ingest:write",
                  "knowledge:search",
                  "query:execute",
                  "chat:use",
                  "evidence:read",
                  "activity:read"
                ],
                "type": "string"
              },
              "maxItems": 8,
              "minItems": 1,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Scopes"
        },
        "enabled": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Enabled"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "McpOAuthClientPatch",
      "type": "object"
    },
    "McpOAuthClientReadiness": {
      "additionalProperties": false,
      "properties": {
        "ready": {
          "title": "Ready",
          "type": "boolean"
        },
        "endpoint_enabled": {
          "title": "Endpoint Enabled",
          "type": "boolean"
        },
        "oauth_enabled": {
          "title": "Oauth Enabled",
          "type": "boolean"
        },
        "encryption_configured": {
          "title": "Encryption Configured",
          "type": "boolean"
        },
        "missing_configuration": {
          "items": {
            "enum": [
              "mcp_endpoint",
              "oauth_enabled",
              "oauth_encryption_key"
            ],
            "type": "string"
          },
          "title": "Missing Configuration",
          "type": "array"
        },
        "static_clients_read_only": {
          "default": true,
          "title": "Static Clients Read Only",
          "type": "boolean"
        }
      },
      "required": [
        "ready",
        "endpoint_enabled",
        "oauth_enabled",
        "encryption_configured",
        "missing_configuration"
      ],
      "title": "McpOAuthClientReadiness",
      "type": "object"
    },
    "McpOAuthClientRevision": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "McpOAuthClientRevision",
      "type": "object"
    },
    "McpOAuthClientValues": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "maxLength": 120,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "redirect_uris": {
          "items": {
            "type": "string"
          },
          "maxItems": 8,
          "minItems": 1,
          "title": "Redirect Uris",
          "type": "array"
        },
        "scopes": {
          "items": {
            "enum": [
              "catalog:read",
              "catalog:write",
              "ingest:write",
              "knowledge:search",
              "query:execute",
              "chat:use",
              "evidence:read",
              "activity:read"
            ],
            "type": "string"
          },
          "maxItems": 8,
          "minItems": 1,
          "title": "Scopes",
          "type": "array"
        }
      },
      "required": [
        "name",
        "redirect_uris",
        "scopes"
      ],
      "title": "McpOAuthClientValues",
      "type": "object"
    },
    "McpReadReceipt": {
      "additionalProperties": true,
      "properties": {
        "status": {
          "enum": [
            "recorded",
            "not_recorded"
          ],
          "title": "Status",
          "type": "string"
        },
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Id"
        },
        "sha256": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sha256"
        },
        "expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expires At"
        },
        "sources": {
          "default": [],
          "items": {
            "$ref": "#/$defs/SourceReference"
          },
          "maxItems": 64,
          "title": "Sources",
          "type": "array"
        },
        "reason": {
          "anyOf": [
            {
              "enum": [
                "incomplete_or_unsupported_source_manifest",
                "source_manifest_limit_or_missing_revision",
                "receipt_byte_limit",
                "active_receipt_limit",
                "source_reuse_scope_required",
                "capture_unavailable",
                "transitive_lineage_unqualified",
                "catalog_is_not_source_evidence"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        }
      },
      "required": [
        "status"
      ],
      "title": "McpReadReceipt",
      "type": "object"
    },
    "McpRegisteredClient": {
      "additionalProperties": true,
      "properties": {
        "client_id": {
          "title": "Client Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "scopes": {
          "items": {
            "type": "string"
          },
          "title": "Scopes",
          "type": "array"
        },
        "client_auth": {
          "enum": [
            "public",
            "confidential"
          ],
          "title": "Client Auth",
          "type": "string"
        }
      },
      "required": [
        "client_id",
        "name",
        "scopes",
        "client_auth"
      ],
      "title": "McpRegisteredClient",
      "type": "object"
    },
    "McpReviewSupport": {
      "additionalProperties": true,
      "properties": {
        "supported": {
          "title": "Supported",
          "type": "boolean"
        },
        "mechanism": {
          "const": "mcp_apps",
          "default": "mcp_apps",
          "title": "Mechanism",
          "type": "string"
        },
        "resource_uri": {
          "const": "ui://koinon/knowledge-review",
          "default": "ui://koinon/knowledge-review",
          "title": "Resource Uri",
          "type": "string"
        },
        "mime_type": {
          "const": "text/html;profile=mcp-app",
          "default": "text/html;profile=mcp-app",
          "title": "Mime Type",
          "type": "string"
        },
        "external_redirect": {
          "const": false,
          "default": false,
          "title": "External Redirect",
          "type": "boolean"
        },
        "client_support": {
          "const": "not_observed",
          "default": "not_observed",
          "title": "Client Support",
          "type": "string"
        }
      },
      "required": [
        "supported"
      ],
      "title": "McpReviewSupport",
      "type": "object"
    },
    "McpToolCapability": {
      "additionalProperties": true,
      "properties": {
        "name": {
          "title": "Name",
          "type": "string"
        },
        "required_scopes": {
          "items": {
            "type": "string"
          },
          "title": "Required Scopes",
          "type": "array"
        },
        "access": {
          "enum": [
            "read",
            "query",
            "proposal",
            "app_only"
          ],
          "title": "Access",
          "type": "string"
        },
        "requires_app": {
          "default": false,
          "title": "Requires App",
          "type": "boolean"
        }
      },
      "required": [
        "name",
        "required_scopes",
        "access"
      ],
      "title": "McpToolCapability",
      "type": "object"
    },
    "MemberInput": {
      "additionalProperties": false,
      "properties": {
        "subject": {
          "title": "Subject",
          "type": "string"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        }
      },
      "required": [
        "subject",
        "role"
      ],
      "title": "MemberInput",
      "type": "object"
    },
    "MemberUpdate": {
      "additionalProperties": false,
      "properties": {
        "role": {
          "anyOf": [
            {
              "enum": [
                "viewer",
                "analyst",
                "editor",
                "operator",
                "admin"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Role"
        },
        "active": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Active"
        }
      },
      "title": "MemberUpdate",
      "type": "object"
    },
    "Membership": {
      "additionalProperties": true,
      "properties": {
        "managed": {
          "default": false,
          "title": "Managed",
          "type": "boolean"
        },
        "origin": {
          "default": "manual",
          "enum": [
            "manual",
            "corporate"
          ],
          "title": "Origin",
          "type": "string"
        },
        "source_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Id"
        },
        "source_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Name"
        },
        "expires_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expires At"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "subject": {
          "title": "Subject",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "role": {
          "enum": [
            "viewer",
            "analyst",
            "editor",
            "operator",
            "admin"
          ],
          "title": "Role",
          "type": "string"
        },
        "active": {
          "title": "Active",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "subject",
        "tenant_id",
        "role",
        "active"
      ],
      "title": "Membership",
      "type": "object"
    },
    "MemoryReceipt": {
      "additionalProperties": true,
      "properties": {
        "validation_mode": {
          "default": "generation",
          "enum": [
            "generation",
            "historical_replay"
          ],
          "title": "Validation Mode",
          "type": "string"
        },
        "generation_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Generation Id",
          "type": "string"
        },
        "policy_version": {
          "const": 1,
          "default": 1,
          "title": "Policy Version",
          "type": "integer"
        },
        "mode": {
          "enum": [
            "current_thread",
            "personal_project"
          ],
          "title": "Mode",
          "type": "string"
        },
        "folder_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Folder Id"
        },
        "folder_revision": {
          "anyOf": [
            {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Folder Revision"
        },
        "scope_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Scope Sha256",
          "type": "string"
        },
        "manifest_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Manifest Sha256",
          "type": "string"
        },
        "organization_policy_revision": {
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Organization Policy Revision",
          "type": "integer"
        },
        "effective_policy": {
          "$ref": "#/$defs/OrganizationMemoryPolicy"
        },
        "turns": {
          "default": [],
          "items": {
            "$ref": "#/$defs/MemoryTurnReference"
          },
          "maxItems": 20,
          "title": "Turns",
          "type": "array"
        },
        "dependency_count": {
          "maximum": 128,
          "minimum": 0,
          "title": "Dependency Count",
          "type": "integer"
        },
        "context_available": {
          "default": true,
          "title": "Context Available",
          "type": "boolean"
        },
        "unavailable_dependency_count": {
          "default": 0,
          "maximum": 128,
          "minimum": 0,
          "title": "Unavailable Dependency Count",
          "type": "integer"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        }
      },
      "required": [
        "generation_id",
        "mode",
        "scope_sha256",
        "manifest_sha256",
        "organization_policy_revision",
        "effective_policy",
        "dependency_count",
        "created_at"
      ],
      "title": "MemoryReceipt",
      "type": "object"
    },
    "MemoryTurnReference": {
      "additionalProperties": true,
      "properties": {
        "run_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Run Id",
          "type": "string"
        },
        "generation_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Generation Id"
        },
        "thread_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Thread Id",
          "type": "string"
        },
        "conversation_title": {
          "maxLength": 160,
          "minLength": 1,
          "title": "Conversation Title",
          "type": "string"
        },
        "user_created_at": {
          "format": "date-time",
          "title": "User Created At",
          "type": "string"
        },
        "user_message_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "User Message Id",
          "type": "string"
        },
        "user_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "User Sha256",
          "type": "string"
        },
        "answer_message_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Answer Message Id",
          "type": "string"
        },
        "answer_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Answer Sha256",
          "type": "string"
        },
        "answer_included": {
          "default": false,
          "title": "Answer Included",
          "type": "boolean"
        },
        "availability": {
          "default": "available",
          "enum": [
            "available",
            "archived",
            "deleted",
            "moved",
            "memory_disabled",
            "changed",
            "unverified"
          ],
          "title": "Availability",
          "type": "string"
        }
      },
      "required": [
        "run_id",
        "thread_id",
        "conversation_title",
        "user_created_at",
        "user_message_id",
        "user_sha256",
        "answer_message_id",
        "answer_sha256"
      ],
      "title": "MemoryTurnReference",
      "type": "object"
    },
    "MemoryValue": {
      "additionalProperties": true,
      "properties": {},
      "title": "MemoryValue",
      "type": "object"
    },
    "MessageSelection": {
      "additionalProperties": false,
      "properties": {
        "thread_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Thread Id",
          "type": "string"
        },
        "message_ids": {
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 200,
          "minItems": 1,
          "title": "Message Ids",
          "type": "array"
        }
      },
      "required": [
        "thread_id",
        "message_ids"
      ],
      "title": "MessageSelection",
      "type": "object"
    },
    "MetricsObservation": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "observed_at": {
          "title": "Observed At",
          "type": "string"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        },
        "exporter_configured": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Exporter Configured"
        },
        "names": {
          "items": {
            "type": "string"
          },
          "title": "Names",
          "type": "array"
        }
      },
      "required": [
        "configured",
        "available",
        "status",
        "observed_at",
        "reason"
      ],
      "title": "MetricsObservation",
      "type": "object"
    },
    "ModelActivityCounts": {
      "additionalProperties": true,
      "properties": {
        "input_tokens": {
          "$ref": "#/$defs/ObservedCount"
        },
        "output_tokens": {
          "$ref": "#/$defs/ObservedCount"
        },
        "embedding_tokens": {
          "$ref": "#/$defs/ObservedCount"
        },
        "cost": {
          "$ref": "#/$defs/ObservedCost"
        },
        "external_client_consumption": {
          "const": "not_observed",
          "default": "not_observed",
          "title": "External Client Consumption",
          "type": "string"
        }
      },
      "required": [
        "input_tokens",
        "output_tokens",
        "embedding_tokens",
        "cost"
      ],
      "title": "ModelActivityCounts",
      "type": "object"
    },
    "ModelCapability": {
      "additionalProperties": true,
      "properties": {
        "image_input": {
          "$ref": "#/$defs/CapabilityState"
        },
        "audio_input": {
          "$ref": "#/$defs/CapabilityState"
        },
        "option_fields": {
          "items": {
            "type": "string"
          },
          "title": "Option Fields",
          "type": "array"
        },
        "model_id": {
          "title": "Model Id",
          "type": "string"
        },
        "chat": {
          "$ref": "#/$defs/CapabilityState"
        },
        "streaming": {
          "$ref": "#/$defs/CapabilityState"
        },
        "tools": {
          "$ref": "#/$defs/CapabilityState"
        },
        "observed_tools": {
          "items": {
            "type": "string"
          },
          "title": "Observed Tools",
          "type": "array"
        }
      },
      "required": [
        "model_id",
        "chat",
        "streaming",
        "tools"
      ],
      "title": "ModelCapability",
      "type": "object"
    },
    "ModelConnection": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "ownership": {
          "const": "deployment",
          "title": "Ownership",
          "type": "string"
        },
        "read_only": {
          "const": true,
          "title": "Read Only",
          "type": "boolean"
        },
        "provider": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider"
        },
        "model_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Id"
        },
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "needs_setup",
            "unverified"
          ],
          "title": "Status",
          "type": "string"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        }
      },
      "required": [
        "id",
        "ownership",
        "read_only",
        "configured",
        "available",
        "status",
        "reason"
      ],
      "title": "ModelConnection",
      "type": "object"
    },
    "ModelParameters": {
      "additionalProperties": false,
      "properties": {
        "output_mode": {
          "anyOf": [
            {
              "enum": [
                "default",
                "native"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Output Mode"
        },
        "max_tokens": {
          "default": 4096,
          "maximum": 16384,
          "minimum": 64,
          "title": "Max Tokens",
          "type": "integer"
        },
        "temperature": {
          "anyOf": [
            {
              "maximum": 2,
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Temperature"
        },
        "top_p": {
          "anyOf": [
            {
              "maximum": 1,
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Top P"
        },
        "top_k": {
          "anyOf": [
            {
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Top K"
        },
        "seed": {
          "anyOf": [
            {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Seed"
        },
        "stop_sequences": {
          "anyOf": [
            {
              "items": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 8,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Stop Sequences"
        },
        "request_timeout": {
          "anyOf": [
            {
              "maximum": 120,
              "minimum": 0.1,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Request Timeout"
        },
        "reasoning": {
          "anyOf": [
            {
              "enum": [
                "none",
                "minimal",
                "low",
                "medium",
                "high",
                "xhigh"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reasoning"
        },
        "reasoning_budget_tokens": {
          "anyOf": [
            {
              "maximum": 16000,
              "minimum": 1024,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reasoning Budget Tokens"
        },
        "parallel_tool_calls": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parallel Tool Calls"
        },
        "store_responses": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Store Responses"
        },
        "output_verbosity": {
          "anyOf": [
            {
              "enum": [
                "low",
                "medium",
                "high"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Output Verbosity"
        }
      },
      "title": "ModelParameters",
      "type": "object"
    },
    "ModelProvider": {
      "additionalProperties": true,
      "properties": {
        "native_adapter": {
          "anyOf": [
            {
              "$ref": "#/$defs/NativeAdapter"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "api": {
          "anyOf": [
            {
              "enum": [
                "chat",
                "responses",
                "messages"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Api"
        },
        "model_class": {
          "anyOf": [
            {
              "enum": [
                "OpenAIChatModel",
                "OpenAIResponsesModel",
                "AnthropicModel"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Class"
        },
        "configured": {
          "default": false,
          "title": "Configured",
          "type": "boolean"
        },
        "connected": {
          "default": false,
          "title": "Connected",
          "type": "boolean"
        },
        "discovered": {
          "default": false,
          "title": "Discovered",
          "type": "boolean"
        },
        "model_capabilities": {
          "items": {
            "$ref": "#/$defs/ModelCapability"
          },
          "title": "Model Capabilities",
          "type": "array"
        },
        "configuration_ownership": {
          "const": "tenant",
          "default": "tenant",
          "title": "Configuration Ownership",
          "type": "string"
        },
        "credential_ownership": {
          "default": "none",
          "enum": [
            "tenant",
            "none"
          ],
          "title": "Credential Ownership",
          "type": "string"
        },
        "ambient_credentials": {
          "const": false,
          "default": false,
          "title": "Ambient Credentials",
          "type": "boolean"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "kind": {
          "enum": [
            "ollama",
            "openai",
            "anthropic"
          ],
          "title": "Kind",
          "type": "string"
        },
        "base_url": {
          "title": "Base Url",
          "type": "string"
        },
        "model_ids": {
          "items": {
            "type": "string"
          },
          "title": "Model Ids",
          "type": "array"
        },
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "secret_configured": {
          "title": "Secret Configured",
          "type": "boolean"
        },
        "validated": {
          "title": "Validated",
          "type": "boolean"
        },
        "checks": {
          "items": {
            "$ref": "#/$defs/SetupCheck"
          },
          "title": "Checks",
          "type": "array"
        }
      },
      "required": [
        "id",
        "name",
        "kind",
        "base_url",
        "model_ids",
        "enabled",
        "revision",
        "secret_configured",
        "validated",
        "checks"
      ],
      "title": "ModelProvider",
      "type": "object"
    },
    "NativeAdapter": {
      "additionalProperties": true,
      "properties": {
        "ownership": {
          "const": "deployment",
          "title": "Ownership",
          "type": "string"
        },
        "read_only": {
          "const": true,
          "title": "Read Only",
          "type": "boolean"
        },
        "model_class": {
          "title": "Model Class",
          "type": "string"
        },
        "provider_identity": {
          "title": "Provider Identity",
          "type": "string"
        },
        "profile_status": {
          "const": "unverified",
          "title": "Profile Status",
          "type": "string"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        }
      },
      "required": [
        "ownership",
        "read_only",
        "model_class",
        "provider_identity",
        "profile_status",
        "reason"
      ],
      "title": "NativeAdapter",
      "type": "object"
    },
    "NativeIndexChoice": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "title": "Workspace Id",
          "type": "string"
        },
        "domain": {
          "enum": [
            "documents",
            "structured"
          ],
          "title": "Domain",
          "type": "string"
        },
        "native_id": {
          "title": "Native Id",
          "type": "string"
        },
        "space_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Space Id"
        },
        "provider_kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Provider Kind"
        },
        "model_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Model Id"
        },
        "dimensions": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Dimensions"
        },
        "storage_dimensions": {
          "title": "Storage Dimensions",
          "type": "integer"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "active": {
          "title": "Active",
          "type": "boolean"
        },
        "chunk_count": {
          "title": "Chunk Count",
          "type": "integer"
        },
        "vector_count": {
          "title": "Vector Count",
          "type": "integer"
        },
        "indexed": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Indexed"
        },
        "qualification": {
          "title": "Qualification",
          "type": "string"
        },
        "managed_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Managed Id"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Created At"
        },
        "ready_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Ready At"
        },
        "activated_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Activated At"
        },
        "retired_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Retired At"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "workspace_id",
        "domain",
        "native_id",
        "space_id",
        "provider_kind",
        "model_id",
        "dimensions",
        "storage_dimensions",
        "status",
        "active",
        "chunk_count",
        "vector_count",
        "indexed",
        "qualification"
      ],
      "title": "NativeIndexChoice",
      "type": "object"
    },
    "NativeIndexPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/NativeIndexChoice"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "limit": {
          "title": "Limit",
          "type": "integer"
        },
        "offset": {
          "title": "Offset",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "limit",
        "offset"
      ],
      "title": "NativeIndexPage",
      "type": "object"
    },
    "NativeReadOrigin": {
      "additionalProperties": true,
      "properties": {
        "original_filename": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Original Filename"
        },
        "sheet_or_json_path": {
          "anyOf": [
            {
              "maxLength": 1024,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sheet Or Json Path"
        },
        "connection_id": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Connection Id"
        },
        "connection_name": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Connection Name"
        },
        "database": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Database"
        },
        "schema": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Schema"
        },
        "table": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Table"
        }
      },
      "title": "NativeReadOrigin",
      "type": "object"
    },
    "NativeReadReceipt": {
      "additionalProperties": true,
      "properties": {
        "result_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Result Id",
          "type": "string"
        },
        "generation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Generation Id"
        },
        "stage": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Stage",
          "type": "string"
        },
        "domain": {
          "enum": [
            "documents",
            "structured",
            "knowledge"
          ],
          "title": "Domain",
          "type": "string"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "entity_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Entity Id",
          "type": "string"
        },
        "content_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Content Sha256",
          "type": "string"
        },
        "source_ids": {
          "items": {
            "type": "string"
          },
          "maxItems": 500,
          "title": "Source Ids",
          "type": "array"
        },
        "snapshot_ids": {
          "items": {
            "type": "string"
          },
          "maxItems": 500,
          "title": "Snapshot Ids",
          "type": "array"
        },
        "engine": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Engine"
        },
        "database": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Database"
        },
        "catalog": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Catalog"
        },
        "schema": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Schema"
        },
        "read_kind": {
          "anyOf": [
            {
              "enum": [
                "indexed_document",
                "metadata",
                "document_extraction",
                "knowledge_version"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Read Kind"
        },
        "origin": {
          "anyOf": [
            {
              "$ref": "#/$defs/NativeReadOrigin"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "source_version_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Version Id"
        },
        "extraction_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Extraction Id"
        },
        "knowledge_item_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Knowledge Item Id"
        },
        "knowledge_version_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Knowledge Version Id"
        },
        "knowledge_version": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Knowledge Version"
        }
      },
      "required": [
        "result_id",
        "stage",
        "domain",
        "tenant_id",
        "workspace_id",
        "entity_id",
        "content_sha256"
      ],
      "title": "NativeReadReceipt",
      "type": "object"
    },
    "NativeTableSnapshot": {
      "additionalProperties": true,
      "properties": {
        "table_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Table Id",
          "type": "string"
        },
        "table_name": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Table Name",
          "type": "string"
        },
        "snapshot_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Snapshot Id",
          "type": "string"
        }
      },
      "required": [
        "table_id",
        "table_name",
        "snapshot_id"
      ],
      "title": "NativeTableSnapshot",
      "type": "object"
    },
    "NotificationDetails": {
      "additionalProperties": true,
      "properties": {
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Label"
        },
        "scopes": {
          "items": {
            "type": "string"
          },
          "title": "Scopes",
          "type": "array"
        },
        "expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expires At"
        }
      },
      "title": "NotificationDetails",
      "type": "object"
    },
    "NotificationPreferenceRule": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "enum": [
            "invitation",
            "access_granted",
            "role_changed",
            "access_removed",
            "security",
            "welcome",
            "digest"
          ],
          "title": "Kind",
          "type": "string"
        },
        "required": {
          "title": "Required",
          "type": "boolean"
        },
        "inbox": {
          "title": "Inbox",
          "type": "boolean"
        },
        "email": {
          "title": "Email",
          "type": "boolean"
        },
        "email_available": {
          "title": "Email Available",
          "type": "boolean"
        }
      },
      "required": [
        "kind",
        "required",
        "inbox",
        "email",
        "email_available"
      ],
      "title": "NotificationPreferenceRule",
      "type": "object"
    },
    "NotificationPreferenceRuleInput": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "enum": [
            "invitation",
            "access_granted",
            "role_changed",
            "access_removed",
            "security",
            "welcome",
            "digest"
          ],
          "title": "Kind",
          "type": "string"
        },
        "inbox": {
          "title": "Inbox",
          "type": "boolean"
        },
        "email": {
          "title": "Email",
          "type": "boolean"
        }
      },
      "required": [
        "kind",
        "inbox",
        "email"
      ],
      "title": "NotificationPreferenceRuleInput",
      "type": "object"
    },
    "NotificationPreferences": {
      "additionalProperties": true,
      "properties": {
        "admin_summaries_available": {
          "default": false,
          "title": "Admin Summaries Available",
          "type": "boolean"
        },
        "admin_summaries_enabled": {
          "default": false,
          "title": "Admin Summaries Enabled",
          "type": "boolean"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "rules": {
          "items": {
            "$ref": "#/$defs/NotificationPreferenceRule"
          },
          "title": "Rules",
          "type": "array"
        },
        "digest": {
          "enum": [
            "off",
            "daily",
            "weekly",
            "monthly"
          ],
          "title": "Digest",
          "type": "string"
        },
        "allowed_digests": {
          "items": {
            "enum": [
              "off",
              "daily",
              "weekly",
              "monthly"
            ],
            "type": "string"
          },
          "title": "Allowed Digests",
          "type": "array"
        },
        "locale": {
          "title": "Locale",
          "type": "string"
        },
        "time_zone": {
          "title": "Time Zone",
          "type": "string"
        },
        "schedule": {
          "$ref": "#/$defs/DigestSchedule"
        },
        "next_run_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Run At"
        },
        "next_run_local": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Run Local"
        },
        "admin_summaries": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Admin Summaries"
        },
        "notification_locale": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Notification Locale"
        },
        "effective_locale": {
          "default": "en-US",
          "title": "Effective Locale",
          "type": "string"
        },
        "locale_origin": {
          "default": "default",
          "enum": [
            "user",
            "organization",
            "installation",
            "default"
          ],
          "title": "Locale Origin",
          "type": "string"
        }
      },
      "required": [
        "revision",
        "rules",
        "digest",
        "allowed_digests",
        "locale",
        "time_zone"
      ],
      "title": "NotificationPreferences",
      "type": "object"
    },
    "NotificationPreferencesInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        },
        "rules": {
          "items": {
            "$ref": "#/$defs/NotificationPreferenceRuleInput"
          },
          "maxItems": 7,
          "title": "Rules",
          "type": "array"
        },
        "digest": {
          "enum": [
            "off",
            "daily",
            "weekly",
            "monthly"
          ],
          "title": "Digest",
          "type": "string"
        },
        "schedule": {
          "$ref": "#/$defs/DigestSchedule"
        },
        "admin_summaries": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Admin Summaries"
        },
        "notification_locale": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Notification Locale"
        }
      },
      "required": [
        "expected_revision",
        "rules",
        "digest"
      ],
      "title": "NotificationPreferencesInput",
      "type": "object"
    },
    "NotificationTarget": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "enum": [
            "invitation",
            "workspace",
            "access",
            "none"
          ],
          "title": "Kind",
          "type": "string"
        },
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Id"
        }
      },
      "required": [
        "kind"
      ],
      "title": "NotificationTarget",
      "type": "object"
    },
    "NotificationUnreadCount": {
      "additionalProperties": true,
      "properties": {
        "unread": {
          "title": "Unread",
          "type": "integer"
        }
      },
      "required": [
        "unread"
      ],
      "title": "NotificationUnreadCount",
      "type": "object"
    },
    "ObservedCost": {
      "additionalProperties": true,
      "properties": {
        "amount": {
          "anyOf": [
            {
              "minimum": 0.0,
              "type": "number"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Amount"
        },
        "currency": {
          "anyOf": [
            {
              "pattern": "^[A-Z]{3}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Currency"
        },
        "status": {
          "enum": [
            "observed",
            "partial",
            "unavailable"
          ],
          "title": "Status",
          "type": "string"
        },
        "source": {
          "anyOf": [
            {
              "maxLength": 120,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source"
        },
        "reason": {
          "anyOf": [
            {
              "maxLength": 80,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        }
      },
      "required": [
        "status"
      ],
      "title": "ObservedCost",
      "type": "object"
    },
    "ObservedCount": {
      "additionalProperties": true,
      "properties": {
        "value": {
          "anyOf": [
            {
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Value"
        },
        "status": {
          "enum": [
            "observed",
            "partial",
            "unavailable"
          ],
          "title": "Status",
          "type": "string"
        },
        "reason": {
          "anyOf": [
            {
              "maxLength": 80,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        }
      },
      "required": [
        "status"
      ],
      "title": "ObservedCount",
      "type": "object"
    },
    "OpenUIArtifact": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "kind": {
          "const": "openui",
          "title": "Kind",
          "type": "string"
        },
        "language": {
          "title": "Language",
          "type": "string"
        },
        "complete": {
          "title": "Complete",
          "type": "boolean"
        },
        "run_id": {
          "title": "Run Id",
          "type": "string"
        }
      },
      "required": [
        "id",
        "kind",
        "language",
        "complete",
        "run_id"
      ],
      "title": "OpenUIArtifact",
      "type": "object"
    },
    "OperationalLimits": {
      "additionalProperties": true,
      "properties": {
        "worker_concurrency": {
          "title": "Worker Concurrency",
          "type": "integer"
        },
        "max_queued_per_subject": {
          "title": "Max Queued Per Subject",
          "type": "integer"
        },
        "job_lease_seconds": {
          "title": "Job Lease Seconds",
          "type": "integer"
        },
        "max_index_workspaces": {
          "title": "Max Index Workspaces",
          "type": "integer"
        }
      },
      "required": [
        "worker_concurrency",
        "max_queued_per_subject",
        "job_lease_seconds",
        "max_index_workspaces"
      ],
      "title": "OperationalLimits",
      "type": "object"
    },
    "OperationalObservation": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "observed_at": {
          "title": "Observed At",
          "type": "string"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        }
      },
      "required": [
        "configured",
        "available",
        "status",
        "observed_at",
        "reason"
      ],
      "title": "OperationalObservation",
      "type": "object"
    },
    "OrganizationBranding": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "schema_version": {
          "const": 1,
          "default": 1,
          "title": "Schema Version",
          "type": "integer"
        },
        "revision": {
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Revision",
          "type": "integer"
        },
        "origin": {
          "enum": [
            "deployment",
            "organization"
          ],
          "title": "Origin",
          "type": "string"
        },
        "branding": {
          "$ref": "#/$defs/BrandingValues"
        }
      },
      "required": [
        "tenant_id",
        "revision",
        "origin",
        "branding"
      ],
      "title": "OrganizationBranding",
      "type": "object"
    },
    "OrganizationBrandingInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        },
        "branding": {
          "$ref": "#/$defs/BrandingInputValues"
        }
      },
      "required": [
        "expected_revision",
        "branding"
      ],
      "title": "OrganizationBrandingInput",
      "type": "object"
    },
    "OrganizationChatSettings": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "default_agent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Default Agent Id"
        },
        "revision": {
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Revision",
          "type": "integer"
        },
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "memory": {
          "$ref": "#/$defs/OrganizationMemoryPolicy"
        },
        "can_run": {
          "title": "Can Run",
          "type": "boolean"
        },
        "status": {
          "enum": [
            "unconfigured",
            "unavailable",
            "disabled",
            "needs_setup",
            "unverified",
            "ready"
          ],
          "title": "Status",
          "type": "string"
        }
      },
      "required": [
        "tenant_id",
        "default_agent_id",
        "revision",
        "configured",
        "can_run",
        "status"
      ],
      "title": "OrganizationChatSettings",
      "type": "object"
    },
    "OrganizationChatSettingsInput": {
      "additionalProperties": false,
      "properties": {
        "default_agent_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Default Agent Id"
        },
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        },
        "memory": {
          "$ref": "#/$defs/OrganizationMemoryPolicyInput",
          "default": null,
          "title": "Memory"
        }
      },
      "required": [
        "default_agent_id",
        "expected_revision"
      ],
      "title": "OrganizationChatSettingsInput",
      "type": "object"
    },
    "OrganizationDirectorySettings": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "visibility": {
          "default": "administrators",
          "enum": [
            "administrators",
            "shared_workspaces"
          ],
          "title": "Visibility",
          "type": "string"
        },
        "revision": {
          "default": 0,
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Revision",
          "type": "integer"
        }
      },
      "required": [
        "tenant_id"
      ],
      "title": "OrganizationDirectorySettings",
      "type": "object"
    },
    "OrganizationDirectorySettingsInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        },
        "visibility": {
          "enum": [
            "administrators",
            "shared_workspaces"
          ],
          "title": "Visibility",
          "type": "string"
        }
      },
      "required": [
        "expected_revision",
        "visibility"
      ],
      "title": "OrganizationDirectorySettingsInput",
      "type": "object"
    },
    "OrganizationKnowledgeCapabilities": {
      "additionalProperties": false,
      "properties": {
        "documents": {
          "$ref": "#/$defs/DocumentKnowledgeCapabilities"
        },
        "structured": {
          "$ref": "#/$defs/StructuredKnowledgeCapabilities"
        }
      },
      "required": [
        "documents",
        "structured"
      ],
      "title": "OrganizationKnowledgeCapabilities",
      "type": "object"
    },
    "OrganizationKnowledgeSettings": {
      "additionalProperties": false,
      "properties": {
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "schema_version": {
          "const": 1,
          "title": "Schema Version",
          "type": "integer"
        },
        "revision": {
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Revision",
          "type": "integer"
        },
        "origin": {
          "enum": [
            "deployment",
            "organization"
          ],
          "title": "Origin",
          "type": "string"
        },
        "documents": {
          "$ref": "#/$defs/DocumentKnowledgeSettings"
        },
        "structured": {
          "$ref": "#/$defs/StructuredKnowledgeSettings"
        },
        "capabilities": {
          "$ref": "#/$defs/OrganizationKnowledgeCapabilities"
        }
      },
      "required": [
        "tenant_id",
        "schema_version",
        "revision",
        "origin",
        "documents",
        "structured",
        "capabilities"
      ],
      "title": "OrganizationKnowledgeSettings",
      "type": "object"
    },
    "OrganizationKnowledgeSettingsInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        },
        "documents": {
          "$ref": "#/$defs/DocumentKnowledgeSettings"
        },
        "structured": {
          "$ref": "#/$defs/StructuredKnowledgeSettings"
        }
      },
      "required": [
        "expected_revision",
        "documents",
        "structured"
      ],
      "title": "OrganizationKnowledgeSettingsInput",
      "type": "object"
    },
    "OrganizationKnowledgeSnapshot": {
      "additionalProperties": false,
      "properties": {
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "schema_version": {
          "const": 1,
          "title": "Schema Version",
          "type": "integer"
        },
        "revision": {
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Revision",
          "type": "integer"
        },
        "origin": {
          "enum": [
            "deployment",
            "organization"
          ],
          "title": "Origin",
          "type": "string"
        },
        "documents": {
          "$ref": "#/$defs/DocumentKnowledgeSettings"
        },
        "structured": {
          "$ref": "#/$defs/StructuredKnowledgeSettings"
        },
        "digest": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Digest",
          "type": "string"
        }
      },
      "required": [
        "tenant_id",
        "schema_version",
        "revision",
        "origin",
        "documents",
        "structured",
        "digest"
      ],
      "title": "OrganizationKnowledgeSnapshot",
      "type": "object"
    },
    "OrganizationMemoryPolicy": {
      "additionalProperties": false,
      "properties": {
        "allow_project_memory": {
          "default": true,
          "title": "Allow Project Memory",
          "type": "boolean"
        },
        "max_history_messages": {
          "default": 40,
          "maximum": 40,
          "minimum": 0,
          "title": "Max History Messages",
          "type": "integer"
        },
        "max_history_tokens": {
          "default": 8192,
          "maximum": 65536,
          "minimum": 0,
          "title": "Max History Tokens",
          "type": "integer"
        },
        "max_project_memory_messages": {
          "default": 20,
          "maximum": 40,
          "minimum": 0,
          "title": "Max Project Memory Messages",
          "type": "integer"
        }
      },
      "title": "OrganizationMemoryPolicy",
      "type": "object"
    },
    "OrganizationMemoryPolicyInput": {
      "additionalProperties": false,
      "properties": {
        "allow_project_memory": {
          "default": true,
          "title": "Allow Project Memory",
          "type": "boolean"
        },
        "max_history_messages": {
          "default": 40,
          "maximum": 40,
          "minimum": 0,
          "title": "Max History Messages",
          "type": "integer"
        },
        "max_history_tokens": {
          "default": 8192,
          "maximum": 65536,
          "minimum": 0,
          "title": "Max History Tokens",
          "type": "integer"
        },
        "max_project_memory_messages": {
          "default": 20,
          "maximum": 40,
          "minimum": 0,
          "title": "Max Project Memory Messages",
          "type": "integer"
        }
      },
      "title": "OrganizationMemoryPolicyInput",
      "type": "object"
    },
    "OrganizationPerson": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Id"
        },
        "profile_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Profile Id"
        },
        "display_name": {
          "title": "Display Name",
          "type": "string"
        },
        "avatar_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Url"
        },
        "avatar_version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Version"
        },
        "job_title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Job Title"
        },
        "unit": {
          "anyOf": [
            {
              "$ref": "#/$defs/OrganizationUnitSummary"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "department": {
          "anyOf": [
            {
              "$ref": "#/$defs/OrganizationUnitSummary"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "manager": {
          "anyOf": [
            {
              "$ref": "#/$defs/OrganizationPersonReference"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "manager_unavailable": {
          "default": false,
          "title": "Manager Unavailable",
          "type": "boolean"
        },
        "revision": {
          "default": 0,
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Revision",
          "type": "integer"
        },
        "source": {
          "default": "unassigned",
          "enum": [
            "unassigned",
            "manual",
            "provider"
          ],
          "title": "Source",
          "type": "string"
        },
        "provider_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "provider_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Name"
        },
        "managed_fields": {
          "items": {
            "enum": [
              "job_title",
              "unit_id",
              "manager_id"
            ],
            "type": "string"
          },
          "title": "Managed Fields",
          "type": "array"
        },
        "observed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Observed At"
        },
        "updated_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Updated At"
        },
        "observation_status": {
          "default": "not_observed",
          "enum": [
            "not_observed",
            "current",
            "unavailable"
          ],
          "title": "Observation Status",
          "type": "string"
        },
        "presentation": {
          "anyOf": [
            {
              "$ref": "#/$defs/CorporatePresentationSummary"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "display_name"
      ],
      "title": "OrganizationPerson",
      "type": "object"
    },
    "OrganizationPersonCreate": {
      "additionalProperties": false,
      "properties": {
        "profile_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Profile Id"
        },
        "subject": {
          "anyOf": [
            {
              "maxLength": 512,
              "minLength": 3,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Subject"
        },
        "job_title": {
          "anyOf": [
            {
              "maxLength": 160,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Job Title"
        },
        "unit_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Unit Id"
        },
        "manager_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Manager Id"
        }
      },
      "title": "OrganizationPersonCreate",
      "type": "object"
    },
    "OrganizationPersonPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/OrganizationPerson"
          },
          "maxItems": 50,
          "title": "Items",
          "type": "array"
        },
        "total": {
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 50,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "OrganizationPersonPage",
      "type": "object"
    },
    "OrganizationPersonPatch": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "job_title": {
          "anyOf": [
            {
              "maxLength": 160,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Job Title"
        },
        "unit_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Unit Id"
        },
        "manager_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Manager Id"
        },
        "manage_locally": {
          "default": false,
          "title": "Manage Locally",
          "type": "boolean"
        },
        "managed_provider_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Managed Provider Id"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "OrganizationPersonPatch",
      "type": "object"
    },
    "OrganizationPersonReference": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "display_name": {
          "title": "Display Name",
          "type": "string"
        }
      },
      "required": [
        "id",
        "display_name"
      ],
      "title": "OrganizationPersonReference",
      "type": "object"
    },
    "OrganizationPresentation": {
      "additionalProperties": true,
      "properties": {
        "name_source": {
          "default": "personal",
          "enum": [
            "organization",
            "personal"
          ],
          "title": "Name Source",
          "type": "string"
        },
        "avatar_source": {
          "default": "personal",
          "enum": [
            "organization",
            "personal"
          ],
          "title": "Avatar Source",
          "type": "string"
        },
        "provider_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "provider_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Name"
        },
        "status": {
          "default": "not_configured",
          "enum": [
            "not_configured",
            "not_bound",
            "queued",
            "running",
            "current",
            "stale",
            "unavailable",
            "conflict"
          ],
          "title": "Status",
          "type": "string"
        },
        "last_synced_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Last Synced At"
        },
        "corporate_department": {
          "anyOf": [
            {
              "maxLength": 160,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Corporate Department"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "profile_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Profile Id"
        },
        "revision": {
          "default": 0,
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Revision",
          "type": "integer"
        },
        "name_mode": {
          "default": "organization",
          "enum": [
            "organization",
            "personal"
          ],
          "title": "Name Mode",
          "type": "string"
        },
        "avatar_mode": {
          "default": "organization",
          "enum": [
            "organization",
            "personal"
          ],
          "title": "Avatar Mode",
          "type": "string"
        },
        "allow_personal_overrides": {
          "default": true,
          "title": "Allow Personal Overrides",
          "type": "boolean"
        },
        "display_name": {
          "default": "",
          "maxLength": 256,
          "title": "Display Name",
          "type": "string"
        },
        "avatar_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Url"
        },
        "avatar_version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Version"
        },
        "last_attempt_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Last Attempt At"
        },
        "fields": {
          "items": {
            "$ref": "#/$defs/CorporateProfileFieldObservation"
          },
          "maxItems": 5,
          "title": "Fields",
          "type": "array"
        }
      },
      "required": [
        "tenant_id"
      ],
      "title": "OrganizationPresentation",
      "type": "object"
    },
    "OrganizationPresentationInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        },
        "name_mode": {
          "default": null,
          "enum": [
            "organization",
            "personal"
          ],
          "title": "Name Mode",
          "type": "string"
        },
        "avatar_mode": {
          "default": null,
          "enum": [
            "organization",
            "personal"
          ],
          "title": "Avatar Mode",
          "type": "string"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "OrganizationPresentationInput",
      "type": "object"
    },
    "OrganizationProfileFields": {
      "additionalProperties": false,
      "properties": {
        "job_title": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Job Title"
        },
        "unit_external_key": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Unit External Key"
        },
        "manager_external_subject": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,79}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Manager External Subject"
        }
      },
      "title": "OrganizationProfileFields",
      "type": "object"
    },
    "OrganizationProfileMapping": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "provider_id": {
          "title": "Provider Id",
          "type": "string"
        },
        "revision": {
          "default": 0,
          "maximum": 2147483647,
          "minimum": 0,
          "title": "Revision",
          "type": "integer"
        },
        "enabled": {
          "default": false,
          "title": "Enabled",
          "type": "boolean"
        },
        "fields": {
          "$ref": "#/$defs/OrganizationProfileFields"
        },
        "source": {
          "const": "verified_claims",
          "default": "verified_claims",
          "title": "Source",
          "type": "string"
        },
        "profile_sync": {
          "anyOf": [
            {
              "$ref": "#/$defs/CorporateProfileSyncPolicy"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "profile_capabilities": {
          "items": {
            "$ref": "#/$defs/CorporateProfileFieldCapability"
          },
          "maxItems": 5,
          "title": "Profile Capabilities",
          "type": "array"
        }
      },
      "required": [
        "tenant_id",
        "provider_id"
      ],
      "title": "OrganizationProfileMapping",
      "type": "object"
    },
    "OrganizationProfileMappingInput": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 0,
          "title": "Expected Revision",
          "type": "integer"
        },
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        },
        "fields": {
          "$ref": "#/$defs/OrganizationProfileFields"
        },
        "profile_sync": {
          "anyOf": [
            {
              "$ref": "#/$defs/CorporateProfileSyncPolicy"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "expected_revision",
        "enabled",
        "fields"
      ],
      "title": "OrganizationProfileMappingInput",
      "type": "object"
    },
    "OrganizationUnit": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "kind": {
          "enum": [
            "division",
            "department",
            "team"
          ],
          "title": "Kind",
          "type": "string"
        },
        "updated_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Updated At"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Id"
        },
        "revision": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "provider_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "has_children": {
          "default": false,
          "title": "Has Children",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "name",
        "kind",
        "tenant_id",
        "revision"
      ],
      "title": "OrganizationUnit",
      "type": "object"
    },
    "OrganizationUnitInput": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "maxLength": 160,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "kind": {
          "default": "department",
          "enum": [
            "division",
            "department",
            "team"
          ],
          "title": "Kind",
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Id"
        },
        "provider_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Provider Id"
        },
        "external_key": {
          "anyOf": [
            {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "External Key"
        }
      },
      "required": [
        "name"
      ],
      "title": "OrganizationUnitInput",
      "type": "object"
    },
    "OrganizationUnitPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/OrganizationUnit"
          },
          "maxItems": 50,
          "title": "Items",
          "type": "array"
        },
        "total": {
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 50,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "OrganizationUnitPage",
      "type": "object"
    },
    "OrganizationUnitPatch": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483646,
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "name": {
          "anyOf": [
            {
              "maxLength": 160,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "kind": {
          "anyOf": [
            {
              "enum": [
                "division",
                "department",
                "team"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Kind"
        },
        "parent_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Id"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "OrganizationUnitPatch",
      "type": "object"
    },
    "OrganizationUnitSummary": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "kind": {
          "enum": [
            "division",
            "department",
            "team"
          ],
          "title": "Kind",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "kind"
      ],
      "title": "OrganizationUnitSummary",
      "type": "object"
    },
    "Output": {
      "additionalProperties": true,
      "properties": {},
      "title": "Output",
      "type": "object"
    },
    "OwnNotification": {
      "additionalProperties": true,
      "properties": {
        "workspace_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Name"
        },
        "actor_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Actor Name"
        },
        "details": {
          "anyOf": [
            {
              "$ref": "#/$defs/NotificationDetails"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "kind": {
          "enum": [
            "invitation",
            "access_granted",
            "role_changed",
            "access_removed",
            "security",
            "welcome",
            "digest"
          ],
          "title": "Kind",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "body": {
          "title": "Body",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "read_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Read At"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "organization_name": {
          "title": "Organization Name",
          "type": "string"
        },
        "target": {
          "$ref": "#/$defs/NotificationTarget"
        },
        "effective_locale": {
          "default": "en-US",
          "title": "Effective Locale",
          "type": "string"
        },
        "locale_origin": {
          "default": "default",
          "enum": [
            "user",
            "organization",
            "installation",
            "default"
          ],
          "title": "Locale Origin",
          "type": "string"
        },
        "powered_by": {
          "const": "Powered by koinon",
          "default": "Powered by koinon",
          "title": "Powered By",
          "type": "string"
        },
        "copyright": {
          "title": "Copyright",
          "type": "string"
        }
      },
      "required": [
        "id",
        "kind",
        "title",
        "body",
        "created_at",
        "read_at",
        "tenant_id",
        "organization_name",
        "target"
      ],
      "title": "OwnNotification",
      "type": "object"
    },
    "OwnNotificationPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/OwnNotification"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "OwnNotificationPage",
      "type": "object"
    },
    "Page": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {},
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page",
      "type": "object"
    },
    "Page_AgentConfiguration_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/AgentConfiguration"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[AgentConfiguration]",
      "type": "object"
    },
    "Page_AuditEvent_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/AuditEvent"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[AuditEvent]",
      "type": "object"
    },
    "Page_AuthorizedApplication_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/AuthorizedApplication"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[AuthorizedApplication]",
      "type": "object"
    },
    "Page_CatalogEntry_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/CatalogEntry"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[CatalogEntry]",
      "type": "object"
    },
    "Page_ChatFolder_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/ChatFolder"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[ChatFolder]",
      "type": "object"
    },
    "Page_ChatMessage_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/ChatMessage"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[ChatMessage]",
      "type": "object"
    },
    "Page_ChatThread_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/ChatThread"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[ChatThread]",
      "type": "object"
    },
    "Page_Invitation_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/Invitation"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[Invitation]",
      "type": "object"
    },
    "Page_Job_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/Job"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[Job]",
      "type": "object"
    },
    "Page_KnowledgeConnection_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/KnowledgeConnection"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[KnowledgeConnection]",
      "type": "object"
    },
    "Page_Membership_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/Membership"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[Membership]",
      "type": "object"
    },
    "Page_Person_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/Person"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[Person]",
      "type": "object"
    },
    "Page_PersonalToken_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/PersonalToken"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[PersonalToken]",
      "type": "object"
    },
    "Page_ToolActivity_": {
      "additionalProperties": true,
      "properties": {
        "summaries": {
          "additionalProperties": {
            "$ref": "#/$defs/CatalogSummary"
          },
          "title": "Summaries",
          "type": "object"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "page_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Size"
        },
        "pages": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Pages"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Cursor"
        },
        "actors": {
          "additionalProperties": {
            "$ref": "#/$defs/AuthorSummary"
          },
          "title": "Actors",
          "type": "object"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/ToolActivity"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Total"
        }
      },
      "required": [
        "items"
      ],
      "title": "Page[ToolActivity]",
      "type": "object"
    },
    "PendingKnowledgeCommit": {
      "additionalProperties": true,
      "properties": {
        "status": {
          "const": "pending",
          "default": "pending",
          "title": "Status",
          "type": "string"
        },
        "operation_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Operation Id",
          "type": "string"
        },
        "intent_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Intent Id",
          "type": "string"
        },
        "reason": {
          "const": "commit_outcome_unresolved",
          "default": "commit_outcome_unresolved",
          "title": "Reason",
          "type": "string"
        }
      },
      "required": [
        "operation_id",
        "intent_id"
      ],
      "title": "PendingKnowledgeCommit",
      "type": "object"
    },
    "Person": {
      "additionalProperties": true,
      "properties": {
        "profile_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Profile Id"
        },
        "subject": {
          "title": "Subject",
          "type": "string"
        },
        "display_name": {
          "title": "Display Name",
          "type": "string"
        },
        "avatar_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Url"
        },
        "avatar_version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Version"
        }
      },
      "required": [
        "subject",
        "display_name"
      ],
      "title": "Person",
      "type": "object"
    },
    "PersonalToken": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "prefix": {
          "title": "Prefix",
          "type": "string"
        },
        "scopes": {
          "items": {
            "type": "string"
          },
          "title": "Scopes",
          "type": "array"
        },
        "workspace_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Ids"
        },
        "asset_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Asset Ids"
        },
        "expires_at": {
          "title": "Expires At",
          "type": "string"
        },
        "revoked_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Revoked At"
        },
        "last_used_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Last Used At"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "tenant_id",
        "prefix",
        "scopes",
        "expires_at",
        "created_at"
      ],
      "title": "PersonalToken",
      "type": "object"
    },
    "PlatformHealth": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "checked_at": {
          "format": "date-time",
          "title": "Checked At",
          "type": "string"
        },
        "summary": {
          "$ref": "#/$defs/HealthSummary"
        },
        "components": {
          "items": {
            "$ref": "#/$defs/HealthComponent"
          },
          "maxItems": 16,
          "title": "Components",
          "type": "array"
        }
      },
      "required": [
        "tenant_id",
        "checked_at",
        "components"
      ],
      "title": "PlatformHealth",
      "type": "object"
    },
    "PlatformValue": {
      "additionalProperties": true,
      "properties": {},
      "title": "PlatformValue",
      "type": "object"
    },
    "PoolUsage": {
      "additionalProperties": true,
      "properties": {
        "size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Size"
        },
        "checked_out": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Checked Out"
        },
        "overflow": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Overflow"
        }
      },
      "title": "PoolUsage",
      "type": "object"
    },
    "Presentation": {
      "additionalProperties": true,
      "properties": {
        "locale": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Locale"
        },
        "time_zone": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Time Zone"
        },
        "response_language": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Response Language"
        },
        "effective_language": {
          "anyOf": [
            {
              "enum": [
                "en",
                "es"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effective Language"
        }
      },
      "title": "Presentation",
      "type": "object"
    },
    "PrivateChunkPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/PrivateChunkView"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "PrivateChunkPage",
      "type": "object"
    },
    "PrivateChunkView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "attachment_id": {
          "title": "Attachment Id",
          "type": "string"
        },
        "index": {
          "title": "Index",
          "type": "integer"
        },
        "text": {
          "title": "Text",
          "type": "string"
        },
        "page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "section_path": {
          "items": {
            "type": "string"
          },
          "title": "Section Path",
          "type": "array"
        },
        "char_start": {
          "title": "Char Start",
          "type": "integer"
        },
        "char_end": {
          "title": "Char End",
          "type": "integer"
        },
        "offset_basis": {
          "const": "normalized_text_code_points",
          "default": "normalized_text_code_points",
          "title": "Offset Basis",
          "type": "string"
        },
        "sha256": {
          "title": "Sha256",
          "type": "string"
        }
      },
      "required": [
        "id",
        "attachment_id",
        "index",
        "text",
        "section_path",
        "char_start",
        "char_end",
        "sha256"
      ],
      "title": "PrivateChunkView",
      "type": "object"
    },
    "PrivateFileReceipt": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "filename": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Filename",
          "type": "string"
        },
        "media_type": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Media Type",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "used_revision": {
          "minimum": 1,
          "title": "Used Revision",
          "type": "integer"
        },
        "availability": {
          "enum": [
            "available",
            "expired",
            "deleted",
            "changed",
            "unavailable"
          ],
          "title": "Availability",
          "type": "string"
        }
      },
      "required": [
        "id",
        "filename",
        "media_type",
        "sha256",
        "used_revision",
        "availability"
      ],
      "title": "PrivateFileReceipt",
      "type": "object"
    },
    "ProcessingActivity": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "resource_id": {
          "title": "Resource Id",
          "type": "string"
        },
        "operation": {
          "title": "Operation",
          "type": "string"
        },
        "state": {
          "enum": [
            "unknown",
            "queued",
            "processing",
            "indexing",
            "complete",
            "failed",
            "cancelled",
            "reconciliation_required"
          ],
          "title": "State",
          "type": "string"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "availability": {
          "$ref": "#/$defs/AssetAvailability"
        }
      },
      "required": [
        "id",
        "resource_id",
        "operation",
        "state",
        "updated_at",
        "availability"
      ],
      "title": "ProcessingActivity",
      "type": "object"
    },
    "ProcessingRequest": {
      "additionalProperties": false,
      "properties": {
        "page": {
          "default": 1,
          "maximum": 100000,
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "default": 25,
          "maximum": 50,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "workspace_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        }
      },
      "title": "ProcessingRequest",
      "type": "object"
    },
    "ProcessingResponse": {
      "additionalProperties": true,
      "properties": {
        "observed_at": {
          "format": "date-time",
          "title": "Observed At",
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/ProcessingActivity"
          },
          "title": "Items",
          "type": "array"
        },
        "next_page": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Next Page"
        }
      },
      "required": [
        "observed_at",
        "items"
      ],
      "title": "ProcessingResponse",
      "type": "object"
    },
    "ProductHelpContext": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "const": "product_configuration",
          "default": "product_configuration",
          "title": "Kind",
          "type": "string"
        },
        "product_name": {
          "maxLength": 120,
          "minLength": 1,
          "title": "Product Name",
          "type": "string"
        },
        "assistant_name": {
          "maxLength": 120,
          "minLength": 1,
          "title": "Assistant Name",
          "type": "string"
        },
        "branding_revision": {
          "minimum": 0,
          "title": "Branding Revision",
          "type": "integer"
        },
        "branding_origin": {
          "default": "deployment",
          "enum": [
            "organization",
            "deployment"
          ],
          "title": "Branding Origin",
          "type": "string"
        },
        "selection": {
          "default": "broader_scope",
          "enum": [
            "explicit_selection",
            "broader_scope",
            "private_attachments"
          ],
          "title": "Selection",
          "type": "string"
        },
        "tools": {
          "default": [],
          "items": {
            "enum": [
              "search_knowledge",
              "inspect_schema",
              "query_dataset",
              "propose_catalog_update",
              "search_private_attachments"
            ],
            "type": "string"
          },
          "maxItems": 5,
          "title": "Tools",
          "type": "array"
        }
      },
      "required": [
        "product_name",
        "assistant_name",
        "branding_revision"
      ],
      "title": "ProductHelpContext",
      "type": "object"
    },
    "ProfileUpdate": {
      "additionalProperties": false,
      "properties": {
        "initialize_only": {
          "default": false,
          "title": "Initialize Only",
          "type": "boolean"
        },
        "display_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Display Name"
        },
        "locale": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Locale"
        },
        "time_zone": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Time Zone"
        },
        "response_language": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Response Language"
        }
      },
      "title": "ProfileUpdate",
      "type": "object"
    },
    "ProjectActivity": {
      "additionalProperties": true,
      "properties": {
        "project_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Project Id",
          "type": "string"
        },
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "name": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "knowledge": {
          "$ref": "#/$defs/KnowledgeActivityCounts"
        }
      },
      "required": [
        "project_id",
        "workspace_id",
        "name",
        "knowledge"
      ],
      "title": "ProjectActivity",
      "type": "object"
    },
    "PromotedCatalogEntry": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "kind": {
          "title": "Kind",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Parent Id"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Id"
        },
        "project_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Project Id"
        },
        "description": {
          "title": "Description",
          "type": "string"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "created_by": {
          "title": "Created By",
          "type": "string"
        },
        "updated_by": {
          "title": "Updated By",
          "type": "string"
        },
        "metadata": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Metadata",
          "type": "object"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "kind",
        "name",
        "parent_id",
        "workspace_id",
        "project_id",
        "description",
        "status",
        "created_by",
        "updated_by",
        "metadata",
        "created_at",
        "updated_at"
      ],
      "title": "PromotedCatalogEntry",
      "type": "object"
    },
    "ProposalConfirmation": {
      "additionalProperties": false,
      "properties": {
        "confirm": {
          "const": true,
          "title": "Confirm",
          "type": "boolean"
        },
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "confirm",
        "expected_revision"
      ],
      "title": "ProposalConfirmation",
      "type": "object"
    },
    "ProposalRevision": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "ProposalRevision",
      "type": "object"
    },
    "ProposalUpdate": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "applied",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "revision": {
          "minimum": 2,
          "title": "Revision",
          "type": "integer"
        }
      },
      "required": [
        "id",
        "status",
        "revision"
      ],
      "title": "ProposalUpdate",
      "type": "object"
    },
    "ProvenanceArtifact": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "original_filename": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Original Filename",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "byte_size": {
          "minimum": 0,
          "title": "Byte Size",
          "type": "integer"
        },
        "file_format": {
          "maxLength": 64,
          "minLength": 1,
          "title": "File Format",
          "type": "string"
        },
        "compression": {
          "maxLength": 64,
          "title": "Compression",
          "type": "string"
        },
        "actor": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Actor",
          "type": "string"
        },
        "admitted_at": {
          "format": "date-time",
          "title": "Admitted At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "original_filename",
        "sha256",
        "byte_size",
        "file_format",
        "compression",
        "actor",
        "admitted_at"
      ],
      "title": "ProvenanceArtifact",
      "type": "object"
    },
    "ProvenanceTransformStep": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "ordinal": {
          "maximum": 64,
          "minimum": 1,
          "title": "Ordinal",
          "type": "integer"
        },
        "kind": {
          "maxLength": 128,
          "minLength": 1,
          "title": "Kind",
          "type": "string"
        },
        "implementation": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Implementation",
          "type": "string"
        },
        "implementation_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Implementation Sha256"
        },
        "input_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Input Sha256"
        },
        "output_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Output Sha256"
        },
        "parameters": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "maxProperties": 64,
          "title": "Parameters",
          "type": "object"
        },
        "actor": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Actor",
          "type": "string"
        },
        "recorded_at": {
          "format": "date-time",
          "title": "Recorded At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "ordinal",
        "kind",
        "implementation",
        "actor",
        "recorded_at"
      ],
      "title": "ProvenanceTransformStep",
      "type": "object"
    },
    "ProviderCapability": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "kind": {
          "title": "Kind",
          "type": "string"
        },
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "available": {
          "title": "Available",
          "type": "boolean"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        },
        "capabilities": {
          "items": {
            "type": "string"
          },
          "title": "Capabilities",
          "type": "array"
        }
      },
      "required": [
        "id",
        "name",
        "kind",
        "configured",
        "available"
      ],
      "title": "ProviderCapability",
      "type": "object"
    },
    "ProviderInput": {
      "additionalProperties": false,
      "properties": {
        "api": {
          "anyOf": [
            {
              "enum": [
                "chat",
                "responses",
                "messages"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Api"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "kind": {
          "anyOf": [
            {
              "enum": [
                "ollama",
                "openai",
                "anthropic"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Kind"
        },
        "base_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Base Url"
        },
        "model_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Ids"
        },
        "secret": {
          "anyOf": [
            {
              "format": "password",
              "type": "string",
              "writeOnly": true
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Secret"
        },
        "enabled": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Enabled"
        }
      },
      "title": "ProviderInput",
      "type": "object"
    },
    "ProviderSupport": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "native_supported": {
          "title": "Native Supported",
          "type": "boolean"
        },
        "exposed": {
          "title": "Exposed",
          "type": "boolean"
        },
        "kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Kind"
        },
        "api": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Api"
        },
        "model_class": {
          "title": "Model Class",
          "type": "string"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason"
        }
      },
      "required": [
        "id",
        "native_supported",
        "exposed",
        "model_class"
      ],
      "title": "ProviderSupport",
      "type": "object"
    },
    "ProviderType": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "fields": {
          "items": {
            "$ref": "#/$defs/FieldSchema"
          },
          "title": "Fields",
          "type": "array"
        }
      },
      "required": [
        "id",
        "name",
        "fields"
      ],
      "title": "ProviderType",
      "type": "object"
    },
    "QueryBatchAction": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "QueryBatchAction",
      "type": "object"
    },
    "QueryBatchCancellation": {
      "additionalProperties": true,
      "properties": {
        "batch_id": {
          "title": "Batch Id",
          "type": "string"
        },
        "revision": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "cancellation_requested": {
          "const": true,
          "default": true,
          "title": "Cancellation Requested",
          "type": "boolean"
        }
      },
      "required": [
        "batch_id",
        "revision"
      ],
      "title": "QueryBatchCancellation",
      "type": "object"
    },
    "QueryBatchCapabilities": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "processing_policy": {
          "const": "independent_nl_v1",
          "default": "independent_nl_v1",
          "title": "Processing Policy",
          "type": "string"
        },
        "automatic_unknown_replay": {
          "const": false,
          "default": false,
          "title": "Automatic Unknown Replay",
          "type": "boolean"
        },
        "shared_conversation": {
          "const": false,
          "default": false,
          "title": "Shared Conversation",
          "type": "boolean"
        },
        "connection_mode": {
          "const": "explicit_provider",
          "default": "explicit_provider",
          "title": "Connection Mode",
          "type": "string"
        },
        "max_queries": {
          "default": 20,
          "title": "Max Queries",
          "type": "integer"
        },
        "max_question_characters": {
          "default": 8000,
          "title": "Max Question Characters",
          "type": "integer"
        },
        "max_question_bytes_per_batch": {
          "default": 65536,
          "title": "Max Question Bytes Per Batch",
          "type": "integer"
        },
        "max_result_bytes": {
          "default": 1048576,
          "title": "Max Result Bytes",
          "type": "integer"
        }
      },
      "required": [
        "configured"
      ],
      "title": "QueryBatchCapabilities",
      "type": "object"
    },
    "QueryBatchCreate": {
      "additionalProperties": false,
      "properties": {
        "workspace_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "processing_policy": {
          "const": "independent_nl_v1",
          "default": "independent_nl_v1",
          "title": "Processing Policy",
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/QueryManifestItem"
          },
          "maxItems": 20,
          "minItems": 1,
          "title": "Items",
          "type": "array"
        }
      },
      "required": [
        "workspace_id",
        "items"
      ],
      "title": "QueryBatchCreate",
      "type": "object"
    },
    "QueryBatchItemPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/QueryBatchItemView"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "QueryBatchItemPage",
      "type": "object"
    },
    "QueryBatchItemView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "client_item_id": {
          "title": "Client Item Id",
          "type": "string"
        },
        "dataset_id": {
          "title": "Dataset Id",
          "type": "string"
        },
        "question": {
          "title": "Question",
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "running",
            "succeeded",
            "failed",
            "cancelled",
            "reconciling"
          ],
          "title": "Status",
          "type": "string"
        },
        "job_id": {
          "title": "Job Id",
          "type": "string"
        },
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error Code"
        },
        "query_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Query Id"
        }
      },
      "required": [
        "id",
        "client_item_id",
        "dataset_id",
        "question",
        "status",
        "job_id"
      ],
      "title": "QueryBatchItemView",
      "type": "object"
    },
    "QueryBatchPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/QueryBatchView"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "QueryBatchPage",
      "type": "object"
    },
    "QueryBatchResult": {
      "additionalProperties": true,
      "properties": {
        "batch_id": {
          "title": "Batch Id",
          "type": "string"
        },
        "item_id": {
          "title": "Item Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "running",
            "succeeded",
            "failed",
            "cancelled",
            "reconciling"
          ],
          "title": "Status",
          "type": "string"
        },
        "result": {
          "anyOf": [
            {
              "$ref": "#/$defs/BatchQueryOutcome"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error Code"
        }
      },
      "required": [
        "batch_id",
        "item_id",
        "status"
      ],
      "title": "QueryBatchResult",
      "type": "object"
    },
    "QueryBatchView": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "title": "Workspace Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "running",
            "succeeded",
            "partial",
            "failed",
            "cancelled",
            "reconciling"
          ],
          "title": "Status",
          "type": "string"
        },
        "revision": {
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "total_items": {
          "maximum": 20,
          "minimum": 1,
          "title": "Total Items",
          "type": "integer"
        },
        "counts": {
          "additionalProperties": {
            "type": "integer"
          },
          "propertyNames": {
            "enum": [
              "queued",
              "running",
              "succeeded",
              "failed",
              "cancelled",
              "reconciling"
            ]
          },
          "title": "Counts",
          "type": "object"
        },
        "cancellation_requested": {
          "title": "Cancellation Requested",
          "type": "boolean"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "tenant_id",
        "workspace_id",
        "status",
        "revision",
        "total_items",
        "counts",
        "cancellation_requested",
        "created_at",
        "expires_at"
      ],
      "title": "QueryBatchView",
      "type": "object"
    },
    "QueryManifestItem": {
      "additionalProperties": false,
      "properties": {
        "client_item_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Client Item Id",
          "type": "string"
        },
        "dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Dataset Id",
          "type": "string"
        },
        "question": {
          "maxLength": 8000,
          "minLength": 1,
          "title": "Question",
          "type": "string"
        }
      },
      "required": [
        "client_item_id",
        "dataset_id",
        "question"
      ],
      "title": "QueryManifestItem",
      "type": "object"
    },
    "QueryRequest": {
      "additionalProperties": false,
      "properties": {
        "dataset_id": {
          "title": "Dataset Id",
          "type": "string"
        },
        "question": {
          "default": "",
          "title": "Question",
          "type": "string"
        },
        "conversation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Conversation Id"
        },
        "sql": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sql"
        }
      },
      "required": [
        "dataset_id"
      ],
      "title": "QueryRequest",
      "type": "object"
    },
    "QueryResponse": {
      "additionalProperties": true,
      "properties": {
        "knowledge_settings_snapshot": {
          "anyOf": [
            {
              "$ref": "#/$defs/OrganizationKnowledgeSnapshot"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "query_id": {
          "title": "Query Id",
          "type": "string"
        },
        "sql": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sql"
        },
        "execution_status": {
          "anyOf": [
            {
              "enum": [
                "OK",
                "REFINED_OK",
                "FAILED",
                "REJECTED_BY_FIREWALL"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Execution Status"
        },
        "preview": {
          "anyOf": [
            {
              "items": {
                "additionalProperties": {
                  "$ref": "#/$defs/JsonValue"
                },
                "type": "object"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Preview"
        },
        "row_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "elapsed_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Elapsed Ms"
        },
        "truncated": {
          "default": false,
          "title": "Truncated",
          "type": "boolean"
        },
        "chart_hint": {
          "anyOf": [
            {
              "enum": [
                "line",
                "bar",
                "table",
                "pie",
                "none"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Chart Hint"
        },
        "explanation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Explanation"
        },
        "clarification": {
          "anyOf": [
            {
              "$ref": "#/$defs/ClarificationFrame"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "grounded_summary": {
          "anyOf": [
            {
              "additionalProperties": {
                "$ref": "#/$defs/JsonValue"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Grounded Summary"
        },
        "usage": {
          "anyOf": [
            {
              "$ref": "#/$defs/UsageSummary"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "snapshot_pins": {
          "additionalProperties": {
            "type": "string"
          },
          "title": "Snapshot Pins",
          "type": "object"
        }
      },
      "required": [
        "query_id",
        "execution_status"
      ],
      "title": "QueryResponse",
      "type": "object"
    },
    "QueryResultExportInput": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "query_result",
          "title": "Kind",
          "type": "string"
        },
        "dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Dataset Id",
          "type": "string"
        },
        "query_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Query Id",
          "type": "string"
        },
        "format": {
          "enum": [
            "parquet",
            "csv",
            "jsonl"
          ],
          "title": "Format",
          "type": "string"
        },
        "csv_mode": {
          "default": "spreadsheet_safe",
          "enum": [
            "spreadsheet_safe",
            "exact"
          ],
          "title": "Csv Mode",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "dataset_id",
        "query_id",
        "format"
      ],
      "title": "QueryResultExportInput",
      "type": "object"
    },
    "RecipientProvider": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "display_name": {
          "title": "Display Name",
          "type": "string"
        }
      },
      "required": [
        "id",
        "display_name"
      ],
      "title": "RecipientProvider",
      "type": "object"
    },
    "RecipientProviderPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/RecipientProvider"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "RecipientProviderPage",
      "type": "object"
    },
    "ReplaceDocument": {
      "additionalProperties": false,
      "properties": {
        "expected_source_version_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Source Version Id"
        },
        "expected_extraction_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Extraction Id"
        },
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "action": {
          "const": "replace_document",
          "title": "Action",
          "type": "string"
        },
        "document_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Document Id",
          "type": "string"
        },
        "expected_sha256": {
          "pattern": "^[a-fA-F0-9]{64}$",
          "title": "Expected Sha256",
          "type": "string"
        },
        "acknowledge_chunk_invalidation": {
          "title": "Acknowledge Chunk Invalidation",
          "type": "boolean"
        }
      },
      "required": [
        "expected_revision",
        "action",
        "document_id",
        "expected_sha256",
        "acknowledge_chunk_invalidation"
      ],
      "title": "ReplaceDocument",
      "type": "object"
    },
    "ReplaceTable": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "action": {
          "const": "replace_table",
          "title": "Action",
          "type": "string"
        },
        "dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Dataset Id",
          "type": "string"
        },
        "table_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Table Id",
          "type": "string"
        },
        "expected_snapshot_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Expected Snapshot Id",
          "type": "string"
        }
      },
      "required": [
        "expected_revision",
        "action",
        "dataset_id",
        "table_id",
        "expected_snapshot_id"
      ],
      "title": "ReplaceTable",
      "type": "object"
    },
    "ResultColumn": {
      "additionalProperties": true,
      "properties": {
        "name": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Name",
          "type": "string"
        },
        "data_type": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Data Type",
          "type": "string"
        }
      },
      "required": [
        "name",
        "data_type"
      ],
      "title": "ResultColumn",
      "type": "object"
    },
    "ResultPin": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        }
      },
      "required": [
        "id",
        "sha256"
      ],
      "title": "ResultPin",
      "type": "object"
    },
    "RlmToolReceipt": {
      "additionalProperties": true,
      "description": "An action admits a nonempty combination of document and knowledge IDs, at most 500 total.\n\nIdentifiers are unique within each domain. Content use requires separate exact-version execution receipts.",
      "properties": {
        "result_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Result Id",
          "type": "string"
        },
        "generation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Generation Id"
        },
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "workspace_id": {
          "description": "Admitted native execution workspace.",
          "maxLength": 64,
          "minLength": 1,
          "title": "Workspace Id",
          "type": "string"
        },
        "source_ids": {
          "description": "Admitted native document source IDs; actual content use requires execution-read evidence.",
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 500,
          "title": "Source Ids",
          "type": "array"
        },
        "knowledge_item_ids": {
          "description": "Admitted canonical knowledge item IDs; exact versions and content use have separate receipts.",
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 500,
          "title": "Knowledge Item Ids",
          "type": "array"
        },
        "tool_call_id": {
          "maxLength": 256,
          "minLength": 1,
          "title": "Tool Call Id",
          "type": "string"
        },
        "tool_name": {
          "enum": [
            "python",
            "final_answer"
          ],
          "title": "Tool Name",
          "type": "string"
        },
        "request_sha256": {
          "pattern": "^[0-9a-f]{64}$",
          "title": "Request Sha256",
          "type": "string"
        },
        "schema_sha256": {
          "pattern": "^[0-9a-f]{64}$",
          "title": "Schema Sha256",
          "type": "string"
        },
        "arguments_sha256": {
          "pattern": "^[0-9a-f]{64}$",
          "title": "Arguments Sha256",
          "type": "string"
        },
        "result_sha256": {
          "description": "SHA-256 of the actual ToolReturnPart JSON serialization, sorted keys, compact UTF-8.",
          "pattern": "^[0-9a-f]{64}$",
          "title": "Result Sha256",
          "type": "string"
        },
        "result_kind": {
          "description": "tool_return is preserved into subsequent SDK history. accepted_final and execution_failure seal the actual host result locally without asserting a subsequent provider delivery.",
          "enum": [
            "tool_return",
            "accepted_final",
            "execution_failure"
          ],
          "title": "Result Kind",
          "type": "string"
        },
        "execution_sha256": {
          "description": "SHA-256 of the exact public VM feed dataclass, sorted keys, compact UTF-8.",
          "pattern": "^[0-9a-f]{64}$",
          "title": "Execution Sha256",
          "type": "string"
        },
        "outcome": {
          "enum": [
            "completed",
            "rejected",
            "failed",
            "halted"
          ],
          "title": "Outcome",
          "type": "string"
        },
        "execution_status": {
          "maxLength": 32,
          "minLength": 1,
          "title": "Execution Status",
          "type": "string"
        },
        "execution_state": {
          "maxLength": 32,
          "minLength": 1,
          "title": "Execution State",
          "type": "string"
        }
      },
      "required": [
        "result_id",
        "tenant_id",
        "workspace_id",
        "tool_call_id",
        "tool_name",
        "request_sha256",
        "schema_sha256",
        "arguments_sha256",
        "result_sha256",
        "result_kind",
        "execution_sha256",
        "outcome",
        "execution_status",
        "execution_state"
      ],
      "title": "RlmToolReceipt",
      "type": "object"
    },
    "RoleObservation": {
      "additionalProperties": true,
      "properties": {
        "configured": {
          "title": "Configured",
          "type": "boolean"
        },
        "available": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "observed_at": {
          "title": "Observed At",
          "type": "string"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        },
        "superuser": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Superuser"
        },
        "bypass_rls": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Bypass Rls"
        }
      },
      "required": [
        "configured",
        "available",
        "status",
        "observed_at",
        "reason"
      ],
      "title": "RoleObservation",
      "type": "object"
    },
    "RunInput": {
      "additionalProperties": false,
      "properties": {
        "attachment_ids": {
          "items": {
            "type": "string"
          },
          "maxItems": 10,
          "title": "Attachment Ids",
          "type": "array"
        },
        "agent_id": {
          "title": "Agent Id",
          "type": "string"
        },
        "message": {
          "title": "Message",
          "type": "string"
        },
        "scope": {
          "anyOf": [
            {
              "$ref": "#/$defs/KnowledgeScope"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "client_request_id": {
          "title": "Client Request Id",
          "type": "string"
        }
      },
      "required": [
        "agent_id",
        "message",
        "client_request_id"
      ],
      "title": "RunInput",
      "type": "object"
    },
    "SchemaTable": {
      "additionalProperties": true,
      "properties": {
        "sheet_or_json_path": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sheet Or Json Path"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "snapshot_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Snapshot Id"
        },
        "columns": {
          "items": {
            "$ref": "#/$defs/Column"
          },
          "title": "Columns",
          "type": "array"
        }
      },
      "required": [
        "id",
        "name",
        "columns"
      ],
      "title": "SchemaTable",
      "type": "object"
    },
    "SearchHit": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "text": {
          "title": "Text",
          "type": "string"
        },
        "asset_id": {
          "title": "Asset Id",
          "type": "string"
        },
        "source_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Id"
        },
        "score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Score"
        },
        "source_reference": {
          "anyOf": [
            {
              "$ref": "#/$defs/SourceReference"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "citations": {
          "items": {
            "$ref": "#/$defs/Citation"
          },
          "title": "Citations",
          "type": "array"
        }
      },
      "required": [
        "id",
        "title",
        "text",
        "asset_id"
      ],
      "title": "SearchHit",
      "type": "object"
    },
    "SearchRequest": {
      "additionalProperties": false,
      "properties": {
        "question": {
          "title": "Question",
          "type": "string"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Id"
        },
        "project_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Project Id"
        },
        "collection_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Collection Id"
        },
        "asset_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Asset Ids"
        },
        "limit": {
          "default": 10,
          "title": "Limit",
          "type": "integer"
        },
        "answer": {
          "default": false,
          "title": "Answer",
          "type": "boolean"
        }
      },
      "required": [
        "question"
      ],
      "title": "SearchRequest",
      "type": "object"
    },
    "SearchResponse": {
      "additionalProperties": true,
      "properties": {
        "knowledge_settings_snapshot": {
          "anyOf": [
            {
              "$ref": "#/$defs/OrganizationKnowledgeSnapshot"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "hits": {
          "items": {
            "$ref": "#/$defs/SearchHit"
          },
          "title": "Hits",
          "type": "array"
        },
        "answer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Answer"
        },
        "citations": {
          "items": {
            "$ref": "#/$defs/Citation"
          },
          "title": "Citations",
          "type": "array"
        }
      },
      "required": [
        "hits"
      ],
      "title": "SearchResponse",
      "type": "object"
    },
    "SetupCheck": {
      "additionalProperties": true,
      "properties": {
        "model_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model Id"
        },
        "capability": {
          "anyOf": [
            {
              "enum": [
                "chat",
                "streaming",
                "tools",
                "image_input",
                "audio_input"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Capability"
        },
        "supported": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Supported"
        },
        "verified": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Verified"
        },
        "options_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Options Key"
        },
        "observed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Observed At"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "passed",
            "failed",
            "needs_setup",
            "unverified"
          ],
          "title": "Status",
          "type": "string"
        },
        "message": {
          "title": "Message",
          "type": "string"
        }
      },
      "required": [
        "id",
        "status",
        "message"
      ],
      "title": "SetupCheck",
      "type": "object"
    },
    "Share": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Revision",
          "type": "string"
        },
        "status": {
          "enum": [
            "active",
            "revoked",
            "expired"
          ],
          "title": "Status",
          "type": "string"
        },
        "recipient_policy": {
          "const": "organization_current_acl",
          "default": "organization_current_acl",
          "title": "Recipient Policy",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "revoked_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Revoked At"
        }
      },
      "required": [
        "id",
        "title",
        "revision",
        "status",
        "created_at",
        "expires_at"
      ],
      "title": "Share",
      "type": "object"
    },
    "ShareCreate": {
      "additionalProperties": false,
      "properties": {
        "review_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Review Id",
          "type": "string"
        },
        "expected_revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Expected Revision",
          "type": "string"
        },
        "expires_in_hours": {
          "default": 24,
          "maximum": 168,
          "minimum": 1,
          "title": "Expires In Hours",
          "type": "integer"
        },
        "recipient_policy": {
          "const": "organization_current_acl",
          "default": "organization_current_acl",
          "title": "Recipient Policy",
          "type": "string"
        },
        "include_remembered_context": {
          "default": false,
          "title": "Include Remembered Context",
          "type": "boolean"
        }
      },
      "required": [
        "review_id",
        "expected_revision"
      ],
      "title": "ShareCreate",
      "type": "object"
    },
    "SharePage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/Share"
          },
          "title": "Items",
          "type": "array"
        },
        "total": {
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "title": "Pages",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages"
      ],
      "title": "SharePage",
      "type": "object"
    },
    "ShareReview": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Revision",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "message_count": {
          "title": "Message Count",
          "type": "integer"
        },
        "source_count": {
          "title": "Source Count",
          "type": "integer"
        },
        "messages": {
          "items": {
            "$ref": "#/$defs/ConversationMessage"
          },
          "title": "Messages",
          "type": "array"
        },
        "sources": {
          "items": {
            "$ref": "#/$defs/SourceReference"
          },
          "title": "Sources",
          "type": "array"
        },
        "source_manifest_complete": {
          "title": "Source Manifest Complete",
          "type": "boolean"
        },
        "remembered_context_present": {
          "default": false,
          "title": "Remembered Context Present",
          "type": "boolean"
        },
        "recipient_policy": {
          "const": "organization_current_acl",
          "default": "organization_current_acl",
          "title": "Recipient Policy",
          "type": "string"
        },
        "omissions": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Omissions",
          "type": "array"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "identity": {
          "anyOf": [
            {
              "$ref": "#/$defs/ConversationIdentity"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "revision",
        "title",
        "message_count",
        "source_count",
        "messages",
        "sources",
        "source_manifest_complete",
        "expires_at"
      ],
      "title": "ShareReview",
      "type": "object"
    },
    "ShareReviewInput": {
      "additionalProperties": false,
      "properties": {
        "thread_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Thread Id",
          "type": "string"
        },
        "message_ids": {
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 200,
          "minItems": 1,
          "title": "Message Ids",
          "type": "array"
        }
      },
      "required": [
        "thread_id",
        "message_ids"
      ],
      "title": "ShareReviewInput",
      "type": "object"
    },
    "SharedConversation": {
      "additionalProperties": true,
      "properties": {
        "share": {
          "$ref": "#/$defs/Share"
        },
        "messages": {
          "items": {
            "$ref": "#/$defs/ConversationMessage"
          },
          "title": "Messages",
          "type": "array"
        },
        "sources": {
          "items": {
            "$ref": "#/$defs/SourceReference"
          },
          "title": "Sources",
          "type": "array"
        },
        "source_manifest_complete": {
          "title": "Source Manifest Complete",
          "type": "boolean"
        },
        "identity": {
          "anyOf": [
            {
              "$ref": "#/$defs/ConversationIdentity"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "share",
        "messages",
        "sources",
        "source_manifest_complete"
      ],
      "title": "SharedConversation",
      "type": "object"
    },
    "SourceReference": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "asset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Asset Id",
          "type": "string"
        },
        "source_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Id"
        },
        "title": {
          "maxLength": 255,
          "minLength": 1,
          "title": "Title",
          "type": "string"
        },
        "kind": {
          "enum": [
            "document",
            "dataset",
            "knowledge_version"
          ],
          "title": "Kind",
          "type": "string"
        },
        "knowledge_item_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Knowledge Item Id"
        },
        "knowledge_version_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Knowledge Version Id"
        },
        "knowledge_version": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Knowledge Version"
        },
        "source_version_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Version Id"
        },
        "extraction_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Extraction Id"
        },
        "source_part_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Part Id"
        },
        "source_part_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Part Sha256"
        },
        "recorded_page": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recorded Page"
        },
        "page_basis": {
          "anyOf": [
            {
              "const": "recorded_loader",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page Basis"
        },
        "used_revision": {
          "anyOf": [
            {
              "maxLength": 128,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Used Revision"
        },
        "snapshot_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Snapshot Id"
        },
        "query_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Query Id"
        },
        "chunk_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Chunk Id"
        },
        "page": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Page"
        },
        "section": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Section"
        },
        "quote": {
          "anyOf": [
            {
              "maxLength": 8000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Quote"
        },
        "current_revision": {
          "anyOf": [
            {
              "maxLength": 128,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Current Revision"
        },
        "availability": {
          "default": "unverified",
          "enum": [
            "available",
            "changed",
            "unverified"
          ],
          "title": "Availability",
          "type": "string"
        }
      },
      "required": [
        "id",
        "asset_id",
        "title",
        "kind"
      ],
      "title": "SourceReference",
      "type": "object"
    },
    "SqlAttemptReceipt": {
      "additionalProperties": true,
      "properties": {
        "result_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Result Id",
          "type": "string"
        },
        "generation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Generation Id"
        },
        "ordinal": {
          "maximum": 1000,
          "minimum": 1,
          "title": "Ordinal",
          "type": "integer"
        },
        "stage": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Stage",
          "type": "string"
        },
        "statement_sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Statement Sha256",
          "type": "string"
        },
        "statement": {
          "anyOf": [
            {
              "maxLength": 32768,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Statement"
        },
        "classification": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Classification"
        },
        "outcome": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Outcome",
          "type": "string"
        },
        "executed": {
          "title": "Executed",
          "type": "boolean"
        },
        "snapshot_pins": {
          "additionalProperties": {
            "type": "string"
          },
          "maxProperties": 500,
          "title": "Snapshot Pins",
          "type": "object"
        },
        "row_count": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "truncated": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Truncated"
        },
        "reason_code": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason Code"
        },
        "engine": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Engine"
        },
        "database": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Database"
        },
        "catalog": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Catalog"
        },
        "schema": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Schema"
        },
        "execution_kind": {
          "anyOf": [
            {
              "enum": [
                "imported_snapshot",
                "computed"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Execution Kind"
        },
        "dataset_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Dataset Id"
        },
        "native_dataset_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Native Dataset Id"
        },
        "tables": {
          "items": {
            "$ref": "#/$defs/NativeTableSnapshot"
          },
          "maxItems": 500,
          "title": "Tables",
          "type": "array"
        }
      },
      "required": [
        "result_id",
        "ordinal",
        "stage",
        "statement_sha256",
        "outcome",
        "executed"
      ],
      "title": "SqlAttemptReceipt",
      "type": "object"
    },
    "StagedFileReceipt": {
      "additionalProperties": true,
      "properties": {
        "receipt_id": {
          "title": "Receipt Id",
          "type": "string"
        },
        "batch_id": {
          "title": "Batch Id",
          "type": "string"
        },
        "item_id": {
          "title": "Item Id",
          "type": "string"
        },
        "sha256": {
          "title": "Sha256",
          "type": "string"
        },
        "size_bytes": {
          "title": "Size Bytes",
          "type": "integer"
        },
        "status": {
          "const": "staged",
          "default": "staged",
          "title": "Status",
          "type": "string"
        }
      },
      "required": [
        "receipt_id",
        "batch_id",
        "item_id",
        "sha256",
        "size_bytes"
      ],
      "title": "StagedFileReceipt",
      "type": "object"
    },
    "StoredResult": {
      "additionalProperties": true,
      "properties": {
        "query_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Query Id",
          "type": "string"
        },
        "asset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Asset Id",
          "type": "string"
        },
        "revision": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Revision",
          "type": "string"
        },
        "row_count": {
          "minimum": 0,
          "title": "Row Count",
          "type": "integer"
        },
        "row_cap": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Row Cap"
        },
        "truncated": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Truncated"
        },
        "completeness": {
          "default": "unknown",
          "enum": [
            "bounded",
            "unknown"
          ],
          "title": "Completeness",
          "type": "string"
        },
        "byte_size": {
          "minimum": 0,
          "title": "Byte Size",
          "type": "integer"
        },
        "columns": {
          "default": [],
          "items": {
            "$ref": "#/$defs/ResultColumn"
          },
          "maxItems": 2000,
          "title": "Columns",
          "type": "array"
        },
        "snapshot_ids": {
          "default": [],
          "items": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 500,
          "title": "Snapshot Ids",
          "type": "array"
        },
        "snapshot_manifest_complete": {
          "default": false,
          "title": "Snapshot Manifest Complete",
          "type": "boolean"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        }
      },
      "required": [
        "query_id",
        "asset_id",
        "revision",
        "row_count",
        "row_cap",
        "truncated",
        "byte_size",
        "expires_at"
      ],
      "title": "StoredResult",
      "type": "object"
    },
    "StreamEvent": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "data": {
          "$ref": "#/$defs/ChatEventData"
        }
      },
      "required": [
        "id",
        "type",
        "data"
      ],
      "title": "StreamEvent",
      "type": "object"
    },
    "StructuredEvidence": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "const": "structured_snapshot",
          "default": "structured_snapshot",
          "title": "Kind",
          "type": "string"
        },
        "source": {
          "$ref": "#/$defs/SourceReference"
        },
        "basis": {
          "default": "direct",
          "enum": [
            "direct",
            "remembered_context"
          ],
          "title": "Basis",
          "type": "string"
        }
      },
      "required": [
        "source"
      ],
      "title": "StructuredEvidence",
      "type": "object"
    },
    "StructuredKnowledgeBounds": {
      "additionalProperties": false,
      "properties": {
        "top_k_schema": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "top_k_examples": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "top_k_metrics": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "rrf_k": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "generation_candidates": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "max_refine_retries": {
          "$ref": "#/$defs/KnowledgeIntegerBounds"
        },
        "grounding_min_confidence": {
          "$ref": "#/$defs/KnowledgeNumberBounds"
        }
      },
      "required": [
        "top_k_schema",
        "top_k_examples",
        "top_k_metrics",
        "rrf_k",
        "generation_candidates",
        "max_refine_retries",
        "grounding_min_confidence"
      ],
      "title": "StructuredKnowledgeBounds",
      "type": "object"
    },
    "StructuredKnowledgeCapabilities": {
      "additionalProperties": false,
      "properties": {
        "bounds": {
          "$ref": "#/$defs/StructuredKnowledgeBounds"
        }
      },
      "required": [
        "bounds"
      ],
      "title": "StructuredKnowledgeCapabilities",
      "type": "object"
    },
    "StructuredKnowledgeSettings": {
      "additionalProperties": false,
      "properties": {
        "top_k_schema": {
          "maximum": 100,
          "minimum": 1,
          "title": "Top K Schema",
          "type": "integer"
        },
        "top_k_examples": {
          "maximum": 50,
          "minimum": 0,
          "title": "Top K Examples",
          "type": "integer"
        },
        "top_k_metrics": {
          "maximum": 50,
          "minimum": 0,
          "title": "Top K Metrics",
          "type": "integer"
        },
        "rrf_k": {
          "maximum": 1000,
          "minimum": 1,
          "title": "Rrf K",
          "type": "integer"
        },
        "generation_candidates": {
          "maximum": 8,
          "minimum": 1,
          "title": "Generation Candidates",
          "type": "integer"
        },
        "max_refine_retries": {
          "maximum": 8,
          "minimum": 0,
          "title": "Max Refine Retries",
          "type": "integer"
        },
        "grounding_min_confidence": {
          "maximum": 1,
          "minimum": 0,
          "title": "Grounding Min Confidence",
          "type": "number"
        }
      },
      "required": [
        "top_k_schema",
        "top_k_examples",
        "top_k_metrics",
        "rrf_k",
        "generation_candidates",
        "max_refine_retries",
        "grounding_min_confidence"
      ],
      "title": "StructuredKnowledgeSettings",
      "type": "object"
    },
    "SystemArtifact": {
      "additionalProperties": true,
      "properties": {
        "component": {
          "enum": [
            "backend",
            "documents",
            "structured",
            "storage",
            "python-sdk",
            "framework"
          ],
          "title": "Component",
          "type": "string"
        },
        "kind": {
          "enum": [
            "license",
            "notice",
            "sbom"
          ],
          "title": "Kind",
          "type": "string"
        },
        "present": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Present"
        },
        "sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sha256"
        },
        "content_type": {
          "anyOf": [
            {
              "enum": [
                "text/plain",
                "application/json"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Content Type"
        }
      },
      "required": [
        "component",
        "kind"
      ],
      "title": "SystemArtifact",
      "type": "object"
    },
    "SystemCapabilities": {
      "additionalProperties": true,
      "properties": {
        "knowledge_enabled": {
          "title": "Knowledge Enabled",
          "type": "boolean"
        },
        "mcp_enabled": {
          "title": "Mcp Enabled",
          "type": "boolean"
        },
        "communications_enabled": {
          "title": "Communications Enabled",
          "type": "boolean"
        },
        "scheduled_consumers_enabled": {
          "title": "Scheduled Consumers Enabled",
          "type": "boolean"
        }
      },
      "required": [
        "knowledge_enabled",
        "mcp_enabled",
        "communications_enabled",
        "scheduled_consumers_enabled"
      ],
      "title": "SystemCapabilities",
      "type": "object"
    },
    "SystemComponentVersion": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "enum": [
            "backend",
            "documents",
            "structured",
            "storage",
            "python-sdk",
            "framework"
          ],
          "title": "Id",
          "type": "string"
        },
        "distribution": {
          "enum": [
            "firefly-koinon",
            "firefly-koinon-documents",
            "firefly-koinon-structured",
            "firefly-koinon-storage",
            "firefly-koinon-sdk",
            "pyfly"
          ],
          "title": "Distribution",
          "type": "string"
        },
        "version": {
          "anyOf": [
            {
              "maxLength": 64,
              "pattern": "^[A-Za-z0-9.!+_-]+$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Version"
        },
        "available": {
          "title": "Available",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "distribution",
        "available"
      ],
      "title": "SystemComponentVersion",
      "type": "object"
    },
    "SystemInformation": {
      "additionalProperties": true,
      "properties": {
        "tenant_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Tenant Id",
          "type": "string"
        },
        "checked_at": {
          "format": "date-time",
          "title": "Checked At",
          "type": "string"
        },
        "product": {
          "const": "koinon",
          "default": "koinon",
          "title": "Product",
          "type": "string"
        },
        "components": {
          "items": {
            "$ref": "#/$defs/SystemComponentVersion"
          },
          "maxItems": 6,
          "title": "Components",
          "type": "array"
        },
        "serving_role": {
          "enum": [
            "api",
            "worker",
            "unknown"
          ],
          "title": "Serving Role",
          "type": "string"
        },
        "capabilities": {
          "$ref": "#/$defs/SystemCapabilities"
        },
        "limits": {
          "items": {
            "$ref": "#/$defs/SystemLimit"
          },
          "maxItems": 10,
          "title": "Limits",
          "type": "array"
        },
        "build_revision": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{40}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Build Revision"
        },
        "license_expression": {
          "const": "Apache-2.0",
          "default": "Apache-2.0",
          "title": "License Expression",
          "type": "string"
        },
        "copyright": {
          "const": "Copyright 2026 Firefly Software Foundation",
          "default": "Copyright 2026 Firefly Software Foundation",
          "title": "Copyright",
          "type": "string"
        },
        "artifacts": {
          "items": {
            "$ref": "#/$defs/SystemArtifact"
          },
          "maxItems": 18,
          "title": "Artifacts",
          "type": "array"
        }
      },
      "required": [
        "tenant_id",
        "checked_at",
        "components",
        "serving_role",
        "capabilities",
        "limits",
        "artifacts"
      ],
      "title": "SystemInformation",
      "type": "object"
    },
    "SystemLimit": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "enum": [
            "api_capacity",
            "worker_capacity",
            "worker_concurrency",
            "max_index_workspaces",
            "mcp_max_concurrency",
            "mcp_max_request_bytes",
            "mcp_max_response_bytes",
            "ingestion_raw_max_bytes",
            "ingestion_scratch_max_bytes",
            "ingestion_child_rss_max_bytes"
          ],
          "title": "Id",
          "type": "string"
        },
        "value": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Value",
          "type": "integer"
        },
        "unit": {
          "enum": [
            "operations",
            "bytes",
            "workspaces"
          ],
          "title": "Unit",
          "type": "string"
        },
        "scope": {
          "enum": [
            "process",
            "file"
          ],
          "title": "Scope",
          "type": "string"
        }
      },
      "required": [
        "id",
        "value",
        "unit",
        "scope"
      ],
      "title": "SystemLimit",
      "type": "object"
    },
    "TableColumnBindingPage": {
      "additionalProperties": true,
      "properties": {
        "manifest": {
          "$ref": "#/$defs/TableCoordinateManifest"
        },
        "total": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/CoordinateColumnBinding"
          },
          "maxItems": 100,
          "title": "Items",
          "type": "array"
        }
      },
      "required": [
        "manifest",
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous",
        "items"
      ],
      "title": "TableColumnBindingPage",
      "type": "object"
    },
    "TableCoordinateManifest": {
      "additionalProperties": true,
      "properties": {
        "dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Dataset Id",
          "type": "string"
        },
        "table_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Table Id",
          "type": "string"
        },
        "native_dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Dataset Id",
          "type": "string"
        },
        "native_table_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Table Id",
          "type": "string"
        },
        "snapshot_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Snapshot Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "complete",
            "partial",
            "not_recorded"
          ],
          "title": "Status",
          "type": "string"
        },
        "index_base": {
          "default": 0,
          "maximum": 0,
          "minimum": 0,
          "title": "Index Base",
          "type": "integer"
        },
        "row_count": {
          "anyOf": [
            {
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "column_count": {
          "anyOf": [
            {
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Column Count"
        },
        "artifact_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Artifact Id"
        },
        "run_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Run Id"
        },
        "input_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Input Sha256"
        },
        "mapping_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Mapping Sha256"
        },
        "source_format": {
          "anyOf": [
            {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Format"
        },
        "source_variant": {
          "anyOf": [
            {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Variant"
        },
        "row_kind": {
          "anyOf": [
            {
              "enum": [
                "record",
                "sheet_row",
                "json_array",
                "jsonl_record",
                "single_object"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Kind"
        },
        "source_sheet": {
          "anyOf": [
            {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Sheet"
        },
        "source_path": {
          "default": [],
          "items": {
            "anyOf": [
              {
                "maxLength": 4096,
                "type": "string"
              },
              {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              }
            ]
          },
          "maxItems": 64,
          "title": "Source Path",
          "type": "array"
        },
        "parser_decisions": {
          "default": [],
          "items": {
            "$ref": "#/$defs/CoordinateParserDecision"
          },
          "maxItems": 128,
          "title": "Parser Decisions",
          "type": "array"
        },
        "dependencies": {
          "default": [],
          "items": {
            "$ref": "#/$defs/CoordinateDependency"
          },
          "maxItems": 128,
          "title": "Dependencies",
          "type": "array"
        },
        "reason_code": {
          "anyOf": [
            {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reason Code"
        },
        "rejected_source_rows": {
          "default": [],
          "items": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "maxItems": 1024,
          "title": "Rejected Source Rows",
          "type": "array"
        }
      },
      "required": [
        "dataset_id",
        "table_id",
        "native_dataset_id",
        "native_table_id",
        "snapshot_id",
        "status"
      ],
      "title": "TableCoordinateManifest",
      "type": "object"
    },
    "TableCoordinateSelection": {
      "additionalProperties": true,
      "properties": {
        "manifest": {
          "$ref": "#/$defs/TableCoordinateManifest"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/CoordinateSourceCell"
          },
          "maxItems": 1000,
          "title": "Items",
          "type": "array"
        }
      },
      "required": [
        "manifest",
        "items"
      ],
      "title": "TableCoordinateSelection",
      "type": "object"
    },
    "TableProvenance": {
      "additionalProperties": true,
      "properties": {
        "dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Dataset Id",
          "type": "string"
        },
        "table_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Table Id",
          "type": "string"
        },
        "native_dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Dataset Id",
          "type": "string"
        },
        "native_table_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Table Id",
          "type": "string"
        },
        "snapshot_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Snapshot Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "recorded",
            "not_recorded"
          ],
          "title": "Status",
          "type": "string"
        },
        "snapshot_status": {
          "enum": [
            "PARTIAL",
            "READY",
            "FAILED"
          ],
          "title": "Snapshot Status",
          "type": "string"
        },
        "level": {
          "const": "file_section",
          "title": "Level",
          "type": "string"
        },
        "operation": {
          "anyOf": [
            {
              "enum": [
                "upload",
                "replace",
                "reingest"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Operation"
        },
        "predecessor_snapshot_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Predecessor Snapshot Id"
        },
        "artifact": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProvenanceArtifact"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "sheet_or_json_path": {
          "anyOf": [
            {
              "maxLength": 4096,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sheet Or Json Path"
        },
        "table_label": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Table Label"
        },
        "parquet_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parquet Sha256"
        },
        "parquet_byte_size": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parquet Byte Size"
        },
        "schema_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Schema Sha256"
        },
        "row_count": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "actor": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Actor"
        },
        "recorded_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recorded At"
        },
        "run_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Run Id"
        },
        "reader_implementation": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reader Implementation"
        },
        "reader_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reader Sha256"
        },
        "parser_parameters": {
          "anyOf": [
            {
              "additionalProperties": {
                "$ref": "#/$defs/JsonValue"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parser Parameters"
        },
        "steps": {
          "default": [],
          "items": {
            "$ref": "#/$defs/ProvenanceTransformStep"
          },
          "maxItems": 64,
          "title": "Steps",
          "type": "array"
        }
      },
      "required": [
        "dataset_id",
        "table_id",
        "native_dataset_id",
        "native_table_id",
        "snapshot_id",
        "status",
        "snapshot_status",
        "level"
      ],
      "title": "TableProvenance",
      "type": "object"
    },
    "TableReingestInput": {
      "additionalProperties": false,
      "properties": {},
      "title": "TableReingestInput",
      "type": "object"
    },
    "TableRowRangePage": {
      "additionalProperties": true,
      "properties": {
        "manifest": {
          "$ref": "#/$defs/TableCoordinateManifest"
        },
        "total": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/CoordinateRowRange"
          },
          "maxItems": 100,
          "title": "Items",
          "type": "array"
        }
      },
      "required": [
        "manifest",
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous",
        "items"
      ],
      "title": "TableRowRangePage",
      "type": "object"
    },
    "TableSnapshotPage": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/TableSnapshotSummary"
          },
          "maxItems": 100,
          "title": "Items",
          "type": "array"
        },
        "total": {
          "minimum": 0,
          "title": "Total",
          "type": "integer"
        },
        "page": {
          "minimum": 1,
          "title": "Page",
          "type": "integer"
        },
        "page_size": {
          "maximum": 100,
          "minimum": 1,
          "title": "Page Size",
          "type": "integer"
        },
        "pages": {
          "minimum": 0,
          "title": "Pages",
          "type": "integer"
        },
        "has_next": {
          "title": "Has Next",
          "type": "boolean"
        },
        "has_previous": {
          "title": "Has Previous",
          "type": "boolean"
        },
        "current_snapshot_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Current Snapshot Id"
        }
      },
      "required": [
        "items",
        "total",
        "page",
        "page_size",
        "pages",
        "has_next",
        "has_previous",
        "current_snapshot_id"
      ],
      "title": "TableSnapshotPage",
      "type": "object"
    },
    "TableSnapshotSummary": {
      "additionalProperties": true,
      "properties": {
        "dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Dataset Id",
          "type": "string"
        },
        "table_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Table Id",
          "type": "string"
        },
        "native_dataset_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Dataset Id",
          "type": "string"
        },
        "native_table_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Native Table Id",
          "type": "string"
        },
        "snapshot_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Snapshot Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "recorded",
            "not_recorded"
          ],
          "title": "Status",
          "type": "string"
        },
        "snapshot_status": {
          "enum": [
            "PARTIAL",
            "READY",
            "FAILED"
          ],
          "title": "Snapshot Status",
          "type": "string"
        },
        "level": {
          "const": "file_section",
          "title": "Level",
          "type": "string"
        },
        "operation": {
          "anyOf": [
            {
              "enum": [
                "upload",
                "replace",
                "reingest"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Operation"
        },
        "predecessor_snapshot_id": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Predecessor Snapshot Id"
        },
        "artifact": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProvenanceArtifact"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "sheet_or_json_path": {
          "anyOf": [
            {
              "maxLength": 4096,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sheet Or Json Path"
        },
        "table_label": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Table Label"
        },
        "parquet_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parquet Sha256"
        },
        "parquet_byte_size": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parquet Byte Size"
        },
        "schema_sha256": {
          "anyOf": [
            {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Schema Sha256"
        },
        "row_count": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Row Count"
        },
        "actor": {
          "anyOf": [
            {
              "maxLength": 512,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Actor"
        },
        "recorded_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Recorded At"
        }
      },
      "required": [
        "dataset_id",
        "table_id",
        "native_dataset_id",
        "native_table_id",
        "snapshot_id",
        "status",
        "snapshot_status",
        "level"
      ],
      "title": "TableSnapshotSummary",
      "type": "object"
    },
    "TenantContext": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "roles": {
          "items": {
            "type": "string"
          },
          "title": "Roles",
          "type": "array"
        },
        "permissions": {
          "items": {
            "type": "string"
          },
          "title": "Permissions",
          "type": "array"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "title": "TenantContext",
      "type": "object"
    },
    "ThreadInput": {
      "additionalProperties": false,
      "properties": {
        "folder_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Folder Id"
        },
        "title": {
          "default": "New conversation",
          "title": "Title",
          "type": "string"
        },
        "scope": {
          "anyOf": [
            {
              "$ref": "#/$defs/KnowledgeScope"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "title": "ThreadInput",
      "type": "object"
    },
    "ThreadPatch": {
      "additionalProperties": false,
      "properties": {
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Title"
        },
        "folder_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Folder Id"
        },
        "archived": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Archived"
        }
      },
      "required": [
        "expected_revision"
      ],
      "title": "ThreadPatch",
      "type": "object"
    },
    "TitleRequest": {
      "additionalProperties": false,
      "properties": {
        "agent_id": {
          "title": "Agent Id",
          "type": "string"
        },
        "expected_revision": {
          "minimum": 1,
          "title": "Expected Revision",
          "type": "integer"
        }
      },
      "required": [
        "agent_id",
        "expected_revision"
      ],
      "title": "TitleRequest",
      "type": "object"
    },
    "TitleSuggestion": {
      "additionalProperties": true,
      "properties": {
        "title": {
          "title": "Title",
          "type": "string"
        },
        "based_on_revision": {
          "title": "Based On Revision",
          "type": "integer"
        }
      },
      "required": [
        "title",
        "based_on_revision"
      ],
      "title": "TitleSuggestion",
      "type": "object"
    },
    "TokenCreated": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "prefix": {
          "title": "Prefix",
          "type": "string"
        },
        "scopes": {
          "items": {
            "type": "string"
          },
          "title": "Scopes",
          "type": "array"
        },
        "workspace_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Ids"
        },
        "asset_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Asset Ids"
        },
        "expires_at": {
          "title": "Expires At",
          "type": "string"
        },
        "revoked_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Revoked At"
        },
        "last_used_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Last Used At"
        },
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "token": {
          "format": "password",
          "title": "Token",
          "type": "string",
          "writeOnly": true
        }
      },
      "required": [
        "id",
        "name",
        "tenant_id",
        "prefix",
        "scopes",
        "expires_at",
        "created_at",
        "token"
      ],
      "title": "TokenCreated",
      "type": "object"
    },
    "TokenInput": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "title": "Name",
          "type": "string"
        },
        "tenant_id": {
          "title": "Tenant Id",
          "type": "string"
        },
        "scopes": {
          "items": {
            "type": "string"
          },
          "title": "Scopes",
          "type": "array"
        },
        "expires_at": {
          "format": "date-time",
          "title": "Expires At",
          "type": "string"
        },
        "workspace_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Workspace Ids"
        },
        "asset_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Asset Ids"
        }
      },
      "required": [
        "name",
        "tenant_id",
        "scopes",
        "expires_at"
      ],
      "title": "TokenInput",
      "type": "object"
    },
    "TokenScope": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "dependencies": {
          "items": {
            "type": "string"
          },
          "title": "Dependencies",
          "type": "array"
        }
      },
      "required": [
        "id",
        "name",
        "dependencies"
      ],
      "title": "TokenScope",
      "type": "object"
    },
    "TokenScopeOptions": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/TokenScope"
          },
          "title": "Items",
          "type": "array"
        },
        "max_lifetime_days": {
          "title": "Max Lifetime Days",
          "type": "integer"
        },
        "max_active_per_user": {
          "title": "Max Active Per User",
          "type": "integer"
        }
      },
      "required": [
        "items",
        "max_lifetime_days",
        "max_active_per_user"
      ],
      "title": "TokenScopeOptions",
      "type": "object"
    },
    "ToolActivity": {
      "additionalProperties": true,
      "properties": {
        "call_id": {
          "title": "Call Id",
          "type": "string"
        },
        "tool_name": {
          "enum": [
            "search_knowledge",
            "inspect_schema",
            "query_dataset",
            "search_private_attachments",
            "propose_catalog_update"
          ],
          "title": "Tool Name",
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "running",
            "completed",
            "failed",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "occurred_at": {
          "title": "Occurred At",
          "type": "string"
        },
        "started_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Started At"
        },
        "finished_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Finished At"
        },
        "duration_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Duration Ms"
        },
        "summary": {
          "title": "Summary",
          "type": "string"
        },
        "result_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Result Id"
        }
      },
      "required": [
        "call_id",
        "tool_name",
        "status",
        "occurred_at",
        "summary"
      ],
      "title": "ToolActivity",
      "type": "object"
    },
    "UploadResponse": {
      "additionalProperties": true,
      "properties": {
        "source": {
          "$ref": "#/$defs/CatalogEntry"
        },
        "assets": {
          "items": {
            "$ref": "#/$defs/CatalogEntry"
          },
          "title": "Assets",
          "type": "array"
        },
        "job_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Job Id"
        }
      },
      "required": [
        "source",
        "assets"
      ],
      "title": "UploadResponse",
      "type": "object"
    },
    "UsageSummary": {
      "additionalProperties": true,
      "properties": {
        "total_input_tokens": {
          "default": 0,
          "title": "Total Input Tokens",
          "type": "integer"
        },
        "total_output_tokens": {
          "default": 0,
          "title": "Total Output Tokens",
          "type": "integer"
        },
        "total_tokens": {
          "default": 0,
          "title": "Total Tokens",
          "type": "integer"
        },
        "total_cost_usd": {
          "default": 0,
          "title": "Total Cost Usd",
          "type": "number"
        },
        "total_latency_ms": {
          "default": 0,
          "title": "Total Latency Ms",
          "type": "number"
        },
        "by_agent": {
          "items": {
            "$ref": "#/$defs/AgentUsage"
          },
          "title": "By Agent",
          "type": "array"
        }
      },
      "title": "UsageSummary",
      "type": "object"
    },
    "UserProfile": {
      "additionalProperties": true,
      "properties": {
        "preferences_initialized": {
          "default": true,
          "title": "Preferences Initialized",
          "type": "boolean"
        },
        "subject": {
          "title": "Subject",
          "type": "string"
        },
        "display_name": {
          "title": "Display Name",
          "type": "string"
        },
        "locale": {
          "title": "Locale",
          "type": "string"
        },
        "time_zone": {
          "title": "Time Zone",
          "type": "string"
        },
        "response_language": {
          "title": "Response Language",
          "type": "string"
        },
        "avatar_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Url"
        },
        "avatar_version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Avatar Version"
        }
      },
      "required": [
        "subject",
        "display_name",
        "locale",
        "time_zone",
        "response_language"
      ],
      "title": "UserProfile",
      "type": "object"
    },
    "UserStatementEvidence": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "const": "user_statement",
          "default": "user_statement",
          "title": "Kind",
          "type": "string"
        },
        "text": {
          "maxLength": 262144,
          "minLength": 1,
          "title": "Text",
          "type": "string"
        },
        "sha256": {
          "pattern": "^[a-f0-9]{64}$",
          "title": "Sha256",
          "type": "string"
        },
        "author_subject": {
          "maxLength": 512,
          "minLength": 1,
          "title": "Author Subject",
          "type": "string"
        },
        "recorded_at": {
          "format": "date-time",
          "title": "Recorded At",
          "type": "string"
        },
        "authority": {
          "const": "user_authored",
          "default": "user_authored",
          "title": "Authority",
          "type": "string"
        }
      },
      "required": [
        "text",
        "sha256",
        "author_subject",
        "recorded_at"
      ],
      "title": "UserStatementEvidence",
      "type": "object"
    },
    "UserStatementOrigin": {
      "additionalProperties": true,
      "properties": {
        "kind": {
          "const": "user_statement",
          "title": "Kind",
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "title": "UserStatementOrigin",
      "type": "object"
    },
    "ValidationResult": {
      "additionalProperties": true,
      "properties": {
        "connected": {
          "default": false,
          "title": "Connected",
          "type": "boolean"
        },
        "discovered": {
          "default": false,
          "title": "Discovered",
          "type": "boolean"
        },
        "provider_id": {
          "title": "Provider Id",
          "type": "string"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "status": {
          "enum": [
            "ready",
            "needs_setup",
            "unverified"
          ],
          "title": "Status",
          "type": "string"
        },
        "checks": {
          "items": {
            "$ref": "#/$defs/SetupCheck"
          },
          "title": "Checks",
          "type": "array"
        }
      },
      "required": [
        "provider_id",
        "revision",
        "status",
        "checks"
      ],
      "title": "ValidationResult",
      "type": "object"
    },
    "VerifiedSenderOption": {
      "additionalProperties": true,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "display_name": {
          "title": "Display Name",
          "type": "string"
        },
        "address": {
          "title": "Address",
          "type": "string"
        }
      },
      "required": [
        "id",
        "display_name",
        "address"
      ],
      "title": "VerifiedSenderOption",
      "type": "object"
    },
    "WelcomeRecoveryAcknowledgement": {
      "additionalProperties": true,
      "properties": {
        "original_delivery_id": {
          "title": "Original Delivery Id",
          "type": "string"
        },
        "delivery_id": {
          "title": "Delivery Id",
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "sending",
            "sent",
            "delivered",
            "deferred",
            "failed",
            "suppressed",
            "cancelled",
            "unknown"
          ],
          "title": "Status",
          "type": "string"
        },
        "possible_original_late_arrival": {
          "const": true,
          "default": true,
          "title": "Possible Original Late Arrival",
          "type": "boolean"
        }
      },
      "required": [
        "original_delivery_id",
        "delivery_id",
        "status"
      ],
      "title": "WelcomeRecoveryAcknowledgement",
      "type": "object"
    },
    "WelcomeRecoveryInput": {
      "additionalProperties": false,
      "properties": {
        "expected_generation": {
          "minimum": 0,
          "title": "Expected Generation",
          "type": "integer"
        },
        "contact_id": {
          "maxLength": 64,
          "minLength": 1,
          "title": "Contact Id",
          "type": "string"
        },
        "expected_contact_revision": {
          "minimum": 1,
          "title": "Expected Contact Revision",
          "type": "integer"
        },
        "reason": {
          "const": "recipient_reported_not_received",
          "title": "Reason",
          "type": "string"
        },
        "acknowledge_possible_duplicate": {
          "const": true,
          "title": "Acknowledge Possible Duplicate",
          "type": "boolean"
        }
      },
      "required": [
        "expected_generation",
        "contact_id",
        "expected_contact_revision",
        "reason",
        "acknowledge_possible_duplicate"
      ],
      "title": "WelcomeRecoveryInput",
      "type": "object"
    },
    "KnowledgeCommitOutcome": {
      "discriminator": {
        "mapping": {
          "committed": "#/$defs/CommittedKnowledge",
          "pending": "#/$defs/PendingKnowledgeCommit"
        },
        "propertyName": "status"
      },
      "oneOf": [
        {
          "$ref": "#/$defs/CommittedKnowledge"
        },
        {
          "$ref": "#/$defs/PendingKnowledgeCommit"
        }
      ]
    },
    "BinaryDownload": {
      "description": "Authenticated HTTP binary response. SDK metadata wrapper includes bytes/blob, Content-Type, ETag, RFC5987 filename and not_modified. Only authorized avatar304 is accepted.",
      "type": "string",
      "contentEncoding": "binary"
    },
    "AttachmentUpload": {
      "type": "object",
      "required": [
        "file"
      ],
      "properties": {
        "file": {
          "type": "string",
          "contentEncoding": "binary"
        }
      }
    },
    "DatasetFileUpload": {
      "type": "object",
      "required": [
        "file"
      ],
      "additionalProperties": false,
      "properties": {
        "file": {
          "type": "string",
          "contentEncoding": "binary"
        }
      }
    },
    "BulkFileUpload": {
      "type": "string",
      "contentEncoding": "binary",
      "description": "Exact admitted original bytes, 1..134217728 bytes; raw application/octet-stream, never JSON/base64/multipart."
    },
    "AvatarUpload": {
      "type": "string",
      "contentEncoding": "binary",
      "description": "Raw PNG/JPEG/WebP, at most2MiB; server sanitizes to JPEG."
    },
    "SourceUpload": {
      "type": "object",
      "required": [
        "file",
        "workspace_id",
        "project_id",
        "parent_id",
        "mode"
      ],
      "properties": {
        "file": {
          "type": "string",
          "contentEncoding": "binary"
        },
        "workspace_id": {
          "type": "string"
        },
        "project_id": {
          "type": "string"
        },
        "parent_id": {
          "type": "string"
        },
        "mode": {
          "enum": [
            "document",
            "dataset"
          ]
        }
      }
    },
    "DocumentReplacement": {
      "type": "object",
      "required": [
        "file"
      ],
      "properties": {
        "file": {
          "type": "string",
          "contentEncoding": "binary"
        },
        "acknowledge_chunk_invalidation": {
          "enum": [
            "true",
            "false"
          ],
          "default": "false"
        }
      }
    },
    "TableReplacement": {
      "type": "object",
      "required": [
        "file"
      ],
      "properties": {
        "file": {
          "type": "string",
          "contentEncoding": "binary"
        }
      }
    }
  },
  "models": {
    "PlatformValue": {
      "$ref": "#/$defs/PlatformValue"
    },
    "HealthCounts": {
      "$ref": "#/$defs/HealthCounts"
    },
    "HealthComponent": {
      "$ref": "#/$defs/HealthComponent"
    },
    "HealthSummary": {
      "$ref": "#/$defs/HealthSummary"
    },
    "PlatformHealth": {
      "$ref": "#/$defs/PlatformHealth"
    },
    "SystemComponentVersion": {
      "$ref": "#/$defs/SystemComponentVersion"
    },
    "SystemCapabilities": {
      "$ref": "#/$defs/SystemCapabilities"
    },
    "SystemLimit": {
      "$ref": "#/$defs/SystemLimit"
    },
    "SystemArtifact": {
      "$ref": "#/$defs/SystemArtifact"
    },
    "SystemInformation": {
      "$ref": "#/$defs/SystemInformation"
    },
    "AvailabilityRequest": {
      "$ref": "#/$defs/AvailabilityRequest"
    },
    "AvailabilityCapability": {
      "$ref": "#/$defs/AvailabilityCapability"
    },
    "AvailabilityRevision": {
      "$ref": "#/$defs/AvailabilityRevision"
    },
    "AvailabilityAttempt": {
      "$ref": "#/$defs/AvailabilityAttempt"
    },
    "AssetAvailability": {
      "$ref": "#/$defs/AssetAvailability"
    },
    "AvailabilityResponse": {
      "$ref": "#/$defs/AvailabilityResponse"
    },
    "ProcessingRequest": {
      "$ref": "#/$defs/ProcessingRequest"
    },
    "ProcessingActivity": {
      "$ref": "#/$defs/ProcessingActivity"
    },
    "ProcessingResponse": {
      "$ref": "#/$defs/ProcessingResponse"
    },
    "Input": {
      "$ref": "#/$defs/Input"
    },
    "Output": {
      "$ref": "#/$defs/Output"
    },
    "DirectoryRecipient": {
      "$ref": "#/$defs/DirectoryRecipient"
    },
    "DirectoryRecipientPage": {
      "$ref": "#/$defs/DirectoryRecipientPage"
    },
    "RecipientProvider": {
      "$ref": "#/$defs/RecipientProvider"
    },
    "RecipientProviderPage": {
      "$ref": "#/$defs/RecipientProviderPage"
    },
    "EmailInvitationInput": {
      "$ref": "#/$defs/EmailInvitationInput"
    },
    "InvitationDelivery": {
      "$ref": "#/$defs/InvitationDelivery"
    },
    "EmailInvitation": {
      "$ref": "#/$defs/EmailInvitation"
    },
    "EmailInvitationPage": {
      "$ref": "#/$defs/EmailInvitationPage"
    },
    "InvitationReview": {
      "$ref": "#/$defs/InvitationReview"
    },
    "CommunicationUsageSummary": {
      "$ref": "#/$defs/CommunicationUsageSummary"
    },
    "EmailPreview": {
      "$ref": "#/$defs/EmailPreview"
    },
    "NotificationTarget": {
      "$ref": "#/$defs/NotificationTarget"
    },
    "NotificationDetails": {
      "$ref": "#/$defs/NotificationDetails"
    },
    "OwnNotification": {
      "$ref": "#/$defs/OwnNotification"
    },
    "OwnNotificationPage": {
      "$ref": "#/$defs/OwnNotificationPage"
    },
    "NotificationUnreadCount": {
      "$ref": "#/$defs/NotificationUnreadCount"
    },
    "NotificationPreferenceRule": {
      "$ref": "#/$defs/NotificationPreferenceRule"
    },
    "NotificationPreferenceRuleInput": {
      "$ref": "#/$defs/NotificationPreferenceRuleInput"
    },
    "DigestSchedule": {
      "$ref": "#/$defs/DigestSchedule"
    },
    "AdministrativeSummarySchedule": {
      "$ref": "#/$defs/AdministrativeSummarySchedule"
    },
    "DigestSchedulePreview": {
      "$ref": "#/$defs/DigestSchedulePreview"
    },
    "NotificationPreferences": {
      "$ref": "#/$defs/NotificationPreferences"
    },
    "NotificationPreferencesInput": {
      "$ref": "#/$defs/NotificationPreferencesInput"
    },
    "CommunicationPolicy": {
      "$ref": "#/$defs/CommunicationPolicy"
    },
    "CommunicationPolicyInput": {
      "$ref": "#/$defs/CommunicationPolicyInput"
    },
    "VerifiedSenderOption": {
      "$ref": "#/$defs/VerifiedSenderOption"
    },
    "CommunicationIssue": {
      "$ref": "#/$defs/CommunicationIssue"
    },
    "CommunicationCapabilities": {
      "$ref": "#/$defs/CommunicationCapabilities"
    },
    "DeliveryRecord": {
      "$ref": "#/$defs/DeliveryRecord"
    },
    "DeliveryPage": {
      "$ref": "#/$defs/DeliveryPage"
    },
    "ActivityEmailPreviewInput": {
      "$ref": "#/$defs/ActivityEmailPreviewInput"
    },
    "WelcomeRecoveryInput": {
      "$ref": "#/$defs/WelcomeRecoveryInput"
    },
    "WelcomeRecoveryAcknowledgement": {
      "$ref": "#/$defs/WelcomeRecoveryAcknowledgement"
    },
    "DeliveryOperationObservation": {
      "$ref": "#/$defs/DeliveryOperationObservation"
    },
    "DeliveryInspectionInput": {
      "$ref": "#/$defs/DeliveryInspectionInput"
    },
    "DeliveryRecoveryOptions": {
      "$ref": "#/$defs/DeliveryRecoveryOptions"
    },
    "DeliveryObservationPage": {
      "$ref": "#/$defs/DeliveryObservationPage"
    },
    "ActivityValue": {
      "$ref": "#/$defs/ActivityValue"
    },
    "ActivityWindow": {
      "$ref": "#/$defs/ActivityWindow"
    },
    "ObservedCount": {
      "$ref": "#/$defs/ObservedCount"
    },
    "ActivityCoverage": {
      "$ref": "#/$defs/ActivityCoverage"
    },
    "KnowledgeActivityCounts": {
      "$ref": "#/$defs/KnowledgeActivityCounts"
    },
    "ProjectActivity": {
      "$ref": "#/$defs/ProjectActivity"
    },
    "DailyActivity": {
      "$ref": "#/$defs/DailyActivity"
    },
    "McpActivityCounts": {
      "$ref": "#/$defs/McpActivityCounts"
    },
    "ObservedCost": {
      "$ref": "#/$defs/ObservedCost"
    },
    "ModelActivityCounts": {
      "$ref": "#/$defs/ModelActivityCounts"
    },
    "ActivitySummary": {
      "$ref": "#/$defs/ActivitySummary"
    },
    "AuthorSummary": {
      "$ref": "#/$defs/AuthorSummary"
    },
    "CatalogEntry": {
      "$ref": "#/$defs/CatalogEntry"
    },
    "CatalogMove": {
      "$ref": "#/$defs/CatalogMove"
    },
    "Membership": {
      "$ref": "#/$defs/Membership"
    },
    "InvitationInput": {
      "$ref": "#/$defs/InvitationInput"
    },
    "Invitation": {
      "$ref": "#/$defs/Invitation"
    },
    "InvitationCreated": {
      "$ref": "#/$defs/InvitationCreated"
    },
    "InvitationToken": {
      "$ref": "#/$defs/InvitationToken"
    },
    "InvitationPreview": {
      "$ref": "#/$defs/InvitationPreview"
    },
    "TenantContext": {
      "$ref": "#/$defs/TenantContext"
    },
    "ContextResponse": {
      "$ref": "#/$defs/ContextResponse"
    },
    "CatalogSummary": {
      "$ref": "#/$defs/CatalogSummary"
    },
    "Page": {
      "$ref": "#/$defs/Page"
    },
    "ClarificationFrame": {
      "$ref": "#/$defs/ClarificationFrame"
    },
    "AgentUsage": {
      "$ref": "#/$defs/AgentUsage"
    },
    "UsageSummary": {
      "$ref": "#/$defs/UsageSummary"
    },
    "QueryResponse": {
      "$ref": "#/$defs/QueryResponse"
    },
    "Citation": {
      "$ref": "#/$defs/Citation"
    },
    "SearchHit": {
      "$ref": "#/$defs/SearchHit"
    },
    "SearchResponse": {
      "$ref": "#/$defs/SearchResponse"
    },
    "DocumentChunk": {
      "$ref": "#/$defs/DocumentChunk"
    },
    "DocumentChunks": {
      "$ref": "#/$defs/DocumentChunks"
    },
    "Job": {
      "$ref": "#/$defs/Job"
    },
    "ProviderCapability": {
      "$ref": "#/$defs/ProviderCapability"
    },
    "FeatureCapability": {
      "$ref": "#/$defs/FeatureCapability"
    },
    "CatalogCapability": {
      "$ref": "#/$defs/CatalogCapability"
    },
    "AgenticCapability": {
      "$ref": "#/$defs/AgenticCapability"
    },
    "DomainCapability": {
      "$ref": "#/$defs/DomainCapability"
    },
    "Capabilities": {
      "$ref": "#/$defs/Capabilities"
    },
    "Column": {
      "$ref": "#/$defs/Column"
    },
    "SchemaTable": {
      "$ref": "#/$defs/SchemaTable"
    },
    "DatasetSchema": {
      "$ref": "#/$defs/DatasetSchema"
    },
    "LineageNode": {
      "$ref": "#/$defs/LineageNode"
    },
    "LineageEdge": {
      "$ref": "#/$defs/LineageEdge"
    },
    "Lineage": {
      "$ref": "#/$defs/Lineage"
    },
    "AuditEvent": {
      "$ref": "#/$defs/AuditEvent"
    },
    "UploadResponse": {
      "$ref": "#/$defs/UploadResponse"
    },
    "KnowledgeScope": {
      "$ref": "#/$defs/KnowledgeScope"
    },
    "SetupCheck": {
      "$ref": "#/$defs/SetupCheck"
    },
    "ModelParameters": {
      "$ref": "#/$defs/ModelParameters"
    },
    "CapabilityState": {
      "$ref": "#/$defs/CapabilityState"
    },
    "ModelCapability": {
      "$ref": "#/$defs/ModelCapability"
    },
    "ModelConnection": {
      "$ref": "#/$defs/ModelConnection"
    },
    "ProviderSupport": {
      "$ref": "#/$defs/ProviderSupport"
    },
    "NativeAdapter": {
      "$ref": "#/$defs/NativeAdapter"
    },
    "ModelProvider": {
      "$ref": "#/$defs/ModelProvider"
    },
    "FieldOption": {
      "$ref": "#/$defs/FieldOption"
    },
    "FieldSchema": {
      "$ref": "#/$defs/FieldSchema"
    },
    "ProviderType": {
      "$ref": "#/$defs/ProviderType"
    },
    "OperationalObservation": {
      "$ref": "#/$defs/OperationalObservation"
    },
    "ConnectionPool": {
      "$ref": "#/$defs/ConnectionPool"
    },
    "PoolUsage": {
      "$ref": "#/$defs/PoolUsage"
    },
    "RoleObservation": {
      "$ref": "#/$defs/RoleObservation"
    },
    "DeploymentDatasource": {
      "$ref": "#/$defs/DeploymentDatasource"
    },
    "DeploymentStorage": {
      "$ref": "#/$defs/DeploymentStorage"
    },
    "DeploymentIndex": {
      "$ref": "#/$defs/DeploymentIndex"
    },
    "OperationalLimits": {
      "$ref": "#/$defs/OperationalLimits"
    },
    "MetricsObservation": {
      "$ref": "#/$defs/MetricsObservation"
    },
    "DeploymentConfiguration": {
      "$ref": "#/$defs/DeploymentConfiguration"
    },
    "Configuration": {
      "$ref": "#/$defs/Configuration"
    },
    "AgentConfiguration": {
      "$ref": "#/$defs/AgentConfiguration"
    },
    "ValidationResult": {
      "$ref": "#/$defs/ValidationResult"
    },
    "ChatThread": {
      "$ref": "#/$defs/ChatThread"
    },
    "ChatFolder": {
      "$ref": "#/$defs/ChatFolder"
    },
    "OpenUIArtifact": {
      "$ref": "#/$defs/OpenUIArtifact"
    },
    "Presentation": {
      "$ref": "#/$defs/Presentation"
    },
    "AnswerSelectionValidation": {
      "$ref": "#/$defs/AnswerSelectionValidation"
    },
    "AnswerPublication": {
      "$ref": "#/$defs/AnswerPublication"
    },
    "AnswerPolicy": {
      "$ref": "#/$defs/AnswerPolicy"
    },
    "AttachmentHistorySummary": {
      "$ref": "#/$defs/AttachmentHistorySummary"
    },
    "ToolActivity": {
      "$ref": "#/$defs/ToolActivity"
    },
    "ChatMessage": {
      "$ref": "#/$defs/ChatMessage"
    },
    "ChatRun": {
      "$ref": "#/$defs/ChatRun"
    },
    "AttachmentEvidenceItem": {
      "$ref": "#/$defs/AttachmentEvidenceItem"
    },
    "AttachmentEvidence": {
      "$ref": "#/$defs/AttachmentEvidence"
    },
    "ChatEventData": {
      "$ref": "#/$defs/ChatEventData"
    },
    "StreamEvent": {
      "$ref": "#/$defs/StreamEvent"
    },
    "EvidenceResult": {
      "$ref": "#/$defs/EvidenceResult"
    },
    "ProviderInput": {
      "$ref": "#/$defs/ProviderInput"
    },
    "AgentInput": {
      "$ref": "#/$defs/AgentInput"
    },
    "RunInput": {
      "$ref": "#/$defs/RunInput"
    },
    "UserProfile": {
      "$ref": "#/$defs/UserProfile"
    },
    "ProfileUpdate": {
      "$ref": "#/$defs/ProfileUpdate"
    },
    "Person": {
      "$ref": "#/$defs/Person"
    },
    "PersonalToken": {
      "$ref": "#/$defs/PersonalToken"
    },
    "TokenCreated": {
      "$ref": "#/$defs/TokenCreated"
    },
    "TokenInput": {
      "$ref": "#/$defs/TokenInput"
    },
    "TokenScope": {
      "$ref": "#/$defs/TokenScope"
    },
    "TokenScopeOptions": {
      "$ref": "#/$defs/TokenScopeOptions"
    },
    "MemberInput": {
      "$ref": "#/$defs/MemberInput"
    },
    "MemberUpdate": {
      "$ref": "#/$defs/MemberUpdate"
    },
    "CatalogCreate": {
      "$ref": "#/$defs/CatalogCreate"
    },
    "CatalogPrecondition": {
      "$ref": "#/$defs/CatalogPrecondition"
    },
    "CatalogUpdate": {
      "$ref": "#/$defs/CatalogUpdate"
    },
    "SearchRequest": {
      "$ref": "#/$defs/SearchRequest"
    },
    "QueryRequest": {
      "$ref": "#/$defs/QueryRequest"
    },
    "ThreadInput": {
      "$ref": "#/$defs/ThreadInput"
    },
    "FolderCreate": {
      "$ref": "#/$defs/FolderCreate"
    },
    "FolderPatch": {
      "$ref": "#/$defs/FolderPatch"
    },
    "ThreadPatch": {
      "$ref": "#/$defs/ThreadPatch"
    },
    "TitleRequest": {
      "$ref": "#/$defs/TitleRequest"
    },
    "TitleSuggestion": {
      "$ref": "#/$defs/TitleSuggestion"
    },
    "DocumentReingestInput": {
      "$ref": "#/$defs/DocumentReingestInput"
    },
    "TableReingestInput": {
      "$ref": "#/$defs/TableReingestInput"
    },
    "ContentEffects": {
      "$ref": "#/$defs/ContentEffects"
    },
    "Deleted": {
      "$ref": "#/$defs/Deleted"
    },
    "ContentUpdate": {
      "$ref": "#/$defs/ContentUpdate"
    },
    "KnowledgeConnectionInput": {
      "$ref": "#/$defs/KnowledgeConnectionInput"
    },
    "KnowledgeConnection": {
      "$ref": "#/$defs/KnowledgeConnection"
    },
    "KnowledgeRole": {
      "$ref": "#/$defs/KnowledgeRole"
    },
    "KnowledgeProvider": {
      "$ref": "#/$defs/KnowledgeProvider"
    },
    "KnowledgeRoles": {
      "$ref": "#/$defs/KnowledgeRoles"
    },
    "IndexPlanInput": {
      "$ref": "#/$defs/IndexPlanInput"
    },
    "IndexCreateInput": {
      "$ref": "#/$defs/IndexCreateInput"
    },
    "IndexRevisionInput": {
      "$ref": "#/$defs/IndexRevisionInput"
    },
    "IndexActivateInput": {
      "$ref": "#/$defs/IndexActivateInput"
    },
    "NativeIndexChoice": {
      "$ref": "#/$defs/NativeIndexChoice"
    },
    "KnowledgeIndexView": {
      "$ref": "#/$defs/KnowledgeIndexView"
    },
    "IndexPage": {
      "$ref": "#/$defs/IndexPage"
    },
    "NativeIndexPage": {
      "$ref": "#/$defs/NativeIndexPage"
    },
    "IndexPlanView": {
      "$ref": "#/$defs/IndexPlanView"
    },
    "IndexJobView": {
      "$ref": "#/$defs/IndexJobView"
    },
    "KeycloakSettings": {
      "$ref": "#/$defs/KeycloakSettings"
    },
    "EntraSettings": {
      "$ref": "#/$defs/EntraSettings"
    },
    "GoogleWorkspaceSettings": {
      "$ref": "#/$defs/GoogleWorkspaceSettings"
    },
    "KeycloakCredential": {
      "$ref": "#/$defs/KeycloakCredential"
    },
    "EntraCredential": {
      "$ref": "#/$defs/EntraCredential"
    },
    "GoogleCredential": {
      "$ref": "#/$defs/GoogleCredential"
    },
    "IdentityProviderInput": {
      "$ref": "#/$defs/IdentityProviderInput"
    },
    "IdentityProviderPatch": {
      "$ref": "#/$defs/IdentityProviderPatch"
    },
    "IdentityCheck": {
      "$ref": "#/$defs/IdentityCheck"
    },
    "IdentityProvider": {
      "$ref": "#/$defs/IdentityProvider"
    },
    "IdentityGroup": {
      "$ref": "#/$defs/IdentityGroup"
    },
    "IdentityMappingInput": {
      "$ref": "#/$defs/IdentityMappingInput"
    },
    "IdentityValidation": {
      "$ref": "#/$defs/IdentityValidation"
    },
    "IdentityRevision": {
      "$ref": "#/$defs/IdentityRevision"
    },
    "IdentityActivation": {
      "$ref": "#/$defs/IdentityActivation"
    },
    "IdentityMapping": {
      "$ref": "#/$defs/IdentityMapping"
    },
    "IdentityProviderPage": {
      "$ref": "#/$defs/IdentityProviderPage"
    },
    "IdentityMappingPage": {
      "$ref": "#/$defs/IdentityMappingPage"
    },
    "IdentityGroupPage": {
      "$ref": "#/$defs/IdentityGroupPage"
    },
    "AttachmentProgress": {
      "$ref": "#/$defs/AttachmentProgress"
    },
    "AttachmentView": {
      "$ref": "#/$defs/AttachmentView"
    },
    "AttachmentPage": {
      "$ref": "#/$defs/AttachmentPage"
    },
    "PrivateChunkView": {
      "$ref": "#/$defs/PrivateChunkView"
    },
    "PrivateChunkPage": {
      "$ref": "#/$defs/PrivateChunkPage"
    },
    "AttachmentRevision": {
      "$ref": "#/$defs/AttachmentRevision"
    },
    "AddKnowledge": {
      "$ref": "#/$defs/AddKnowledge"
    },
    "ReplaceDocument": {
      "$ref": "#/$defs/ReplaceDocument"
    },
    "ReplaceTable": {
      "$ref": "#/$defs/ReplaceTable"
    },
    "AttachmentPromotionInput": {
      "$ref": "#/$defs/AttachmentPromotionInput"
    },
    "AttachmentObservation": {
      "$ref": "#/$defs/AttachmentObservation"
    },
    "AttachmentLimits": {
      "$ref": "#/$defs/AttachmentLimits"
    },
    "AttachmentFormat": {
      "$ref": "#/$defs/AttachmentFormat"
    },
    "AttachmentPromotionRequirements": {
      "$ref": "#/$defs/AttachmentPromotionRequirements"
    },
    "AttachmentCapabilities": {
      "$ref": "#/$defs/AttachmentCapabilities"
    },
    "PromotedCatalogEntry": {
      "$ref": "#/$defs/PromotedCatalogEntry"
    },
    "AttachmentPromotionView": {
      "$ref": "#/$defs/AttachmentPromotionView"
    },
    "Frozen": {
      "$ref": "#/$defs/Frozen"
    },
    "EvidencePresentation": {
      "$ref": "#/$defs/EvidencePresentation"
    },
    "SourceReference": {
      "$ref": "#/$defs/SourceReference"
    },
    "EvidenceManifest": {
      "$ref": "#/$defs/EvidenceManifest"
    },
    "ConversationMessage": {
      "$ref": "#/$defs/ConversationMessage"
    },
    "ConversationIdentity": {
      "$ref": "#/$defs/ConversationIdentity"
    },
    "ConversationSnapshot": {
      "$ref": "#/$defs/ConversationSnapshot"
    },
    "ResultColumn": {
      "$ref": "#/$defs/ResultColumn"
    },
    "StoredResult": {
      "$ref": "#/$defs/StoredResult"
    },
    "MessageSelection": {
      "$ref": "#/$defs/MessageSelection"
    },
    "ConversationExportInput": {
      "$ref": "#/$defs/ConversationExportInput"
    },
    "QueryResultExportInput": {
      "$ref": "#/$defs/QueryResultExportInput"
    },
    "ExportReviewRequest": {
      "$ref": "#/$defs/ExportReviewRequest"
    },
    "ExportCreate": {
      "$ref": "#/$defs/ExportCreate"
    },
    "ExportReview": {
      "$ref": "#/$defs/ExportReview"
    },
    "Export": {
      "$ref": "#/$defs/Export"
    },
    "ExportPage": {
      "$ref": "#/$defs/ExportPage"
    },
    "ShareReviewInput": {
      "$ref": "#/$defs/ShareReviewInput"
    },
    "ShareCreate": {
      "$ref": "#/$defs/ShareCreate"
    },
    "ShareReview": {
      "$ref": "#/$defs/ShareReview"
    },
    "Share": {
      "$ref": "#/$defs/Share"
    },
    "SharedConversation": {
      "$ref": "#/$defs/SharedConversation"
    },
    "SharePage": {
      "$ref": "#/$defs/SharePage"
    },
    "CatalogProposalPatch": {
      "$ref": "#/$defs/CatalogProposalPatch"
    },
    "CatalogProposalBefore": {
      "$ref": "#/$defs/CatalogProposalBefore"
    },
    "CatalogProposal": {
      "$ref": "#/$defs/CatalogProposal"
    },
    "ProposalConfirmation": {
      "$ref": "#/$defs/ProposalConfirmation"
    },
    "ProposalRevision": {
      "$ref": "#/$defs/ProposalRevision"
    },
    "ProposalUpdate": {
      "$ref": "#/$defs/ProposalUpdate"
    },
    "GlossaryTermCreate": {
      "$ref": "#/$defs/GlossaryTermCreate"
    },
    "GlossaryTermUpdate": {
      "$ref": "#/$defs/GlossaryTermUpdate"
    },
    "GlossaryTermRead": {
      "$ref": "#/$defs/GlossaryTermRead"
    },
    "GlossaryPage": {
      "$ref": "#/$defs/GlossaryPage"
    },
    "AuditValue": {
      "$ref": "#/$defs/AuditValue"
    },
    "GenerationReceipt": {
      "$ref": "#/$defs/GenerationReceipt"
    },
    "NativeReadOrigin": {
      "$ref": "#/$defs/NativeReadOrigin"
    },
    "NativeTableSnapshot": {
      "$ref": "#/$defs/NativeTableSnapshot"
    },
    "NativeReadReceipt": {
      "$ref": "#/$defs/NativeReadReceipt"
    },
    "SqlAttemptReceipt": {
      "$ref": "#/$defs/SqlAttemptReceipt"
    },
    "PrivateFileReceipt": {
      "$ref": "#/$defs/PrivateFileReceipt"
    },
    "RlmToolReceipt": {
      "$ref": "#/$defs/RlmToolReceipt"
    },
    "AnswerAudit": {
      "$ref": "#/$defs/AnswerAudit"
    },
    "ProvenanceArtifact": {
      "$ref": "#/$defs/ProvenanceArtifact"
    },
    "ProvenanceTransformStep": {
      "$ref": "#/$defs/ProvenanceTransformStep"
    },
    "TableSnapshotSummary": {
      "$ref": "#/$defs/TableSnapshotSummary"
    },
    "TableProvenance": {
      "$ref": "#/$defs/TableProvenance"
    },
    "TableSnapshotPage": {
      "$ref": "#/$defs/TableSnapshotPage"
    },
    "CoordinateCellPosition": {
      "$ref": "#/$defs/CoordinateCellPosition"
    },
    "CoordinateHeaderCell": {
      "$ref": "#/$defs/CoordinateHeaderCell"
    },
    "CoordinateParserDecision": {
      "$ref": "#/$defs/CoordinateParserDecision"
    },
    "CoordinateDependency": {
      "$ref": "#/$defs/CoordinateDependency"
    },
    "CoordinateCellRequest": {
      "$ref": "#/$defs/CoordinateCellRequest"
    },
    "TableCoordinateManifest": {
      "$ref": "#/$defs/TableCoordinateManifest"
    },
    "CoordinateSourceCell": {
      "$ref": "#/$defs/CoordinateSourceCell"
    },
    "TableCoordinateSelection": {
      "$ref": "#/$defs/TableCoordinateSelection"
    },
    "CoordinateRowRange": {
      "$ref": "#/$defs/CoordinateRowRange"
    },
    "CoordinateColumnBinding": {
      "$ref": "#/$defs/CoordinateColumnBinding"
    },
    "CoordinatePage": {
      "$ref": "#/$defs/CoordinatePage"
    },
    "TableRowRangePage": {
      "$ref": "#/$defs/TableRowRangePage"
    },
    "TableColumnBindingPage": {
      "$ref": "#/$defs/TableColumnBindingPage"
    },
    "KnowledgeContent": {
      "$ref": "#/$defs/KnowledgeContent"
    },
    "UserStatementOrigin": {
      "$ref": "#/$defs/UserStatementOrigin"
    },
    "ExternalProposalOrigin": {
      "$ref": "#/$defs/ExternalProposalOrigin"
    },
    "ConversationOrigin": {
      "$ref": "#/$defs/ConversationOrigin"
    },
    "KnowledgeIntentInput": {
      "$ref": "#/$defs/KnowledgeIntentInput"
    },
    "UserStatementEvidence": {
      "$ref": "#/$defs/UserStatementEvidence"
    },
    "ExternalProposalEvidence": {
      "$ref": "#/$defs/ExternalProposalEvidence"
    },
    "DocumentEvidence": {
      "$ref": "#/$defs/DocumentEvidence"
    },
    "StructuredEvidence": {
      "$ref": "#/$defs/StructuredEvidence"
    },
    "KnowledgeDestination": {
      "$ref": "#/$defs/KnowledgeDestination"
    },
    "KnowledgeCommitReceipt": {
      "$ref": "#/$defs/KnowledgeCommitReceipt"
    },
    "KnowledgeIntent": {
      "$ref": "#/$defs/KnowledgeIntent"
    },
    "KnowledgeConfirmation": {
      "$ref": "#/$defs/KnowledgeConfirmation"
    },
    "CommittedKnowledge": {
      "$ref": "#/$defs/CommittedKnowledge"
    },
    "PendingKnowledgeCommit": {
      "$ref": "#/$defs/PendingKnowledgeCommit"
    },
    "KnowledgeCancellation": {
      "$ref": "#/$defs/KnowledgeCancellation"
    },
    "KnowledgeVersionView": {
      "$ref": "#/$defs/KnowledgeVersionView"
    },
    "KnowledgeItemView": {
      "$ref": "#/$defs/KnowledgeItemView"
    },
    "KnowledgeItemSummary": {
      "$ref": "#/$defs/KnowledgeItemSummary"
    },
    "KnowledgeItemPage": {
      "$ref": "#/$defs/KnowledgeItemPage"
    },
    "DatasetFileAppendResult": {
      "$ref": "#/$defs/DatasetFileAppendResult"
    },
    "AuthorizedApplication": {
      "$ref": "#/$defs/AuthorizedApplication"
    },
    "OrganizationMemoryPolicyInput": {
      "$ref": "#/$defs/OrganizationMemoryPolicyInput"
    },
    "OrganizationMemoryPolicy": {
      "$ref": "#/$defs/OrganizationMemoryPolicy"
    },
    "OrganizationChatSettings": {
      "$ref": "#/$defs/OrganizationChatSettings"
    },
    "OrganizationChatSettingsInput": {
      "$ref": "#/$defs/OrganizationChatSettingsInput"
    },
    "KnowledgePolicyValue": {
      "$ref": "#/$defs/KnowledgePolicyValue"
    },
    "DocumentKnowledgeSettings": {
      "$ref": "#/$defs/DocumentKnowledgeSettings"
    },
    "StructuredKnowledgeSettings": {
      "$ref": "#/$defs/StructuredKnowledgeSettings"
    },
    "KnowledgeIntegerBounds": {
      "$ref": "#/$defs/KnowledgeIntegerBounds"
    },
    "KnowledgeNumberBounds": {
      "$ref": "#/$defs/KnowledgeNumberBounds"
    },
    "DocumentKnowledgeBounds": {
      "$ref": "#/$defs/DocumentKnowledgeBounds"
    },
    "StructuredKnowledgeBounds": {
      "$ref": "#/$defs/StructuredKnowledgeBounds"
    },
    "DocumentKnowledgeCapabilities": {
      "$ref": "#/$defs/DocumentKnowledgeCapabilities"
    },
    "StructuredKnowledgeCapabilities": {
      "$ref": "#/$defs/StructuredKnowledgeCapabilities"
    },
    "OrganizationKnowledgeCapabilities": {
      "$ref": "#/$defs/OrganizationKnowledgeCapabilities"
    },
    "OrganizationKnowledgeSettings": {
      "$ref": "#/$defs/OrganizationKnowledgeSettings"
    },
    "OrganizationKnowledgeSettingsInput": {
      "$ref": "#/$defs/OrganizationKnowledgeSettingsInput"
    },
    "OrganizationKnowledgeSnapshot": {
      "$ref": "#/$defs/OrganizationKnowledgeSnapshot"
    },
    "BrandingPalette": {
      "$ref": "#/$defs/BrandingPalette"
    },
    "BrandingPalettes": {
      "$ref": "#/$defs/BrandingPalettes"
    },
    "BrandingInputValues": {
      "$ref": "#/$defs/BrandingInputValues"
    },
    "BrandingValues": {
      "$ref": "#/$defs/BrandingValues"
    },
    "OrganizationBranding": {
      "$ref": "#/$defs/OrganizationBranding"
    },
    "OrganizationBrandingInput": {
      "$ref": "#/$defs/OrganizationBrandingInput"
    },
    "BrandingResetInput": {
      "$ref": "#/$defs/BrandingResetInput"
    },
    "McpToolCapability": {
      "$ref": "#/$defs/McpToolCapability"
    },
    "McpReviewSupport": {
      "$ref": "#/$defs/McpReviewSupport"
    },
    "McpRegisteredClient": {
      "$ref": "#/$defs/McpRegisteredClient"
    },
    "McpConnectionDescriptor": {
      "$ref": "#/$defs/McpConnectionDescriptor"
    },
    "McpReadReceipt": {
      "$ref": "#/$defs/McpReadReceipt"
    },
    "ExternalReviewInput": {
      "$ref": "#/$defs/ExternalReviewInput"
    },
    "ExternalReviewView": {
      "$ref": "#/$defs/ExternalReviewView"
    },
    "ExternalReviewDecision": {
      "$ref": "#/$defs/ExternalReviewDecision"
    },
    "ExternalFileReviewInput": {
      "$ref": "#/$defs/ExternalFileReviewInput"
    },
    "ExternalFileChunkInput": {
      "$ref": "#/$defs/ExternalFileChunkInput"
    },
    "ExternalFileCatalogEntry": {
      "$ref": "#/$defs/ExternalFileCatalogEntry"
    },
    "ExternalFileReceipt": {
      "$ref": "#/$defs/ExternalFileReceipt"
    },
    "ExternalFileReviewView": {
      "$ref": "#/$defs/ExternalFileReviewView"
    },
    "ExternalFileCleanupInput": {
      "$ref": "#/$defs/ExternalFileCleanupInput"
    },
    "ExternalFileCleanupReview": {
      "$ref": "#/$defs/ExternalFileCleanupReview"
    },
    "ExternalFileCleanupResult": {
      "$ref": "#/$defs/ExternalFileCleanupResult"
    },
    "McpOAuthClientValues": {
      "$ref": "#/$defs/McpOAuthClientValues"
    },
    "McpOAuthClientInput": {
      "$ref": "#/$defs/McpOAuthClientInput"
    },
    "McpOAuthClientRevision": {
      "$ref": "#/$defs/McpOAuthClientRevision"
    },
    "McpOAuthClientPatch": {
      "$ref": "#/$defs/McpOAuthClientPatch"
    },
    "McpOAuthClient": {
      "$ref": "#/$defs/McpOAuthClient"
    },
    "McpOAuthClientCredential": {
      "$ref": "#/$defs/McpOAuthClientCredential"
    },
    "McpOAuthClientReadiness": {
      "$ref": "#/$defs/McpOAuthClientReadiness"
    },
    "McpOAuthClientPage": {
      "$ref": "#/$defs/McpOAuthClientPage"
    },
    "DocumentHistoryIdentity": {
      "$ref": "#/$defs/DocumentHistoryIdentity"
    },
    "DocumentVersion": {
      "$ref": "#/$defs/DocumentVersion"
    },
    "DocumentExtraction": {
      "$ref": "#/$defs/DocumentExtraction"
    },
    "DocumentPartSummary": {
      "$ref": "#/$defs/DocumentPartSummary"
    },
    "DocumentPartContent": {
      "$ref": "#/$defs/DocumentPartContent"
    },
    "DocumentHistoryPagination": {
      "$ref": "#/$defs/DocumentHistoryPagination"
    },
    "DocumentVersionPage": {
      "$ref": "#/$defs/DocumentVersionPage"
    },
    "DocumentExtractionPage": {
      "$ref": "#/$defs/DocumentExtractionPage"
    },
    "DocumentPartPage": {
      "$ref": "#/$defs/DocumentPartPage"
    },
    "OrganizationUnitSummary": {
      "$ref": "#/$defs/OrganizationUnitSummary"
    },
    "OrganizationPersonReference": {
      "$ref": "#/$defs/OrganizationPersonReference"
    },
    "OrganizationPerson": {
      "$ref": "#/$defs/OrganizationPerson"
    },
    "OrganizationPersonCreate": {
      "$ref": "#/$defs/OrganizationPersonCreate"
    },
    "OrganizationPersonPatch": {
      "$ref": "#/$defs/OrganizationPersonPatch"
    },
    "OrganizationUnitInput": {
      "$ref": "#/$defs/OrganizationUnitInput"
    },
    "OrganizationUnitPatch": {
      "$ref": "#/$defs/OrganizationUnitPatch"
    },
    "OrganizationUnit": {
      "$ref": "#/$defs/OrganizationUnit"
    },
    "OrganizationPersonPage": {
      "$ref": "#/$defs/OrganizationPersonPage"
    },
    "OrganizationUnitPage": {
      "$ref": "#/$defs/OrganizationUnitPage"
    },
    "OrganizationDirectorySettings": {
      "$ref": "#/$defs/OrganizationDirectorySettings"
    },
    "OrganizationDirectorySettingsInput": {
      "$ref": "#/$defs/OrganizationDirectorySettingsInput"
    },
    "OrganizationProfileFields": {
      "$ref": "#/$defs/OrganizationProfileFields"
    },
    "OrganizationProfileMappingInput": {
      "$ref": "#/$defs/OrganizationProfileMappingInput"
    },
    "OrganizationProfileMapping": {
      "$ref": "#/$defs/OrganizationProfileMapping"
    },
    "KeycloakProfileAttributes": {
      "$ref": "#/$defs/KeycloakProfileAttributes"
    },
    "CorporateProfileSyncPolicy": {
      "$ref": "#/$defs/CorporateProfileSyncPolicy"
    },
    "CorporateProfileFieldCapability": {
      "$ref": "#/$defs/CorporateProfileFieldCapability"
    },
    "CorporateProfileFieldObservation": {
      "$ref": "#/$defs/CorporateProfileFieldObservation"
    },
    "CorporatePresentationSummary": {
      "$ref": "#/$defs/CorporatePresentationSummary"
    },
    "OrganizationPresentation": {
      "$ref": "#/$defs/OrganizationPresentation"
    },
    "OrganizationPresentationInput": {
      "$ref": "#/$defs/OrganizationPresentationInput"
    },
    "CorporateProfileRefreshInput": {
      "$ref": "#/$defs/CorporateProfileRefreshInput"
    },
    "CorporateProfileRefresh": {
      "$ref": "#/$defs/CorporateProfileRefresh"
    },
    "MemoryValue": {
      "$ref": "#/$defs/MemoryValue"
    },
    "MemoryTurnReference": {
      "$ref": "#/$defs/MemoryTurnReference"
    },
    "MemoryReceipt": {
      "$ref": "#/$defs/MemoryReceipt"
    },
    "BulkDestination": {
      "$ref": "#/$defs/BulkDestination"
    },
    "FileManifestItem": {
      "$ref": "#/$defs/FileManifestItem"
    },
    "FileBatchCreate": {
      "$ref": "#/$defs/FileBatchCreate"
    },
    "BulkAction": {
      "$ref": "#/$defs/BulkAction"
    },
    "BulkRecoveryAction": {
      "$ref": "#/$defs/BulkRecoveryAction"
    },
    "FileRecoveryView": {
      "$ref": "#/$defs/FileRecoveryView"
    },
    "FileBatchCapabilities": {
      "$ref": "#/$defs/FileBatchCapabilities"
    },
    "FileBatchItemView": {
      "$ref": "#/$defs/FileBatchItemView"
    },
    "FileBatchView": {
      "$ref": "#/$defs/FileBatchView"
    },
    "FileItemPage": {
      "$ref": "#/$defs/FileItemPage"
    },
    "FileBatchPage": {
      "$ref": "#/$defs/FileBatchPage"
    },
    "StagedFileReceipt": {
      "$ref": "#/$defs/StagedFileReceipt"
    },
    "QueryManifestItem": {
      "$ref": "#/$defs/QueryManifestItem"
    },
    "QueryBatchCreate": {
      "$ref": "#/$defs/QueryBatchCreate"
    },
    "QueryBatchAction": {
      "$ref": "#/$defs/QueryBatchAction"
    },
    "QueryBatchCapabilities": {
      "$ref": "#/$defs/QueryBatchCapabilities"
    },
    "BatchQueryOutcome": {
      "$ref": "#/$defs/BatchQueryOutcome"
    },
    "QueryBatchView": {
      "$ref": "#/$defs/QueryBatchView"
    },
    "QueryBatchItemView": {
      "$ref": "#/$defs/QueryBatchItemView"
    },
    "QueryBatchResult": {
      "$ref": "#/$defs/QueryBatchResult"
    },
    "QueryBatchPage": {
      "$ref": "#/$defs/QueryBatchPage"
    },
    "QueryBatchItemPage": {
      "$ref": "#/$defs/QueryBatchItemPage"
    },
    "QueryBatchCancellation": {
      "$ref": "#/$defs/QueryBatchCancellation"
    },
    "Page[AuditEvent]": {
      "$ref": "#/$defs/Page_AuditEvent_"
    },
    "Page[CatalogEntry]": {
      "$ref": "#/$defs/Page_CatalogEntry_"
    },
    "Page[Job]": {
      "$ref": "#/$defs/Page_Job_"
    },
    "Page[Membership]": {
      "$ref": "#/$defs/Page_Membership_"
    },
    "Page[Invitation]": {
      "$ref": "#/$defs/Page_Invitation_"
    },
    "Page[AgentConfiguration]": {
      "$ref": "#/$defs/Page_AgentConfiguration_"
    },
    "Page[ChatThread]": {
      "$ref": "#/$defs/Page_ChatThread_"
    },
    "Page[ChatMessage]": {
      "$ref": "#/$defs/Page_ChatMessage_"
    },
    "Page[ToolActivity]": {
      "$ref": "#/$defs/Page_ToolActivity_"
    },
    "Page[ChatFolder]": {
      "$ref": "#/$defs/Page_ChatFolder_"
    },
    "Page[AuthorizedApplication]": {
      "$ref": "#/$defs/Page_AuthorizedApplication_"
    },
    "Page[KnowledgeConnection]": {
      "$ref": "#/$defs/Page_KnowledgeConnection_"
    },
    "Page[Person]": {
      "$ref": "#/$defs/Page_Person_"
    },
    "Page[PersonalToken]": {
      "$ref": "#/$defs/Page_PersonalToken_"
    },
    "KnowledgeCommitOutcome": {
      "$ref": "#/$defs/KnowledgeCommitOutcome"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "copyright": "Copyright 2026 Firefly Software Foundation",
  "license": "Apache-2.0",
  "description": "Canonical wire DTOs. Unknown additive response fields are accepted. Exact domain decimals and unsafe integers remain strings."
}
