> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prequel.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Scoped Auth Token

> Generate a scoped auth token for a specific recipient.



## OpenAPI

````yaml /generated/openapi-generated-2023-12-01.json post /actions/generate-scoped-auth-token
openapi: 3.1.0
info:
  title: Prequel Data Export
  description: Data Export API spec
  version: '2023-12-01'
servers:
  - url: https://api.prequel.co
    description: Cloud-hosted server (US)
  - url: https://eu-api.prequel.co
    description: Cloud-hosted server (EU)
  - url: https://{custom_host}/
    description: Cloud-prem or shared-cloud server
security:
  - ApiKeyAuth: []
paths:
  /actions/generate-scoped-auth-token:
    post:
      tags:
        - Auth
      summary: Generate Scoped Auth Token
      description: Generate a scoped auth token for a specific recipient.
      operationId: create-scoped-auth-token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateScopedAuthTokenRequest'
              $schema: https://json-schema.org/draft/2020-12/schema
              $id: >-
                https://github.com/prequel-co/datafeed/internal/export/api/models/create-scoped-auth-token-request
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  status:
                    type: string
                    const: success
                  data:
                    $ref: '#/components/schemas/CreateScopedAuthTokenResponse'
                    $schema: https://json-schema.org/draft/2020-12/schema
                    $id: >-
                      https://github.com/prequel-co/datafeed/internal/export/api/models/create-scoped-auth-token-response
                  message:
                    type: string
                type: object
                required:
                  - status
                  - data
                  - message
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CreateScopedAuthTokenRequest:
      properties:
        application_origin:
          type: string
          description: The origin of the application requesting the scoped auth token.
          examples:
            - https://app.acme.com
        recipient_id:
          type: string
          format: uuid
          description: The recipient ID.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        destination:
          oneOf:
            - $ref: '#/components/schemas/CreateDestinationRequest'
              title: Create Destination Request
            - $ref: '#/components/schemas/UpdateDestinationRequest'
              title: Update Destination Request
      additionalProperties: false
      type: object
      required:
        - application_origin
        - recipient_id
        - destination
    CreateScopedAuthTokenResponse:
      properties:
        scoped_token:
          type: string
          description: The scoped auth token.
      additionalProperties: false
      type: object
      required:
        - scoped_token
    CreateDestinationRequest:
      properties:
        destination:
          $ref: '#/components/schemas/DestinationOptions'
      additionalProperties: false
      type: object
    UpdateDestinationRequest:
      properties:
        destination:
          $ref: '#/components/schemas/UpdateDestinationOptions'
      additionalProperties: false
      type: object
      required:
        - destination
    ErrorResponse:
      properties:
        status:
          type: string
          const: error
        message:
          type: string
        data:
          type: 'null'
      type: object
      required:
        - status
        - message
    DestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/DestinationOptionsABS'
        - $ref: '#/components/schemas/DestinationOptionsAthena'
        - $ref: '#/components/schemas/DestinationOptionsAuroraMySQL'
        - $ref: '#/components/schemas/DestinationOptionsAuroraPostgres'
        - $ref: '#/components/schemas/DestinationOptionsBigQuery'
        - $ref: '#/components/schemas/DestinationOptionsClickHouse'
        - $ref: '#/components/schemas/DestinationOptionsDatabricks'
        - $ref: '#/components/schemas/DestinationOptionsDeltaLake'
        - $ref: '#/components/schemas/DestinationOptionsGCS'
        - $ref: '#/components/schemas/DestinationOptionsGoogleSheets'
        - $ref: '#/components/schemas/DestinationOptionsIceberg'
        - $ref: '#/components/schemas/DestinationOptionsMock'
        - $ref: '#/components/schemas/DestinationOptionsMongoDB'
        - $ref: '#/components/schemas/DestinationOptionsMotherDuck'
        - $ref: '#/components/schemas/DestinationOptionsMySQL'
        - $ref: '#/components/schemas/DestinationOptionsOracle'
        - $ref: '#/components/schemas/DestinationOptionsPlanetScale'
        - $ref: '#/components/schemas/DestinationOptionsPostgres'
        - $ref: '#/components/schemas/DestinationOptionsRedshift'
        - $ref: '#/components/schemas/DestinationOptionsRedshiftServerless'
        - $ref: '#/components/schemas/DestinationOptionsSFTP'
        - $ref: '#/components/schemas/DestinationOptionsSingleStore'
        - $ref: '#/components/schemas/DestinationOptionsSnowflake'
        - $ref: '#/components/schemas/DestinationOptionsSQLServer'
        - $ref: '#/components/schemas/DestinationOptionsS3'
        - $ref: '#/components/schemas/DestinationOptionsS3Compatible'
      discriminator:
        mapping:
          abs: '#/components/schemas/DestinationOptionsABS'
          athena: '#/components/schemas/DestinationOptionsAthena'
          aurora_mysql: '#/components/schemas/DestinationOptionsAuroraMySQL'
          aurora_postgres: '#/components/schemas/DestinationOptionsAuroraPostgres'
          bigquery: '#/components/schemas/DestinationOptionsBigQuery'
          clickhouse: '#/components/schemas/DestinationOptionsClickHouse'
          databricks: '#/components/schemas/DestinationOptionsDatabricks'
          delta_lake: '#/components/schemas/DestinationOptionsDeltaLake'
          gcs: '#/components/schemas/DestinationOptionsGCS'
          google_sheets: '#/components/schemas/DestinationOptionsGoogleSheets'
          iceberg: '#/components/schemas/DestinationOptionsIceberg'
          mock: '#/components/schemas/DestinationOptionsMock'
          mongodb: '#/components/schemas/DestinationOptionsMongoDB'
          motherduck: '#/components/schemas/DestinationOptionsMotherDuck'
          mysql: '#/components/schemas/DestinationOptionsMySQL'
          oracle: '#/components/schemas/DestinationOptionsOracle'
          planetscale: '#/components/schemas/DestinationOptionsPlanetScale'
          postgres: '#/components/schemas/DestinationOptionsPostgres'
          redshift: '#/components/schemas/DestinationOptionsRedshift'
          redshift_serverless: '#/components/schemas/DestinationOptionsRedshiftServerless'
          s3: '#/components/schemas/DestinationOptionsS3'
          s3_compatible: '#/components/schemas/DestinationOptionsS3Compatible'
          sftp: '#/components/schemas/DestinationOptionsSFTP'
          singlestore: '#/components/schemas/DestinationOptionsSingleStore'
          snowflake: '#/components/schemas/DestinationOptionsSnowflake'
          sql_server: '#/components/schemas/DestinationOptionsSQLServer'
        propertyName: vendor
    UpdateDestinationOptions:
      properties:
        name:
          type: string
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          description: >-
            Number of minutes between transfers. Between 15 and 1440 (24 hours).
            Defaults to organization-level default. Fastest allowed frequency
            varies based on service agreement with Prequel.
          examples:
            - 60
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        vendor:
          type: string
          enum:
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          readOnly: true
        abs:
          $ref: '#/components/schemas/UpdateABSDestinationOptions'
          title: Azure Blob Storage
        athena:
          $ref: '#/components/schemas/UpdateAthenaDestinationOptions'
          title: Amazon Athena
        aurora_mysql:
          $ref: '#/components/schemas/UpdateMySQLDestinationOptions'
          title: Amazon Aurora MySQL
        aurora_postgres:
          $ref: '#/components/schemas/UpdatePostgresDestinationOptions'
          title: Amazon Aurora PostgreSQL
        bigquery:
          $ref: '#/components/schemas/UpdateBigQueryDestinationOptions'
          title: Google BigQuery
        clickhouse:
          $ref: '#/components/schemas/UpdateClickhouseDestinationOptions'
          title: ClickHouse
        databricks:
          $ref: '#/components/schemas/UpdateDatabricksDestinationOptions'
          title: Databricks
        delta_lake:
          $ref: '#/components/schemas/UpdateDeltaLakeDestinationOptions'
          title: Delta Lake
        gcs:
          $ref: '#/components/schemas/UpdateGCSDestinationOptions'
          title: Google Cloud Storage
        google_sheets:
          $ref: '#/components/schemas/UpdateGoogleSheetsDestinationOptions'
          title: Google Sheets
        iceberg:
          $ref: '#/components/schemas/UpdateIcebergDestinationOptions'
          title: Iceberg
        mock:
          $ref: '#/components/schemas/UpdateMockDestinationOptions'
          title: Mock (for testing in staging only)
        mongodb:
          $ref: '#/components/schemas/UpdateMongoDBDestinationOptions'
          title: MongoDB
        motherduck:
          $ref: '#/components/schemas/UpdateMotherDuckDestinationOptions'
          title: MotherDuck
        mysql:
          $ref: '#/components/schemas/UpdateMySQLDestinationOptions'
          title: MySQL
        oracle:
          $ref: '#/components/schemas/UpdateOracleDestinationOptions'
          title: Oracle
        planetscale:
          $ref: '#/components/schemas/UpdateMySQLDestinationOptions'
          title: PlanetScale
        postgres:
          $ref: '#/components/schemas/UpdatePostgresDestinationOptions'
          title: PostgreSQL
        redshift:
          $ref: '#/components/schemas/UpdateRedshiftDestinationOptions'
          title: Amazon Redshift
        redshift_serverless:
          $ref: '#/components/schemas/UpdateRedshiftServerlessDestinationOptions'
          title: Amazon Redshift Serverless
        sftp:
          $ref: '#/components/schemas/UpdateSFTPDestinationOptions'
          title: SFTP
        singlestore:
          $ref: '#/components/schemas/UpdateMySQLDestinationOptions'
          title: SingleStore
        snowflake:
          $ref: '#/components/schemas/UpdateSnowflakeDestinationOptions'
          title: Snowflake
        sql_server:
          $ref: '#/components/schemas/UpdateSQLServerDestinationOptions'
          title: SQL Server
        s3:
          $ref: '#/components/schemas/UpdateS3DestinationOptions'
          title: Amazon S3
        s3_compatible:
          $ref: '#/components/schemas/UpdateS3CompatibleDestinationOptions'
          title: S3 Compatible
        machine_type_id:
          type: string
          format: uuid
      additionalProperties: false
      type: object
    DestinationOptionsABS:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - abs
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: abs
        abs:
          $ref: '#/components/schemas/ABSDestinationOptions'
          title: Azure Blob Storage
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - abs
      title: Azure Blob Storage
      unevaluatedProperties: false
    DestinationOptionsAthena:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - athena
            - snowflake
            - bigquery
            - redshift
            - databricks
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: athena
        athena:
          $ref: '#/components/schemas/AthenaDestinationOptions'
          title: Amazon Athena
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - athena
      title: Amazon Athena
      unevaluatedProperties: false
    DestinationOptionsAuroraMySQL:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - aurora_mysql
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: aurora_mysql
        aurora_mysql:
          $ref: '#/components/schemas/MySQLDestinationOptions'
          title: Amazon Aurora MySQL
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - aurora_mysql
      title: Amazon Aurora MySQL
      unevaluatedProperties: false
    DestinationOptionsAuroraPostgres:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - aurora_postgres
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: aurora_postgres
        aurora_postgres:
          $ref: '#/components/schemas/PostgresDestinationOptions'
          title: Amazon Aurora PostgreSQL
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - aurora_postgres
      title: Amazon Aurora PostgreSQL
      unevaluatedProperties: false
    DestinationOptionsBigQuery:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - bigquery
            - snowflake
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: bigquery
        bigquery:
          $ref: '#/components/schemas/BigQueryDestinationOptions'
          title: Google BigQuery
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - bigquery
      title: Google BigQuery
      unevaluatedProperties: false
    DestinationOptionsClickHouse:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - clickhouse
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: clickhouse
        clickhouse:
          $ref: '#/components/schemas/ClickhouseDestinationOptions'
          title: ClickHouse
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - clickhouse
      title: ClickHouse
      unevaluatedProperties: false
    DestinationOptionsDatabricks:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - databricks
            - snowflake
            - bigquery
            - redshift
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: databricks
        databricks:
          $ref: '#/components/schemas/DatabricksDestinationOptions'
          title: Databricks
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - databricks
      title: Databricks
      unevaluatedProperties: false
    DestinationOptionsDeltaLake:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - delta_lake
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: delta_lake
        delta_lake:
          $ref: '#/components/schemas/DeltaLakeDestinationOptions'
          title: Delta Lake
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - delta_lake
      title: Delta Lake
      unevaluatedProperties: false
    DestinationOptionsGCS:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - gcs
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: gcs
        gcs:
          $ref: '#/components/schemas/GCSDestinationOptions'
          title: Google Cloud Storage
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - gcs
      title: Google Cloud Storage
      unevaluatedProperties: false
    DestinationOptionsGoogleSheets:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - google_sheets
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: google_sheets
        google_sheets:
          $ref: '#/components/schemas/GoogleSheetsDestinationOptions'
          title: Google Sheets
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - google_sheets
      title: Google Sheets
      unevaluatedProperties: false
    DestinationOptionsIceberg:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - iceberg
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: iceberg
        iceberg:
          $ref: '#/components/schemas/IcebergDestinationOptions'
          title: Iceberg
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - iceberg
      title: Iceberg
      unevaluatedProperties: false
    DestinationOptionsMock:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - mock
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: mock
        mock:
          $ref: '#/components/schemas/MockDestinationOptions'
          title: Mock (for testing in staging only)
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - mock
      title: Mock (for testing in staging only)
      unevaluatedProperties: false
    DestinationOptionsMongoDB:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - mongodb
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: mongodb
        mongodb:
          $ref: '#/components/schemas/MongoDBDestinationOptions'
          title: MongoDB
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - mongodb
      title: MongoDB
      unevaluatedProperties: false
    DestinationOptionsMotherDuck:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - motherduck
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: motherduck
        motherduck:
          $ref: '#/components/schemas/MotherDuckDestinationOptions'
          title: MotherDuck
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - motherduck
      title: MotherDuck
      unevaluatedProperties: false
    DestinationOptionsMySQL:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - mysql
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: mysql
        mysql:
          $ref: '#/components/schemas/MySQLDestinationOptions'
          title: MySQL
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - mysql
      title: MySQL
      unevaluatedProperties: false
    DestinationOptionsOracle:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - oracle
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: oracle
        oracle:
          $ref: '#/components/schemas/OracleDestinationOptions'
          title: Oracle
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - oracle
      title: Oracle
      unevaluatedProperties: false
    DestinationOptionsPlanetScale:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - planetscale
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: planetscale
        planetscale:
          $ref: '#/components/schemas/MySQLDestinationOptions'
          title: PlanetScale
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - planetscale
      title: PlanetScale
      unevaluatedProperties: false
    DestinationOptionsPostgres:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - postgres
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: postgres
        postgres:
          $ref: '#/components/schemas/PostgresDestinationOptions'
          title: PostgreSQL
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - postgres
      title: PostgreSQL
      unevaluatedProperties: false
    DestinationOptionsRedshift:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - redshift
            - snowflake
            - bigquery
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: redshift
        redshift:
          $ref: '#/components/schemas/RedshiftDestinationOptions'
          title: Amazon Redshift
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - redshift
      title: Amazon Redshift
      unevaluatedProperties: false
    DestinationOptionsRedshiftServerless:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - redshift_serverless
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: redshift_serverless
        redshift_serverless:
          $ref: '#/components/schemas/RedshiftServerlessDestinationOptions'
          title: Amazon Redshift Serverless
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - redshift_serverless
      title: Amazon Redshift Serverless
      unevaluatedProperties: false
    DestinationOptionsSFTP:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - sftp
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: sftp
        sftp:
          $ref: '#/components/schemas/SFTPDestinationOptions'
          title: SFTP
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - sftp
      title: SFTP
      unevaluatedProperties: false
    DestinationOptionsSingleStore:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - singlestore
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
          const: singlestore
        singlestore:
          $ref: '#/components/schemas/MySQLDestinationOptions'
          title: SingleStore
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - singlestore
      title: SingleStore
      unevaluatedProperties: false
    DestinationOptionsSnowflake:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - sql_server
            - singlestore
          const: snowflake
        snowflake:
          $ref: '#/components/schemas/SnowflakeDestinationOptions'
          title: Snowflake
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - snowflake
      title: Snowflake
      unevaluatedProperties: false
    DestinationOptionsSQLServer:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - sql_server
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - s3_compatible
            - singlestore
          const: sql_server
        sql_server:
          $ref: '#/components/schemas/SQLServerDestinationOptions'
          title: SQL Server
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - sql_server
      title: SQL Server
      unevaluatedProperties: false
    DestinationOptionsS3:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - s3
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3_compatible
            - sql_server
            - singlestore
          const: s3
        s3:
          $ref: '#/components/schemas/S3DestinationOptions'
          title: Amazon S3
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - s3
      title: Amazon S3
      unevaluatedProperties: false
    DestinationOptionsS3Compatible:
      properties:
        name:
          type: string
          title: Destination name
          description: >-
            Descriptive and unique name for this destination. This will only be
            visible internally and is only used as a reference.
          examples:
            - acme-corp-prod
        frequency_minutes:
          type: integer
          enum:
            - 0
            - 10
            - 15
            - 60
            - 360
            - 720
            - 1440
          title: Frequency minutes
          description: >-
            Number of minutes between transfers. Set to 0 to use the
            organization's default frequency. Fastest allowed frequency varies
            based on service agreement with Prequel.
        recipient_id:
          type: string
          format: uuid
          title: Recipient ID
          description: >-
            ID of
            [Recipient](https://docs.prequel.co/export/concepts/recipients)
            created for this destination.
          examples:
            - 3fa85f64-5717-4562-b3fc-2c963f66afa6
        enabled_models:
          items:
            type: string
          type: array
          description: >-
            List of models to enable for this destination. If empty, all models
            from the recipient are enabled.
        max_concurrent_transfers:
          type: integer
          description: >-
            The maximum number of transfers that can write to this destination
            at the same time. Transfers with overlapping model assignments
            cannot be run simultaneously.
          default: 10
        max_concurrent_queries_per_transfer:
          type: integer
          description: >-
            The maximum number of queries that can be run in parallel for a
            single transfer. This is used to limit the number of concurrent
            queries that can be run for a single transfer to avoid overloading
            the destination.
          default: 1
        is_enabled:
          type: boolean
          description: Whether the destination is enabled (vs paused).
          default: true
        otf_acceleration_enabled:
          type: boolean
          description: Whether OTF acceleration is enabled for this destination.
        machine_type_id:
          type: string
          format: uuid
        vendor:
          type: string
          enum:
            - s3_compatible
            - snowflake
            - bigquery
            - redshift
            - databricks
            - athena
            - aurora_mysql
            - aurora_postgres
            - abs
            - clickhouse
            - delta_lake
            - gcs
            - google_sheets
            - iceberg
            - mock
            - mongodb
            - motherduck
            - mysql
            - oracle
            - planetscale
            - postgres
            - redshift_serverless
            - sftp
            - s3
            - sql_server
            - singlestore
          const: s3_compatible
        s3_compatible:
          $ref: '#/components/schemas/S3CompatibleDestinationOptions'
          title: S3 Compatible
      type: object
      required:
        - name
        - recipient_id
        - vendor
        - s3_compatible
      title: S3 Compatible
      unevaluatedProperties: false
    UpdateABSDestinationOptions:
      properties:
        folder:
          type: string
          description: >-
            The folder to write to. The folder will be created if it does not
            exist.
          examples:
            - data_export
        container_name:
          type: string
          description: The name of the container to write to.
          examples:
            - data-export
        storage_account_name:
          type: string
          description: The name of the storage account configured for Prequel.
          examples:
            - acmestorage
        auth_method:
          type: string
          enum:
            - azure_service_shared_access_signature
          description: >-
            Option for authentication methods. Currently only SAS is supported
            and must be set to azure_service_shared_access_signature.
        azure_service_shared_access_signature:
          $ref: '#/components/schemas/UpdateAzureServiceSharedAccessSignature'
          description: >-
            Required parameters to authenticate to Azure using a Service shared
            access signature.
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
      additionalProperties: false
      type: object
    UpdateAthenaDestinationOptions:
      properties:
        workgroup:
          type: string
          description: >-
            The Athena workgroup to use for this destination. This should be
            'primary' unless otherwise specified during connection
            configuration.
          examples:
            - primary
        connection_database:
          type: string
          description: >-
            The name of the folder in S3 in which the Athena query results are
            written (i.e. the automatically generated athena_output/ data).
          examples:
            - default
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          description: >-
            The name of the folder in S3 in which the final data will be
            written.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          description: The method of authentication to use for this destination.
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          description: >-
            Required details if authenticating using an AWS IAM role
            (recommended).
        aws_access_keys:
          $ref: '#/components/schemas/UpdateAWSAccessKeys'
          description: Required details if authenticating using AWS access keys.
        bucket_s3:
          $ref: '#/components/schemas/UpdateS3BucketParams'
          description: Required details about the S3 bucket used for staging data.
      additionalProperties: false
      type: object
    UpdateMySQLDestinationOptions:
      properties:
        host:
          type: string
          description: The hostname of the MySQL server.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the MySQL server.
          examples:
            - 3306
        connection_database:
          type: string
          description: The name of the database to connect to.
          examples:
            - mysql
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the database where final data will be written.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/UpdatePasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          description: Whether to disable SSL for the MySQL connection.
          default: false
      additionalProperties: false
      type: object
    UpdatePostgresDestinationOptions:
      properties:
        host:
          type: string
          description: The hostname of the PostgreSQL server.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the PostgreSQL server.
          examples:
            - 5432
        database:
          type: string
          description: The name of the database to connect to.
          examples:
            - analytics
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the schema to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/UpdatePasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          description: Whether to disable SSL for the PostgreSQL connection.
          default: false
        connection_timeout_in_seconds:
          type: integer
          minimum: 0
          title: Connection Timeout (in seconds)
          description: Duration to wait for successful connection to Postgres
          examples:
            - 30
      additionalProperties: false
      type: object
    UpdateBigQueryDestinationOptions:
      properties:
        project_id:
          type: string
          description: The BigQuery project ID.
          examples:
            - acme-analytics-1234
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the schema to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - gcp_service_account_role
            - gcp_service_account_key
            - federated_gcp_service_account_role
            - client_secret_workload_identity_federation
          title: Auth method
          description: The method of authentication to use for this destination.
        gcp_service_account_role:
          $ref: '#/components/schemas/UpdateGCPServiceAccountRole'
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
        federated_gcp_service_account_role:
          $ref: '#/components/schemas/UpdateFederatedGCPServiceAccountRole'
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
        gcp_service_account_key:
          $ref: '#/components/schemas/UpdateGCPServiceAccountKey'
          description: Required details if authenticating using a GCP service account key.
        client_secret_workload_identity_federation:
          $ref: '#/components/schemas/UpdateClientSecretWorkloadIdentityFederation'
          description: >-
            Required details if the authentication fetches an OAuth token from
            an external identity provider and federates into the GCP project to
            impersonate a service account you grant access to.
        bucket_gcs:
          $ref: '#/components/schemas/UpdateBigQueryGCSBucketParams'
          description: Required details about the GCS bucket used for staging data.
      additionalProperties: false
      type: object
      required:
        - auth_method
    UpdateClickhouseDestinationOptions:
      properties:
        host:
          type: string
          description: The hostname of the ClickHouse server.
          examples:
            - abc123xyz.us-east-1.aws.clickhouse.cloud
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the ClickHouse server.
          examples:
            - 8443
        cluster:
          type: string
          description: The name of the ClickHouse cluster to use for this destination.
          examples:
            - default
        connection_database:
          type: string
          description: The name of the database to connect to.
          examples:
            - default
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the database where final data will be written.
          examples:
            - default
        auth_method:
          type: string
          enum:
            - password_auth
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/UpdatePasswordAuth'
          description: Required details for username/password authentication.
        bucket_vendor:
          type: string
          enum:
            - bucket_s3
            - bucket_gcs
            - bucket_implicit
          description: Where the staging bucket is hosted.
        bucket_s3:
          $ref: '#/components/schemas/UpdateClickhouseS3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        bucket_gcs:
          $ref: '#/components/schemas/UpdateClickhouseGCSBucketParams'
          description: Required details about the GCS bucket used for staging data.
        disable_ssl:
          type: boolean
          description: Whether to disable SSL for the ClickHouse connection.
          default: false
      additionalProperties: false
      type: object
    UpdateDatabricksDestinationOptions:
      properties:
        host:
          type: string
          description: The hostname of the Databricks server.
          examples:
            - adb-1099123456789876.12.azuredatabricks.net
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the Databricks server.
          examples:
            - 443
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the schema to write to.
          examples:
            - data_export
        catalog:
          type: string
          description: The name of the catalog to write to.
          examples:
            - main
        http_path:
          type: string
          description: The HTTP path to use for the Databricks connection.
          examples:
            - /sql/1.0/endpoints/a98765ab4c3210a0
        auth_method:
          type: string
          enum:
            - access_token_auth
            - oauth_client_secret_auth
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to access_token_auth.
        access_token_auth:
          $ref: '#/components/schemas/AccessToken'
          description: The access token authentication object.
        oauth_client_secret_auth:
          $ref: '#/components/schemas/UpdateOauthClientSecretAuth'
          description: The OAuth client secret authentication object.
        metastore:
          type: string
          enum:
            - hive
            - unity_catalog
          description: Metastore type to use.
        hive:
          $ref: '#/components/schemas/UpdateDatabricksHiveOptions'
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
      additionalProperties: false
      type: object
    UpdateDeltaLakeDestinationOptions:
      properties:
        bucket_abs:
          $ref: '#/components/schemas/UpdateOpenTableFormatABSBucketParams'
          description: Required details about the ABS bucket used for the delta lake table.
        bucket_gcs:
          $ref: '#/components/schemas/UpdateOpenTableFormatGCSBucketParams'
          description: Required details about the GCS bucket used for the delta lake table.
        bucket_s3:
          $ref: '#/components/schemas/UpdateOpenTableFormatS3BucketParams'
          description: Required details about the S3 bucket used for the delta lake table.
        bucket_s3_compatible:
          $ref: '#/components/schemas/UpdateOpenTableFormatS3CompatibleBucketParams'
          description: >-
            Required details about the S3 compatible bucket used for the delta
            lake table.
        retention_window_days:
          type: integer
          description: The number of days a file must be deleted before it is vacuumed.
          default: 30
        column_mapping_mode:
          type: string
          enum:
            - none
            - id
            - name
          title: Column mapping mode
          description: >-
            Column mapping mode for the Delta Lake table. Use none for no
            mapping; name to track columns by name (allows rename and drop
            without rewrite); or id to track columns by numeric ID.
          default: none
        deletion_vectors_disabled:
          type: boolean
          title: Disable deletion vectors
          description: >-
            Whether to disable deletion vectors. When false: deletions are
            recorded as markers without rewriting table files.
          default: false
        change_data_feed_disabled:
          type: boolean
          title: Disable change data feed
          description: >-
            Whether to disable change data feed. When false: row-level change
            tracking is maintained for the table.
          default: false
      additionalProperties: false
      type: object
    UpdateGCSDestinationOptions:
      properties:
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
        folder:
          type: string
          description: >-
            The folder to write to. The folder will be created if it does not
            exist.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - gcp_service_account_role
            - gcs_hmac_keys
            - federated_gcp_service_account_role
          description: The method of authentication to use for this destination.
        gcp_service_account_role:
          $ref: '#/components/schemas/UpdateGCPServiceAccountRole'
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
        gcs_hmac_keys:
          $ref: '#/components/schemas/UpdateGCSAccessKeys'
          description: Required details if authenticating using GCS HMAC keys.
        federated_gcp_service_account_role:
          $ref: '#/components/schemas/UpdateFederatedGCPServiceAccountRole'
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
        bucket_name:
          type: string
          description: The name of the GCS bucket.
          examples:
            - acme-data-export-staging
      additionalProperties: false
      type: object
    UpdateGoogleSheetsDestinationOptions:
      properties:
        host:
          type: string
          pattern: ^(https?:\/\/)?(www.)?docs.google.com\/spreadsheets\/d\/.+(\/)?$
          description: The URL of the Google Sheet.
          examples:
            - https://docs.google.com/spreadsheets/d/1234567
      additionalProperties: false
      type: object
    UpdateIcebergDestinationOptions:
      properties:
        catalog_iceberg_rest:
          $ref: '#/components/schemas/UpdateIcebergRestCatalogParams'
          description: >-
            Required details about the Iceberg Rest Catalog used for the iceberg
            table.
        catalog_glue:
          $ref: '#/components/schemas/UpdateIcebergAwsGlueCatalogParams'
          description: >-
            Required details about the AWS Glue Catalog used for the iceberg
            table.
        catalog_s3_tables:
          $ref: '#/components/schemas/UpdateIcebergAwsS3TablesCatalogParams'
          description: >-
            Required details about the AWS S3 Tables bucket used for the iceberg
            table.
        catalog_google_lakehouse:
          $ref: '#/components/schemas/UpdateIcebergGoogleLakehouseCatalogParams'
          description: >-
            Required details about the Google Lakehouse Catalog used for the
            iceberg table.
        retention_window_days:
          type: integer
          description: >-
            The minimum number of days to retain old snapshots before they are
            expired.
          default: 30
      additionalProperties: false
      type: object
    UpdateMockDestinationOptions:
      properties:
        schema:
          type: string
          description: Mock schema name.
          examples:
            - data_export
        database:
          type: string
          description: Mock database name.
          examples:
            - mock
        error_code:
          type: string
          examples:
            - PRQL-ZDJR
      additionalProperties: false
      type: object
      required:
        - schema
        - database
    UpdateMongoDBDestinationOptions:
      properties:
        host:
          type: string
          description: The hostname of the MongoDB server.
          examples:
            - clusterID.mongodb.net
        port:
          type: integer
          title: Port
          description: Optional. Leave empty If using Atlas.
          examples:
            - 27017
        authentication_database:
          type: string
          description: The name of the MongoDB Authentication Database.
          examples:
            - admin
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the MongoDB database to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - password_auth
          description: The method of authentication to use for this destination.
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          description: Required details if authenticating using an AWS IAM role.
        password_auth:
          $ref: '#/components/schemas/UpdatePasswordAuth'
          description: Required details if authenticating with username/password.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          description: Whether to disable SSL for the MongoDB connection.
          default: false
      additionalProperties: false
      type: object
    UpdateMotherDuckDestinationOptions:
      properties:
        database:
          type: string
          title: Database
          description: MotherDuck database name.
          examples:
            - my_db
        schema:
          type: string
          title: Schema
          description: MotherDuck schema name to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - access_token_auth
          description: The method of authentication to use for this destination.
        access_token_auth:
          $ref: '#/components/schemas/AccessToken'
          description: The access token authentication object.
      additionalProperties: false
      type: object
    UpdateOracleDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/UpdateOracleDestinationOptionsSSLEnabled'
        - $ref: '#/components/schemas/UpdateOracleDestinationOptionsSSLDisabled'
    UpdateRedshiftDestinationOptions:
      properties:
        host:
          type: string
          description: The hostname of the Redshift server.
          examples:
            - cluster-name.ab1cdefgh.us-east-1.redshift.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the Redshift server.
          examples:
            - 5439
        database:
          type: string
          description: The name of the database to connect to.
          examples:
            - dev
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the schema to write to.
          examples:
            - data_export
        cluster:
          type: string
          description: The name of the Redshift cluster to connect to.
          examples:
            - acme-cluster
        username:
          type: string
          title: Username
          examples:
            - data_export_user
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - password_auth
          title: Auth method
          description: The method of authentication to use for this destination.
        aws_access_keys:
          $ref: '#/components/schemas/UpdateRedshiftAccessKeys'
          description: Required details for username/password authentication.
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          description: Required details if authenticating using an AWS IAM role.
        bucket_s3:
          $ref: '#/components/schemas/UpdateRedshiftS3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
      additionalProperties: false
      type: object
      required:
        - auth_method
    UpdateRedshiftServerlessDestinationOptions:
      properties:
        workgroup:
          type: string
          description: The name of the Redshift Serverless workgroup.
          examples:
            - default-workgroup
        host:
          type: string
          description: The hostname to use to connect.
          examples:
            - workgroup.123456789.us-east-1.redshift-serverless.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port to use to connect.
          examples:
            - 5439
        database:
          type: string
          description: The name of the database to connect to.
          examples:
            - dev
        schema:
          type: string
          description: The name of the schema to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - aws_access_keys
            - aws_iam_role
          title: Auth method
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          description: Required details if authenticating using an AWS IAM role.
        aws_access_keys:
          $ref: '#/components/schemas/AWSAccessKeys'
          description: Required details if authenticating using AWS access keys.
        bucket_s3:
          $ref: '#/components/schemas/UpdateRedshiftS3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
      additionalProperties: false
      type: object
      required:
        - auth_method
    UpdateSFTPDestinationOptions:
      properties:
        username:
          type: string
          description: The username to use for the SFTP connection.
          examples:
            - data_export_user
        host:
          type: string
          description: The hostname of the SFTP server.
          examples:
            - sftp.acme.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the SFTP server.
          examples:
            - 22
        folder:
          type: string
          description: >-
            The folder to write to. The folder will be created if it does not
            exist.
          examples:
            - /uploads/data_export
        auth_method:
          type: string
          enum:
            - public_key_auth
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to public_key_auth.
        public_key_auth:
          $ref: '#/components/schemas/UpdatePublicKeyAuth'
          description: Required details for public key authentication.
      additionalProperties: false
      type: object
    UpdateSnowflakeDestinationOptions:
      properties:
        username:
          type: string
          description: The name of the Snowflake user.
          examples:
            - DATA_EXPORT_USER
        host:
          type: string
          pattern: .*\.snowflakecomputing.com$
          description: The hostname of the Snowflake server.
          examples:
            - db54321.us-central1.gcp.snowflakecomputing.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the Snowflake server.
          examples:
            - 443
        database:
          type: string
          description: The name of the database to connect to.
          examples:
            - ANALYTICS
        schema:
          type: string
          description: The name of the schema to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
            - public_key_auth
          description: Authentication method to use for this destination.
        password_auth:
          $ref: '#/components/schemas/UpdatePasswordOnlyAuth'
          description: Required details for username/password authentication.
        public_key_auth:
          $ref: '#/components/schemas/PublicKeyAuth'
          description: Required details for public key authentication.
      additionalProperties: false
      type: object
    UpdateSQLServerDestinationOptions:
      properties:
        host:
          type: string
          description: The hostname of the SQL Server instance.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the SQL Server instance.
          examples:
            - 1433
        database:
          type: string
          description: The name of the database to connect to.
          examples:
            - analytics
        schema:
          type: string
          description: The name of the schema to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/UpdatePasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          description: Whether to disable SSL for the SQL Server connection.
          default: false
        primary_key_collation:
          type: string
          description: >-
            SQL Server collation to use for primary key column. Leave empty to
            use database default collation.
          examples:
            - SQL_Latin1_General_CP1_CI_AS
      additionalProperties: false
      type: object
    UpdateS3DestinationOptions:
      properties:
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
        folder:
          type: string
          description: >-
            The folder to write to. The folder will be created if it does not
            exist.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          description: The method of authentication to use for this destination.
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          description: Required details if authenticating using an AWS IAM role.
        aws_access_keys:
          $ref: '#/components/schemas/UpdateAWSAccessKeys'
          description: Required details if authenticating using AWS access keys.
        bucket_name:
          type: string
          description: The name of the S3 bucket.
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
      additionalProperties: false
      type: object
    UpdateS3CompatibleDestinationOptions:
      properties:
        host:
          type: string
          description: The hostname of the S3-compatible server.
          examples:
            - s3.us-east-1.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          examples:
            - 443
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
        folder:
          type: string
          description: >-
            The folder to write to. The folder will be created if it does not
            exist.
          examples:
            - data_export
        bucket_name:
          type: string
          description: The name of the S3-compatible bucket to write to.
          examples:
            - acme-data-export-staging
        disable_ssl:
          type: boolean
          description: Whether to disable SSL for the S3-compatible connection.
          default: false
        auth_method:
          type: string
          enum:
            - access_keys
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to access_keys.
        access_keys:
          $ref: '#/components/schemas/UpdateAccessKeys'
          description: Required details for access key authentication.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
      additionalProperties: false
      type: object
      required:
        - port
    ABSDestinationOptions:
      properties:
        folder:
          type: string
          title: Folder Name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if the folder does not exist.
          examples:
            - data_export
        file_format:
          type: string
          enum:
            - parquet
            - csv
            - json
            - jsonl
          title: File format
          description: >-
            File format to write to the bucket. Parquet is the default and
            recommended format.
          default: parquet
        csv:
          $ref: '#/components/schemas/FileFormatCSV'
          description: Required details if writing CSV file format.
        container_name:
          type: string
          title: Bucket name
          description: Name of the Azure Blob Storage container to write data to.
          examples:
            - data-export
        storage_account_name:
          type: string
          title: Storage account name
          description: Name of the Azure storage account that owns the container.
          examples:
            - acmestorage
        auth_method:
          type: string
          enum:
            - azure_service_shared_access_signature
          title: Auth method
          description: >-
            Authentication method. Currently must be set to
            azure_service_shared_access_signature.
        azure_service_shared_access_signature:
          $ref: '#/components/schemas/AzureServiceSharedAccessSignature'
          description: >-
            Required parameters to authenticate to Azure using a Service shared
            access signature.
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
      additionalProperties: false
      type: object
      required:
        - folder
        - container_name
        - storage_account_name
        - auth_method
    AthenaDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/AthenaDestinationOptionsAWSIAMRole'
        - $ref: '#/components/schemas/AthenaDestinationOptionsAWSAccessKeys'
      discriminator:
        mapping:
          aws_access_keys: '#/components/schemas/AthenaDestinationOptionsAWSAccessKeys'
          aws_iam_role: '#/components/schemas/AthenaDestinationOptionsAWSIAMRole'
        propertyName: auth_method
    MySQLDestinationOptions:
      properties:
        host:
          type: string
          title: Host
          description: Hostname of the destination server.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the destination server.
          examples:
            - 3306
        connection_database:
          type: string
          title: Database
          description: Name of the database to connect to.
          examples:
            - mysql
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/PasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the connection. When false: SSL is
            preferred.
          default: false
      additionalProperties: false
      type: object
      required:
        - host
        - port
        - connection_database
        - write_database
        - auth_method
        - password_auth
    PostgresDestinationOptions:
      properties:
        host:
          type: string
          title: Host
          description: Host address of the database.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the PostgreSQL server.
          examples:
            - 5432
        database:
          type: string
          title: Database
          description: Name of database provisioned by the owner of the destination.
          examples:
            - analytics
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/PasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the PostgreSQL connection. When false:
            SSL is required.
          default: false
        connection_timeout_in_seconds:
          type: integer
          minimum: 0
          title: Connection Timeout
          description: Duration to wait for successful connection to Postgres
          examples:
            - 30
      additionalProperties: false
      type: object
      required:
        - schema
        - auth_method
        - password_auth
    BigQueryDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/BigQueryDestinationOptionsGCPServiceAccountRole'
        - $ref: >-
            #/components/schemas/BigQueryDestinationOptionsFederatedGCPServiceAccountRole
        - $ref: '#/components/schemas/BigQueryDestinationOptionsGCPServiceAccountKey'
        - $ref: >-
            #/components/schemas/BigQueryDestinationOptionsClientSecretWorkloadIdentityFederation
      discriminator:
        mapping:
          client_secret_workload_identity_federation: >-
            #/components/schemas/BigQueryDestinationOptionsClientSecretWorkloadIdentityFederation
          federated_gcp_service_account_role: >-
            #/components/schemas/BigQueryDestinationOptionsFederatedGCPServiceAccountRole
          gcp_service_account_key: '#/components/schemas/BigQueryDestinationOptionsGCPServiceAccountKey'
          gcp_service_account_role: '#/components/schemas/BigQueryDestinationOptionsGCPServiceAccountRole'
        propertyName: auth_method
    ClickhouseDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/ClickhouseDestinationOptionsBucketS3'
        - $ref: '#/components/schemas/ClickhouseDestinationOptionsBucketGCS'
      discriminator:
        mapping:
          bucket_gcs: '#/components/schemas/ClickhouseDestinationOptionsBucketGCS'
          bucket_s3: '#/components/schemas/ClickhouseDestinationOptionsBucketS3'
        propertyName: bucket_vendor
    DatabricksDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/DatabricksDestinationOptionsAccessTokenAuthHive'
        - $ref: >-
            #/components/schemas/DatabricksDestinationOptionsAccessTokenAuthUnityCatalog
        - $ref: >-
            #/components/schemas/DatabricksDestinationOptionsOAuthClientSecretAuthHive
        - $ref: >-
            #/components/schemas/DatabricksDestinationOptionsOAuthClientSecretAuthUnityCatalog
    DeltaLakeDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/DeltaLakeDestinationOptionsBucketABS'
        - $ref: '#/components/schemas/DeltaLakeDestinationOptionsBucketGCS'
        - $ref: '#/components/schemas/DeltaLakeDestinationOptionsBucketS3'
        - $ref: '#/components/schemas/DeltaLakeDestinationOptionsBucketS3Compatible'
      discriminator:
        mapping:
          bucket_abs: '#/components/schemas/DeltaLakeDestinationOptionsBucketABS'
          bucket_gcs: '#/components/schemas/DeltaLakeDestinationOptionsBucketGCS'
          bucket_s3: '#/components/schemas/DeltaLakeDestinationOptionsBucketS3'
          bucket_s3_compatible: '#/components/schemas/DeltaLakeDestinationOptionsBucketS3Compatible'
        propertyName: storage
    GCSDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/GCSDestinationOptionsGCPServiceAccountRole'
        - $ref: '#/components/schemas/GCSDestinationOptionsGCSHMACKeys'
        - $ref: >-
            #/components/schemas/GCSDestinationOptionsFederatedGCPServiceAccountRole
      discriminator:
        mapping:
          federated_gcp_service_account_role: >-
            #/components/schemas/GCSDestinationOptionsFederatedGCPServiceAccountRole
          gcp_service_account_role: '#/components/schemas/GCSDestinationOptionsGCPServiceAccountRole'
          gcs_hmac_keys: '#/components/schemas/GCSDestinationOptionsGCSHMACKeys'
        propertyName: auth_method
    GoogleSheetsDestinationOptions:
      properties:
        host:
          type: string
          pattern: ^(https?:\/\/)?(www.)?docs.google.com\/spreadsheets\/d\/.+(\/)?$
          title: Spreadsheet URL
          examples:
            - https://docs.google.com/spreadsheets/d/1234567
      additionalProperties: false
      type: object
      required:
        - host
    IcebergDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/IcebergDestinationOptionsCatalogIcebergRest'
        - $ref: '#/components/schemas/IcebergDestinationOptionsCatalogGlue'
        - $ref: '#/components/schemas/IcebergDestinationOptionsCatalogS3Tables'
        - $ref: '#/components/schemas/IcebergDestinationOptionsCatalogGoogleLakehouse'
      discriminator:
        mapping:
          catalog_glue: '#/components/schemas/IcebergDestinationOptionsCatalogGlue'
          catalog_google_lakehouse: '#/components/schemas/IcebergDestinationOptionsCatalogGoogleLakehouse'
          catalog_iceberg_rest: '#/components/schemas/IcebergDestinationOptionsCatalogIcebergRest'
          catalog_s3_tables: '#/components/schemas/IcebergDestinationOptionsCatalogS3Tables'
        propertyName: catalog
    MockDestinationOptions:
      properties:
        schema:
          type: string
          description: Mock schema name.
          examples:
            - data_export
        database:
          type: string
          description: Mock database name.
          examples:
            - mock
        error_code:
          type: string
          examples:
            - PRQL-ZDJR
      additionalProperties: false
      type: object
      required:
        - schema
        - database
    MongoDBDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/MongoDBDestinationOptionsAWSIAMRole'
        - $ref: '#/components/schemas/MongoDBDestinationOptionsPasswordAuth'
      discriminator:
        mapping:
          aws_iam_role: '#/components/schemas/MongoDBDestinationOptionsAWSIAMRole'
          password_auth: '#/components/schemas/MongoDBDestinationOptionsPasswordAuth'
        propertyName: auth_method
    MotherDuckDestinationOptions:
      properties:
        database:
          type: string
          title: Database
          description: MotherDuck database name.
          examples:
            - my_db
        schema:
          type: string
          title: Schema
          description: MotherDuck schema name.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - access_token_auth
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to access_token_auth.
        access_token_auth:
          $ref: '#/components/schemas/AccessToken'
          description: The access token authentication object.
      additionalProperties: false
      type: object
      required:
        - database
        - schema
        - auth_method
    OracleDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/OracleDestinationOptionsSSLEnabled'
        - $ref: '#/components/schemas/OracleDestinationOptionsSSLDisabled'
    RedshiftDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/RedshiftDestinationOptionsAWSAccessKeys'
        - $ref: '#/components/schemas/RedshiftDestinationOptionsAWSIAMRole'
      discriminator:
        mapping:
          aws_access_keys: '#/components/schemas/RedshiftDestinationOptionsAWSAccessKeys'
          aws_iam_role: '#/components/schemas/RedshiftDestinationOptionsAWSIAMRole'
        propertyName: auth_method
    RedshiftServerlessDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/RedshiftServerlessDestinationOptionsAWSIAMRole'
        - $ref: >-
            #/components/schemas/RedshiftServerlessDestinationOptionsAWSAccessKeys
      discriminator:
        mapping:
          aws_access_keys: >-
            #/components/schemas/RedshiftServerlessDestinationOptionsAWSAccessKeys
          aws_iam_role: '#/components/schemas/RedshiftServerlessDestinationOptionsAWSIAMRole'
        propertyName: auth_method
    SFTPDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/SFTPDestinationOptionsPgp'
      discriminator:
        mapping:
          pgp: '#/components/schemas/SFTPDestinationOptionsPgp'
        propertyName: file_encryption
    SnowflakeDestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/SnowflakeDestinationOptionsPasswordAuth'
        - $ref: '#/components/schemas/SnowflakeDestinationOptionsPublicKeyAuth'
      discriminator:
        mapping:
          password_auth: '#/components/schemas/SnowflakeDestinationOptionsPasswordAuth'
          public_key_auth: '#/components/schemas/SnowflakeDestinationOptionsPublicKeyAuth'
        propertyName: auth_method
    SQLServerDestinationOptions:
      properties:
        host:
          type: string
          title: Host
          description: Host address of the database.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the SQL Server instance.
          examples:
            - 1433
        database:
          type: string
          title: Database
          description: Name of database provisioned by the owner of the destination.
          examples:
            - analytics
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/PasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the SQL Server connection. When false:
            SSL is enabled.
          default: false
        primary_key_collation:
          type: string
          title: Primary Key Collation
          description: >-
            SQL Server collation to use for primary key column. Leave empty to
            use database default collation.
          examples:
            - SQL_Latin1_General_CP1_CI_AS
      additionalProperties: false
      type: object
      required:
        - schema
        - auth_method
        - password_auth
    S3DestinationOptions:
      oneOf:
        - $ref: '#/components/schemas/S3DestinationOptionsAWSIAMRole'
        - $ref: '#/components/schemas/S3DestinationOptionsAWSAccessKeys'
      discriminator:
        mapping:
          aws_access_keys: '#/components/schemas/S3DestinationOptionsAWSAccessKeys'
          aws_iam_role: '#/components/schemas/S3DestinationOptionsAWSIAMRole'
        propertyName: auth_method
    S3CompatibleDestinationOptions:
      properties:
        host:
          type: string
          title: Bucket host
          description: Hostname of the S3-compatible server.
          examples:
            - s3.us-east-1.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the S3-compatible server.
          examples:
            - 443
        folder:
          type: string
          title: Folder name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        file_format:
          type: string
          enum:
            - parquet
            - csv
            - json
            - jsonl
          title: File format
          description: >-
            File format to write to the bucket. Parquet is the default and
            recommended format.
          default: parquet
        csv:
          $ref: '#/components/schemas/FileFormatCSV'
          description: Required details if writing CSV file format.
        bucket_name:
          type: string
          title: Bucket name
          description: Name of the S3-compatible bucket to write data to.
          examples:
            - acme-data-export-staging
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the S3-compatible connection. When false:
            SSL is enabled.
          default: false
        auth_method:
          type: string
          enum:
            - access_keys
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to access_keys.
        access_keys:
          $ref: '#/components/schemas/AccessKeys'
          description: Required details for access key authentication.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
      additionalProperties: false
      type: object
      required:
        - host
        - port
        - folder
        - bucket_name
        - auth_method
        - access_keys
    UpdateAzureServiceSharedAccessSignature:
      properties:
        shared_access_signature_token:
          type: string
          title: Storage Account SAS Token
      additionalProperties: false
      type: object
    AWSIAMRole:
      properties:
        aws_iam_role_arn:
          type: string
          title: IAM role ARN
          examples:
            - arn:aws:iam::123456789012:role/service-role/role-name
      additionalProperties: false
      type: object
      required:
        - aws_iam_role_arn
    UpdateAWSAccessKeys:
      properties:
        access_id:
          type: string
          description: The access key ID to use for authentication.
          examples:
            - AKIAIOSFODNN7EXAMPLE
        secret_key:
          type: string
          description: The secret key to use for authentication.
      additionalProperties: false
      type: object
    UpdateS3BucketParams:
      properties:
        bucket_name:
          type: string
          description: The name of the S3 bucket.
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
      additionalProperties: false
      type: object
    UpdatePasswordAuth:
      properties:
        username:
          type: string
          description: The username to use for authentication.
          examples:
            - data_export_user
        password:
          type: string
          description: The password to use for authentication.
      additionalProperties: false
      type: object
    SSHTunnelParams:
      properties:
        ssh_tunnel_host:
          type: string
          title: SSH tunnel host
          examples:
            - bastion.example.com
        ssh_tunnel_port:
          type: integer
          title: SSH tunnel port
          examples:
            - 22
        ssh_tunnel_username:
          type: string
          title: SSH tunnel username
          examples:
            - data-export
        ssh_public_key:
          type: string
          enum:
            - primary_public_key
            - secondary_public_key
          title: SSH Public Key
          description: >-
            This is the public SSH key that will be used to establish the SSH
            tunnel. It should be added to the list of authorized keys on the
            bastion host.
      additionalProperties: false
      type: object
      required:
        - ssh_tunnel_host
        - ssh_tunnel_port
        - ssh_tunnel_username
    UpdateGCPServiceAccountRole:
      properties:
        service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          description: The email of the GCP service account to use for authentication.
          examples:
            - data-export@acme-analytics-1234.iam.gserviceaccount.com
        workload_identity_federation_metadata:
          $ref: '#/components/schemas/GcpExternalAccountMetadata'
          title: Workload identity metadata
          description: The federation metadata to use for authentication.
      additionalProperties: false
      type: object
    UpdateFederatedGCPServiceAccountRole:
      properties:
        service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          title: Service account email
          examples:
            - service-account-name@project-id.iam.gserviceaccount.com
        workload_identity_federation_metadata:
          $ref: '#/components/schemas/GcpExternalAccountMetadata'
          title: Workload identity metadata
      additionalProperties: false
      type: object
      required:
        - service_account_email
    UpdateGCPServiceAccountKey:
      properties:
        service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          description: The email of the GCP service account to use for authentication.
          examples:
            - data-export@acme-analytics-1234.iam.gserviceaccount.com
        service_account_key:
          description: The full Google-generated JSON service account key object.
      additionalProperties: false
      type: object
    UpdateClientSecretWorkloadIdentityFederation:
      properties:
        client_id:
          type: string
          title: Client ID
          examples:
            - 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
        client_secret:
          type: string
          title: Client secret
        token_url:
          type: string
          title: Token endpoint URL
          examples:
            - https://sts.googleapis.com/v1/token
        scope:
          type: string
          title: Scopes
          examples:
            - https://www.googleapis.com/auth/cloud-platform
        gcp_service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          title: GCP service account email
          examples:
            - data-export@acme-analytics-1234.iam.gserviceaccount.com
        gcp_wif_audience:
          type: string
          title: Workload identity federation audience
          examples:
            - >-
              //iam.googleapis.com/projects/123456789/locations/global/workloadIdentityPools/data-export-pool/providers/data-export-provider
      additionalProperties: false
      type: object
    UpdateBigQueryGCSBucketParams:
      properties:
        bucket_name:
          type: string
          description: The name of the GCS bucket.
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          description: >-
            The region of the staging GCS bucket. Must be a valid GCS [bucket
            location](https://cloud.google.com/storage/docs/locations)
          examples:
            - us-central1
      additionalProperties: false
      type: object
    UpdateClickhouseS3BucketParams:
      properties:
        bucket_name:
          type: string
          description: The name of the S3 bucket.
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        bucket_auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          description: Authentication method for S3 bucket.
        aws_access_keys:
          $ref: '#/components/schemas/UpdateAWSAccessKeys'
          description: Required details for access key authentication.
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          description: Required details for AWS IAM role authentication.
      additionalProperties: false
      type: object
    UpdateClickhouseGCSBucketParams:
      properties:
        bucket_name:
          type: string
          description: The name of the GCS bucket.
          examples:
            - acme-data-export-staging
        gcs_hmac_keys:
          $ref: '#/components/schemas/UpdateGCSAccessKeys'
          description: Required details for GCS HMAC key authentication.
      additionalProperties: false
      type: object
    AccessToken:
      properties:
        access_token:
          type: string
          title: Personal access token
          description: The access token to use for the connection.
      additionalProperties: false
      type: object
      required:
        - access_token
    UpdateOauthClientSecretAuth:
      properties:
        client_id:
          type: string
          title: Client ID
          examples:
            - 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
        client_secret:
          type: string
          title: Client Secret
      additionalProperties: false
      type: object
    UpdateDatabricksHiveOptions:
      properties:
        bucket_vendor:
          type: string
          enum:
            - bucket_s3
          description: Where the staging bucket is hosted.
        bucket_s3:
          $ref: '#/components/schemas/UpdateDatabricksS3BucketParams'
          description: Required details if using an S3 bucket for staging data.
      additionalProperties: false
      type: object
    UpdateOpenTableFormatABSBucketParams:
      properties:
        storage_account_name:
          type: string
          description: The name of the storage account configured for Prequel.
          examples:
            - acmestorage
        bucket_auth_method:
          type: string
          enum:
            - azure_storage_account_access_key
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to azure_storage_account_access_key.
        azure_storage_account_access_key:
          $ref: '#/components/schemas/UpdateAzureStorageAccountAccessKey'
          description: Required parameters to authenticate to Azure using an access key.
      additionalProperties: false
      type: object
    UpdateOpenTableFormatGCSBucketParams:
      properties:
        bucket_auth_method:
          type: string
          enum:
            - gcp_service_account_role
            - gcp_service_account_key
            - federated_gcp_service_account_role
          description: The method of authentication to use for this destination.
        gcp_service_account_role:
          $ref: '#/components/schemas/UpdateGCPServiceAccountRole'
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
        gcp_service_account_key:
          $ref: >-
            #/components/schemas/UpdateOpenTableFormatGCSDestinationServiceAccountKey
          description: Required details if authenticating using a GCP service account key.
        federated_gcp_service_account_role:
          $ref: '#/components/schemas/UpdateFederatedGCPServiceAccountRole'
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
      additionalProperties: false
      type: object
    UpdateOpenTableFormatS3BucketParams:
      properties:
        bucket_auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          title: Auth method
          description: The method of authentication to use for this destination.
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
        aws_access_keys:
          $ref: '#/components/schemas/AWSAccessKeys'
          description: Required details if authenticating using AWS access keys.
      additionalProperties: false
      type: object
      required:
        - bucket_auth_method
    UpdateOpenTableFormatS3CompatibleBucketParams:
      properties:
        disable_ssl:
          type: boolean
          description: Whether to disable SSL for the S3-compatible connection.
          default: false
        bucket_auth_method:
          type: string
          enum:
            - access_keys
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to access_keys.
        access_keys:
          $ref: '#/components/schemas/UpdateAccessKeys'
          description: Required details for access key authentication.
      additionalProperties: false
      type: object
    UpdateGCSAccessKeys:
      properties:
        access_key:
          type: string
          description: The access key to use for authentication.
          examples:
            - GOOG1EXAMPLEACCESSID
        secret:
          type: string
          description: The secret to use for authentication.
      additionalProperties: false
      type: object
    UpdateIcebergRestCatalogParams:
      properties:
        auth_method:
          type: string
          enum:
            - oauth_bearer_token_auth
            - oauth_client_secret_auth
          title: Auth method
          description: The method of authentication to use for this rest catalog.
        oauth_bearer_token_auth:
          $ref: '#/components/schemas/UpdateOauthBearerTokenAuth'
          description: Required details if authenticating with an OAUTH2 bearer token.
        oauth_client_secret_auth:
          $ref: '#/components/schemas/UpdateOauthDelegatedCredentialAuth'
          description: >-
            Required details if authenticating with an OAUTH2 delegated
            credentials.
        storage_options:
          $ref: '#/components/schemas/UpdateIcebergStorageOptionsParams'
        namespace:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Namespace
          description: >-
            Name of collection in which to group written iceberg tables. It will
            be created automatically if the namespace does not exist.
          examples:
            - data_export
        warehouse:
          type: string
          title: Namespace
          description: >-
            The identifier for the warehouse associated with this REST catalog.
            This might be a storage URI (ex s3://...) or a unique name provided
            by the catalog service.
          examples:
            - s3://acme-data-export-staging/warehouse
      additionalProperties: false
      type: object
    UpdateIcebergAwsGlueCatalogParams:
      properties:
        storage_options:
          $ref: '#/components/schemas/UpdateIcebergAwsStorageOptionsParams'
        database:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          examples:
            - analytics
      additionalProperties: false
      type: object
    UpdateIcebergAwsS3TablesCatalogParams:
      properties:
        storage_options:
          $ref: '#/components/schemas/UpdateIcebergAwsStorageOptionsParams'
        database:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          examples:
            - analytics
        table_bucket_arn:
          type: string
          examples:
            - arn:aws:s3tables:us-east-1:123456789012:bucket/acme-tables
      additionalProperties: false
      type: object
    UpdateIcebergGoogleLakehouseCatalogParams:
      properties:
        project_id:
          type: string
          description: The Google Cloud project ID.
          examples:
            - acme-analytics-1234
        catalog_name:
          type: string
          description: Name of BigLake catalog.
          examples:
            - data_export_catalog
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          description: Name of BigLake schema to create and write data to.
          examples:
            - data_export
        bucket_name:
          type: string
          description: Name of GCS bucket to use for the Iceberg table data.
          examples:
            - acme-data-export-staging
        auth_method:
          type: string
          enum:
            - gcp_service_account_role
            - gcp_service_account_key
            - federated_gcp_service_account_role
          description: The method of authentication to use for this catalog.
        gcp_service_account_role:
          $ref: '#/components/schemas/UpdateGCPServiceAccountRole'
          description: Required details if authenticating using a GCP service account role.
        federated_gcp_service_account_role:
          $ref: '#/components/schemas/UpdateFederatedGCPServiceAccountRole'
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
        gcp_service_account_key:
          $ref: >-
            #/components/schemas/UpdateOpenTableFormatGCSDestinationServiceAccountKey
          description: Required details if authenticating using a GCP service account key.
      additionalProperties: false
      type: object
    UpdateOracleDestinationOptionsSSLEnabled:
      properties:
        host:
          type: string
          description: The hostname of the Oracle database server.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the Oracle database server.
          examples:
            - 1521
        database:
          type: string
          description: The name of the database to connect to.
          examples:
            - ORCL
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the schema to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/UpdatePasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          const: false
        ssl_options:
          $ref: '#/components/schemas/OracleSSLParams'
          description: Required details if using SSL connection.
      type: object
      required:
        - ssl_options
      title: SSL Enabled
      unevaluatedProperties: false
    UpdateOracleDestinationOptionsSSLDisabled:
      properties:
        host:
          type: string
          description: The hostname of the Oracle database server.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          description: The port of the Oracle database server.
          examples:
            - 1521
        database:
          type: string
          description: The name of the database to connect to.
          examples:
            - ORCL
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          description: The name of the schema to write to.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/UpdatePasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          title: Use SSH Tunnel
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          description: Whether to disable SSL for the PostgreSQL connection.
          default: false
      type: object
      required:
        - disable_ssl
      title: SSL Disabled
      unevaluatedProperties: false
    UpdateRedshiftAccessKeys:
      properties:
        password:
          type: string
          title: Password
        access_id:
          type: string
          title: Bucket access ID
          examples:
            - AKIAIOSFODNN7EXAMPLE
        secret_key:
          type: string
          title: Bucket secret key
      additionalProperties: false
      type: object
      required:
        - password
        - access_id
        - secret_key
    UpdateRedshiftS3BucketParams:
      properties:
        bucket_name:
          type: string
          description: The name of the S3 bucket.
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
      additionalProperties: false
      type: object
    AWSAccessKeys:
      properties:
        access_id:
          type: string
          title: Bucket access ID
          examples:
            - AKIAIOSFODNN7EXAMPLE
        secret_key:
          type: string
          title: Bucket secret key
      additionalProperties: false
      type: object
      required:
        - access_id
        - secret_key
    UpdatePublicKeyAuth:
      properties:
        public_key:
          type: string
          title: Public key
          description: >-
            This is the public SSH key that will be used to establish the SSH
            tunnel. It should be added to the list of authorized keys on the
            bastion host.
      additionalProperties: false
      type: object
    UpdatePasswordOnlyAuth:
      properties:
        password:
          type: string
          title: Password
      additionalProperties: false
      type: object
      required:
        - password
    PublicKeyAuth:
      properties:
        public_key:
          type: string
          enum:
            - primary_public_key
            - secondary_public_key
          title: Public key
          description: >-
            This is the public SSH key that will be used to establish the SSH
            tunnel. It should be added to the list of authorized keys on the
            bastion host.
      additionalProperties: false
      type: object
      required:
        - public_key
    UpdateAccessKeys:
      properties:
        access_id:
          type: string
          description: The access key ID to use for authentication.
          examples:
            - AKIAIOSFODNN7EXAMPLE
        secret_key:
          type: string
          description: The secret key to use for authentication.
      additionalProperties: false
      type: object
    FileFormatCSV:
      properties:
        delimiter:
          type: string
          title: Delimiter
          description: The delimiter to use for the CSV file. Must be a single character.
          examples:
            - ','
      additionalProperties: false
      type: object
      required:
        - delimiter
    AzureServiceSharedAccessSignature:
      properties:
        shared_access_signature_token:
          type: string
          title: Storage Account SAS Token
      additionalProperties: false
      type: object
      required:
        - shared_access_signature_token
    AthenaDestinationOptionsAWSIAMRole:
      properties:
        workgroup:
          type: string
          title: Workgroup
          description: >-
            Optional field to specify the Athena Workgroup to use. Must be
            configured for Athena engine version 3. If left blank, the default
            Workgroup is used.
          examples:
            - primary
        connection_database:
          type: string
          title: Query results location
          description: >-
            The name of the folder where the query results will be stored. This
            folder will be created within the S3 bucket.
          examples:
            - default
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Schema
          description: >-
            This is the name for the group of tables loaded into Athena. This is
            synonymous with database in Athena.
          examples:
            - data_export
        bucket_s3:
          $ref: '#/components/schemas/S3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          const: aws_iam_role
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          title: Authenticate using an AWS IAM role (recommended)
      type: object
      required:
        - connection_database
        - write_database
        - bucket_s3
        - auth_method
        - aws_iam_role
      title: Authenticate using an AWS IAM role (recommended)
      unevaluatedProperties: false
    AthenaDestinationOptionsAWSAccessKeys:
      properties:
        workgroup:
          type: string
          title: Workgroup
          description: >-
            Optional field to specify the Athena Workgroup to use. Must be
            configured for Athena engine version 3. If left blank, the default
            Workgroup is used.
          examples:
            - primary
        connection_database:
          type: string
          title: Query results location
          description: >-
            The name of the folder where the query results will be stored. This
            folder will be created within the S3 bucket.
          examples:
            - default
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Schema
          description: >-
            This is the name for the group of tables loaded into Athena. This is
            synonymous with database in Athena.
          examples:
            - data_export
        bucket_s3:
          $ref: '#/components/schemas/S3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        auth_method:
          type: string
          enum:
            - aws_access_keys
            - aws_iam_role
          const: aws_access_keys
        aws_access_keys:
          $ref: '#/components/schemas/AWSAccessKeys'
          title: Authenticate using AWS access keys
          description: Required details if authenticating using AWS access keys.
      type: object
      required:
        - connection_database
        - write_database
        - bucket_s3
        - auth_method
        - aws_access_keys
      title: Authenticate using AWS access keys
      unevaluatedProperties: false
    PasswordAuth:
      properties:
        username:
          type: string
          title: Username
          examples:
            - data_export_user
        password:
          type: string
          title: Password
      additionalProperties: false
      type: object
      required:
        - username
        - password
    BigQueryDestinationOptionsGCPServiceAccountRole:
      properties:
        project_id:
          $comment: >-
            BigQuery Project IDs must consist of 4-30 lowercase letters,
            numbers, and hyphens, and must begin with a lowercase letter and end
            with a lowercase letter or number.
          type: string
          pattern: ^[a-z][a-z0-9-]{2,28}[a-z0-9]$
          title: Project ID
          examples:
            - acme-analytics-1234
        schema:
          $comment: >-
            BigQuery Dataset IDs must consist of 1-1024 alphanumeric characters
            or underscores.
          type: string
          pattern: ^[a-zA-Z0-9_]+$
          title: Dataset
          description: >-
            Name of dataset to create and write data to. It will be created
            automatically if the dataset does not exist.
          examples:
            - data_export
        bucket_gcs:
          $ref: '#/components/schemas/BigQueryGCSBucketParams'
          description: Required details about the GCS bucket used for staging data.
        auth_method:
          type: string
          enum:
            - gcp_service_account_role
            - gcp_service_account_key
            - federated_gcp_service_account_role
            - client_secret_workload_identity_federation
          const: gcp_service_account_role
        gcp_service_account_role:
          $ref: '#/components/schemas/GCPServiceAccountRole'
          title: Authenticate using a GCP service account (recommended)
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
      type: object
      required:
        - project_id
        - schema
        - bucket_gcs
        - auth_method
        - gcp_service_account_role
      title: Authenticate using a GCP service account (recommended)
      unevaluatedProperties: false
    BigQueryDestinationOptionsFederatedGCPServiceAccountRole:
      properties:
        project_id:
          $comment: >-
            BigQuery Project IDs must consist of 4-30 lowercase letters,
            numbers, and hyphens, and must begin with a lowercase letter and end
            with a lowercase letter or number.
          type: string
          pattern: ^[a-z][a-z0-9-]{2,28}[a-z0-9]$
          title: Project ID
          examples:
            - acme-analytics-1234
        schema:
          $comment: >-
            BigQuery Dataset IDs must consist of 1-1024 alphanumeric characters
            or underscores.
          type: string
          pattern: ^[a-zA-Z0-9_]+$
          title: Dataset
          description: >-
            Name of dataset to create and write data to. It will be created
            automatically if the dataset does not exist.
          examples:
            - data_export
        bucket_gcs:
          $ref: '#/components/schemas/BigQueryGCSBucketParams'
          description: Required details about the GCS bucket used for staging data.
        auth_method:
          type: string
          enum:
            - federated_gcp_service_account_role
            - gcp_service_account_role
            - gcp_service_account_key
            - client_secret_workload_identity_federation
          const: federated_gcp_service_account_role
        federated_gcp_service_account_role:
          $ref: '#/components/schemas/FederatedGCPServiceAccountRole'
          title: Authenticate using federation (only for AWS-hosted deployments)
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
      type: object
      required:
        - project_id
        - schema
        - bucket_gcs
        - auth_method
        - federated_gcp_service_account_role
      title: Authenticate using federation (only for AWS-hosted deployments)
      unevaluatedProperties: false
    BigQueryDestinationOptionsGCPServiceAccountKey:
      properties:
        project_id:
          $comment: >-
            BigQuery Project IDs must consist of 4-30 lowercase letters,
            numbers, and hyphens, and must begin with a lowercase letter and end
            with a lowercase letter or number.
          type: string
          pattern: ^[a-z][a-z0-9-]{2,28}[a-z0-9]$
          title: Project ID
          examples:
            - acme-analytics-1234
        schema:
          $comment: >-
            BigQuery Dataset IDs must consist of 1-1024 alphanumeric characters
            or underscores.
          type: string
          pattern: ^[a-zA-Z0-9_]+$
          title: Dataset
          description: >-
            Name of dataset to create and write data to. It will be created
            automatically if the dataset does not exist.
          examples:
            - data_export
        bucket_gcs:
          $ref: '#/components/schemas/BigQueryGCSBucketParams'
          description: Required details about the GCS bucket used for staging data.
        auth_method:
          type: string
          enum:
            - gcp_service_account_key
            - gcp_service_account_role
            - federated_gcp_service_account_role
            - client_secret_workload_identity_federation
          const: gcp_service_account_key
        gcp_service_account_key:
          $ref: '#/components/schemas/GCPServiceAccountKey'
          title: Authenticate using direct access
          description: Required details if authenticating using a GCP service account key.
      type: object
      required:
        - project_id
        - schema
        - bucket_gcs
        - auth_method
        - gcp_service_account_key
      title: Authenticate using direct access
      unevaluatedProperties: false
    BigQueryDestinationOptionsClientSecretWorkloadIdentityFederation:
      properties:
        project_id:
          $comment: >-
            BigQuery Project IDs must consist of 4-30 lowercase letters,
            numbers, and hyphens, and must begin with a lowercase letter and end
            with a lowercase letter or number.
          type: string
          pattern: ^[a-z][a-z0-9-]{2,28}[a-z0-9]$
          title: Project ID
          examples:
            - acme-analytics-1234
        schema:
          $comment: >-
            BigQuery Dataset IDs must consist of 1-1024 alphanumeric characters
            or underscores.
          type: string
          pattern: ^[a-zA-Z0-9_]+$
          title: Dataset
          description: >-
            Name of dataset to create and write data to. It will be created
            automatically if the dataset does not exist.
          examples:
            - data_export
        bucket_gcs:
          $ref: '#/components/schemas/BigQueryGCSBucketParams'
          description: Required details about the GCS bucket used for staging data.
        auth_method:
          type: string
          enum:
            - client_secret_workload_identity_federation
            - gcp_service_account_role
            - gcp_service_account_key
            - federated_gcp_service_account_role
          const: client_secret_workload_identity_federation
        client_secret_workload_identity_federation:
          $ref: '#/components/schemas/ClientSecretWorkloadIdentityFederation'
          title: Authenticate using external identity provider
          description: >-
            Required details if the authentication fetches an OAuth token from
            an external identity provider and federates into the GCP project to
            impersonate a service account you grant access to.
      type: object
      required:
        - project_id
        - schema
        - bucket_gcs
        - auth_method
        - client_secret_workload_identity_federation
      title: Authenticate using external identity provider
      unevaluatedProperties: false
    ClickhouseDestinationOptionsBucketS3:
      properties:
        host:
          type: string
          title: Host
          description: Hostname of the ClickHouse server.
          examples:
            - abc123xyz.us-east-1.aws.clickhouse.cloud
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the ClickHouse server.
          examples:
            - 8443
        cluster:
          type: string
          title: Cluster
          description: >-
            Optional field to specify the Cluster to use in 'ON CLUSTER'
            statements.
          examples:
            - default
        connection_database:
          type: string
          title: Connection database
          description: Name of the ClickHouse database to use for the initial connection.
          examples:
            - default
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Write database
          description: >-
            Name of the ClickHouse database where tables will be created and
            data will be written. It will be created automatically if it does
            not exist.
          examples:
            - default
        auth_method:
          type: string
          enum:
            - password_auth
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/PasswordAuth'
          description: Required details for username/password authentication.
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the ClickHouse connection. When false:
            SSL is enabled.
          default: false
        bucket_vendor:
          type: string
          enum:
            - bucket_s3
            - bucket_gcs
            - bucket_implicit
          const: bucket_s3
        bucket_s3:
          $ref: '#/components/schemas/ClickhouseS3BucketParams'
          title: Staging bucket hosted on S3
          description: Required details about the S3 bucket used for staging data.
      type: object
      required:
        - host
        - port
        - connection_database
        - write_database
        - auth_method
        - password_auth
        - bucket_vendor
        - bucket_s3
      title: Staging bucket hosted on S3
      unevaluatedProperties: false
    ClickhouseDestinationOptionsBucketGCS:
      properties:
        host:
          type: string
          title: Host
          description: Hostname of the ClickHouse server.
          examples:
            - abc123xyz.us-east-1.aws.clickhouse.cloud
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the ClickHouse server.
          examples:
            - 8443
        cluster:
          type: string
          title: Cluster
          description: >-
            Optional field to specify the Cluster to use in 'ON CLUSTER'
            statements.
          examples:
            - default
        connection_database:
          type: string
          title: Connection database
          description: Name of the ClickHouse database to use for the initial connection.
          examples:
            - default
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Write database
          description: >-
            Name of the ClickHouse database where tables will be created and
            data will be written. It will be created automatically if it does
            not exist.
          examples:
            - default
        auth_method:
          type: string
          enum:
            - password_auth
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/PasswordAuth'
          description: Required details for username/password authentication.
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the ClickHouse connection. When false:
            SSL is enabled.
          default: false
        bucket_vendor:
          type: string
          enum:
            - bucket_gcs
            - bucket_s3
            - bucket_implicit
          const: bucket_gcs
        bucket_gcs:
          $ref: '#/components/schemas/ClickhouseGCSBucketParams'
          title: Staging bucket hosted on GCS
          description: Required details about the GCS bucket used for staging data.
      type: object
      required:
        - host
        - port
        - connection_database
        - write_database
        - auth_method
        - password_auth
        - bucket_vendor
        - bucket_gcs
      title: Staging bucket hosted on GCS
      unevaluatedProperties: false
    DatabricksDestinationOptionsAccessTokenAuthHive:
      properties:
        host:
          type: string
          title: Server hostname
          description: >-
            Server hostname of the SQL endpoint provisioned by the owner of the
            destination.
          examples:
            - adb-1099123456789876.12.azuredatabricks.net
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the Databricks SQL endpoint.
          examples:
            - 443
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        catalog:
          type: string
          title: Catalog
          description: Name of catalog to write data to.
          examples:
            - main
        http_path:
          type: string
          title: HTTP path
          description: >-
            HTTP path of the SQL endpoint provisioned by the owner of the
            destination.
          examples:
            - /sql/1.0/endpoints/a98765ab4c3210a0
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        auth_method:
          type: string
          enum:
            - access_token_auth
            - oauth_client_secret_auth
          const: access_token_auth
        access_token_auth:
          $ref: '#/components/schemas/AccessToken'
          description: Required details if authenticating using an access token.
        metastore:
          type: string
          enum:
            - hive
            - unity_catalog
          const: hive
        hive:
          $ref: '#/components/schemas/DatabricksHiveOptions'
          title: Hive Metastore
      type: object
      required:
        - host
        - port
        - schema
        - catalog
        - http_path
        - auth_method
        - access_token_auth
        - metastore
        - hive
      title: Access Token Auth · Hive Metastore
      unevaluatedProperties: false
    DatabricksDestinationOptionsAccessTokenAuthUnityCatalog:
      properties:
        host:
          type: string
          title: Server hostname
          description: >-
            Server hostname of the SQL endpoint provisioned by the owner of the
            destination.
          examples:
            - adb-1099123456789876.12.azuredatabricks.net
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the Databricks SQL endpoint.
          examples:
            - 443
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        catalog:
          type: string
          title: Catalog
          description: Name of catalog to write data to.
          examples:
            - main
        http_path:
          type: string
          title: HTTP path
          description: >-
            HTTP path of the SQL endpoint provisioned by the owner of the
            destination.
          examples:
            - /sql/1.0/endpoints/a98765ab4c3210a0
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        auth_method:
          type: string
          enum:
            - access_token_auth
            - oauth_client_secret_auth
          const: access_token_auth
        access_token_auth:
          $ref: '#/components/schemas/AccessToken'
          description: Required details if authenticating using an access token.
        metastore:
          type: string
          enum:
            - unity_catalog
            - hive
          const: unity_catalog
      type: object
      required:
        - host
        - port
        - schema
        - catalog
        - http_path
        - auth_method
        - access_token_auth
        - metastore
      title: Access Token Auth · Unity Catalog Metastore
      unevaluatedProperties: false
    DatabricksDestinationOptionsOAuthClientSecretAuthHive:
      properties:
        host:
          type: string
          title: Server hostname
          description: >-
            Server hostname of the SQL endpoint provisioned by the owner of the
            destination.
          examples:
            - adb-1099123456789876.12.azuredatabricks.net
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the Databricks SQL endpoint.
          examples:
            - 443
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        catalog:
          type: string
          title: Catalog
          description: Name of catalog to write data to.
          examples:
            - main
        http_path:
          type: string
          title: HTTP path
          description: >-
            HTTP path of the SQL endpoint provisioned by the owner of the
            destination.
          examples:
            - /sql/1.0/endpoints/a98765ab4c3210a0
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        auth_method:
          type: string
          enum:
            - oauth_client_secret_auth
            - access_token_auth
          const: oauth_client_secret_auth
        oauth_client_secret_auth:
          $ref: '#/components/schemas/OauthClientSecretAuth'
          description: Required details if authenticating using a OAuth client secret.
        metastore:
          type: string
          enum:
            - hive
            - unity_catalog
          const: hive
        hive:
          $ref: '#/components/schemas/DatabricksHiveOptions'
          title: Hive Metastore
      type: object
      required:
        - host
        - port
        - schema
        - catalog
        - http_path
        - auth_method
        - oauth_client_secret_auth
        - metastore
        - hive
      title: OAuth Client Secret Auth · Hive Metastore
      unevaluatedProperties: false
    DatabricksDestinationOptionsOAuthClientSecretAuthUnityCatalog:
      properties:
        host:
          type: string
          title: Server hostname
          description: >-
            Server hostname of the SQL endpoint provisioned by the owner of the
            destination.
          examples:
            - adb-1099123456789876.12.azuredatabricks.net
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the Databricks SQL endpoint.
          examples:
            - 443
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        catalog:
          type: string
          title: Catalog
          description: Name of catalog to write data to.
          examples:
            - main
        http_path:
          type: string
          title: HTTP path
          description: >-
            HTTP path of the SQL endpoint provisioned by the owner of the
            destination.
          examples:
            - /sql/1.0/endpoints/a98765ab4c3210a0
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        auth_method:
          type: string
          enum:
            - oauth_client_secret_auth
            - access_token_auth
          const: oauth_client_secret_auth
        oauth_client_secret_auth:
          $ref: '#/components/schemas/OauthClientSecretAuth'
          description: Required details if authenticating using a OAuth client secret.
        metastore:
          type: string
          enum:
            - unity_catalog
            - hive
          const: unity_catalog
      type: object
      required:
        - host
        - port
        - schema
        - catalog
        - http_path
        - auth_method
        - oauth_client_secret_auth
        - metastore
      title: OAuth Client Secret Auth · Unity Catalog Metastore
      unevaluatedProperties: false
    DeltaLakeDestinationOptionsBucketABS:
      properties:
        retention_window_days:
          type: integer
          title: Retention window (days)
          description: The number of days a file must be deleted before it is vacuumed.
          default: 30
        column_mapping_mode:
          type: string
          enum:
            - none
            - id
            - name
          title: Column mapping mode
          description: >-
            Column mapping mode for the Delta Lake table. Use none for no
            mapping; name to track columns by name (allows rename and drop
            without rewrite); or id to track columns by numeric ID.
          default: none
        deletion_vectors_disabled:
          type: boolean
          title: Disable deletion vectors
          description: >-
            Whether to disable deletion vectors. When false: deletions are
            recorded as markers without rewriting table files.
          default: false
        change_data_feed_disabled:
          type: boolean
          title: Disable change data feed
          description: >-
            Whether to disable change data feed. When false: row-level change
            tracking is maintained for the table.
          default: false
        storage:
          type: string
          enum:
            - bucket_abs
            - bucket_s3
            - bucket_s3_compatible
            - bucket_gcs
          const: bucket_abs
        bucket_abs:
          $ref: '#/components/schemas/OpenTableFormatABSBucketParams'
          description: Required details about the ABS bucket used for the delta lake table.
      type: object
      required:
        - storage
        - bucket_abs
      title: Bucket ABS
      unevaluatedProperties: false
    DeltaLakeDestinationOptionsBucketGCS:
      properties:
        retention_window_days:
          type: integer
          title: Retention window (days)
          description: The number of days a file must be deleted before it is vacuumed.
          default: 30
        column_mapping_mode:
          type: string
          enum:
            - none
            - id
            - name
          title: Column mapping mode
          description: >-
            Column mapping mode for the Delta Lake table. Use none for no
            mapping; name to track columns by name (allows rename and drop
            without rewrite); or id to track columns by numeric ID.
          default: none
        deletion_vectors_disabled:
          type: boolean
          title: Disable deletion vectors
          description: >-
            Whether to disable deletion vectors. When false: deletions are
            recorded as markers without rewriting table files.
          default: false
        change_data_feed_disabled:
          type: boolean
          title: Disable change data feed
          description: >-
            Whether to disable change data feed. When false: row-level change
            tracking is maintained for the table.
          default: false
        storage:
          type: string
          enum:
            - bucket_gcs
            - bucket_s3
            - bucket_s3_compatible
            - bucket_abs
          const: bucket_gcs
        bucket_gcs:
          $ref: '#/components/schemas/OpenTableFormatGCSBucketParams'
          description: Required details about the GCS bucket used for the delta lake table.
      type: object
      required:
        - storage
        - bucket_gcs
      title: Bucket GCS
      unevaluatedProperties: false
    DeltaLakeDestinationOptionsBucketS3:
      properties:
        retention_window_days:
          type: integer
          title: Retention window (days)
          description: The number of days a file must be deleted before it is vacuumed.
          default: 30
        column_mapping_mode:
          type: string
          enum:
            - none
            - id
            - name
          title: Column mapping mode
          description: >-
            Column mapping mode for the Delta Lake table. Use none for no
            mapping; name to track columns by name (allows rename and drop
            without rewrite); or id to track columns by numeric ID.
          default: none
        deletion_vectors_disabled:
          type: boolean
          title: Disable deletion vectors
          description: >-
            Whether to disable deletion vectors. When false: deletions are
            recorded as markers without rewriting table files.
          default: false
        change_data_feed_disabled:
          type: boolean
          title: Disable change data feed
          description: >-
            Whether to disable change data feed. When false: row-level change
            tracking is maintained for the table.
          default: false
        storage:
          type: string
          enum:
            - bucket_s3
            - bucket_s3_compatible
            - bucket_abs
            - bucket_gcs
          const: bucket_s3
        bucket_s3:
          $ref: '#/components/schemas/OpenTableFormatS3BucketParams'
          description: Required details about the S3 bucket used for the delta lake table.
      type: object
      required:
        - storage
        - bucket_s3
      title: Bucket S3
      unevaluatedProperties: false
    DeltaLakeDestinationOptionsBucketS3Compatible:
      properties:
        retention_window_days:
          type: integer
          title: Retention window (days)
          description: The number of days a file must be deleted before it is vacuumed.
          default: 30
        column_mapping_mode:
          type: string
          enum:
            - none
            - id
            - name
          title: Column mapping mode
          description: >-
            Column mapping mode for the Delta Lake table. Use none for no
            mapping; name to track columns by name (allows rename and drop
            without rewrite); or id to track columns by numeric ID.
          default: none
        deletion_vectors_disabled:
          type: boolean
          title: Disable deletion vectors
          description: >-
            Whether to disable deletion vectors. When false: deletions are
            recorded as markers without rewriting table files.
          default: false
        change_data_feed_disabled:
          type: boolean
          title: Disable change data feed
          description: >-
            Whether to disable change data feed. When false: row-level change
            tracking is maintained for the table.
          default: false
        storage:
          type: string
          enum:
            - bucket_s3_compatible
            - bucket_s3
            - bucket_abs
            - bucket_gcs
          const: bucket_s3_compatible
        bucket_s3_compatible:
          $ref: '#/components/schemas/OpenTableFormatS3CompatibleBucketParams'
          description: >-
            Required details about the S3 compatible bucket used for the delta
            lake table.
      type: object
      required:
        - storage
        - bucket_s3_compatible
      title: Bucket S3 Compatible
      unevaluatedProperties: false
    GCSDestinationOptionsGCPServiceAccountRole:
      properties:
        folder:
          type: string
          title: Folder
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        file_format:
          type: string
          enum:
            - parquet
            - csv
            - json
            - jsonl
          title: File format
          description: >-
            File format to write to the bucket. Parquet is the default and
            recommended format.
          default: parquet
        csv:
          $ref: '#/components/schemas/FileFormatCSV'
          description: Required details if writing CSV file format.
        bucket_name:
          type: string
          title: GCS bucket name
          examples:
            - acme-data-export-staging
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
        auth_method:
          type: string
          enum:
            - gcp_service_account_role
            - gcs_hmac_keys
            - federated_gcp_service_account_role
          const: gcp_service_account_role
        gcp_service_account_role:
          $ref: '#/components/schemas/GCPServiceAccountRole'
          title: Authenticate using a GCP service account (recommended)
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
      type: object
      required:
        - folder
        - bucket_name
        - auth_method
        - gcp_service_account_role
      title: Authenticate using a GCP service account (recommended)
      unevaluatedProperties: false
    GCSDestinationOptionsGCSHMACKeys:
      properties:
        folder:
          type: string
          title: Folder
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        file_format:
          type: string
          enum:
            - parquet
            - csv
            - json
            - jsonl
          title: File format
          description: >-
            File format to write to the bucket. Parquet is the default and
            recommended format.
          default: parquet
        csv:
          $ref: '#/components/schemas/FileFormatCSV'
          description: Required details if writing CSV file format.
        bucket_name:
          type: string
          title: GCS bucket name
          examples:
            - acme-data-export-staging
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
        auth_method:
          type: string
          enum:
            - gcs_hmac_keys
            - gcp_service_account_role
            - federated_gcp_service_account_role
          const: gcs_hmac_keys
        gcs_hmac_keys:
          $ref: '#/components/schemas/GCSAccessKeys'
          title: Authenticate using GCS HMAC keys
          description: Required details if authenticating using GCS HMAC keys.
      type: object
      required:
        - folder
        - bucket_name
        - auth_method
        - gcs_hmac_keys
      title: Authenticate using GCS HMAC keys
      unevaluatedProperties: false
    GCSDestinationOptionsFederatedGCPServiceAccountRole:
      properties:
        folder:
          type: string
          title: Folder
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        file_format:
          type: string
          enum:
            - parquet
            - csv
            - json
            - jsonl
          title: File format
          description: >-
            File format to write to the bucket. Parquet is the default and
            recommended format.
          default: parquet
        csv:
          $ref: '#/components/schemas/FileFormatCSV'
          description: Required details if writing CSV file format.
        bucket_name:
          type: string
          title: GCS bucket name
          examples:
            - acme-data-export-staging
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
        auth_method:
          type: string
          enum:
            - federated_gcp_service_account_role
            - gcp_service_account_role
            - gcs_hmac_keys
          const: federated_gcp_service_account_role
        federated_gcp_service_account_role:
          $ref: '#/components/schemas/FederatedGCPServiceAccountRole'
          title: Authenticate using federation (only for AWS-hosted deployments)
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
      type: object
      required:
        - folder
        - bucket_name
        - auth_method
        - federated_gcp_service_account_role
      title: Authenticate using federation (only for AWS-hosted deployments)
      unevaluatedProperties: false
    IcebergDestinationOptionsCatalogIcebergRest:
      properties:
        retention_window_days:
          type: integer
          title: Retention window (days)
          description: >-
            The minimum number of days to retain old snapshots before they are
            expired.
          default: 30
        catalog:
          type: string
          enum:
            - catalog_iceberg_rest
            - catalog_glue
            - catalog_s3_tables
            - catalog_google_lakehouse
          const: catalog_iceberg_rest
        catalog_iceberg_rest:
          $ref: '#/components/schemas/IcebergRestCatalogParams'
          description: >-
            Required details about the Iceberg Rest Catalog used for the iceberg
            table.
      type: object
      required:
        - catalog
        - catalog_iceberg_rest
      title: Catalog Iceberg Rest
      unevaluatedProperties: false
    IcebergDestinationOptionsCatalogGlue:
      properties:
        retention_window_days:
          type: integer
          title: Retention window (days)
          description: >-
            The minimum number of days to retain old snapshots before they are
            expired.
          default: 30
        catalog:
          type: string
          enum:
            - catalog_glue
            - catalog_s3_tables
            - catalog_iceberg_rest
            - catalog_google_lakehouse
          const: catalog_glue
        catalog_glue:
          $ref: '#/components/schemas/IcebergAwsGlueCatalogParams'
          description: >-
            Required details about the AWS Glue Catalog used for the iceberg
            table.
      type: object
      required:
        - catalog
        - catalog_glue
      title: Catalog Glue
      unevaluatedProperties: false
    IcebergDestinationOptionsCatalogS3Tables:
      properties:
        retention_window_days:
          type: integer
          title: Retention window (days)
          description: >-
            The minimum number of days to retain old snapshots before they are
            expired.
          default: 30
        catalog:
          type: string
          enum:
            - catalog_s3_tables
            - catalog_glue
            - catalog_iceberg_rest
            - catalog_google_lakehouse
          const: catalog_s3_tables
        catalog_s3_tables:
          $ref: '#/components/schemas/IcebergAwsS3TablesCatalogParams'
          description: >-
            Required details about the AWS S3 Tables bucket used for the iceberg
            table.
      type: object
      required:
        - catalog
        - catalog_s3_tables
      title: Catalog S3 Tables
      unevaluatedProperties: false
    IcebergDestinationOptionsCatalogGoogleLakehouse:
      properties:
        retention_window_days:
          type: integer
          title: Retention window (days)
          description: >-
            The minimum number of days to retain old snapshots before they are
            expired.
          default: 30
        catalog:
          type: string
          enum:
            - catalog_google_lakehouse
            - catalog_glue
            - catalog_s3_tables
            - catalog_iceberg_rest
          const: catalog_google_lakehouse
        catalog_google_lakehouse:
          $ref: '#/components/schemas/IcebergGoogleLakehouseCatalogParams'
          description: >-
            Required details about the Google Lakehouse Catalog used for the
            iceberg table.
      type: object
      required:
        - catalog
        - catalog_google_lakehouse
      title: Catalog Google Lakehouse
      unevaluatedProperties: false
    MongoDBDestinationOptionsAWSIAMRole:
      properties:
        host:
          type: string
          title: Host
          description: >-
            Hostname of the MongoDB server. For Atlas clusters: use the cluster
            endpoint.
          examples:
            - clusterID.mongodb.net
        port:
          type: integer
          title: Port
          description: Optional. Leave empty If using Atlas.
          examples:
            - 27017
        authentication_database:
          type: string
          title: Database
          description: The MongoDB database to connect to.
          examples:
            - admin
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the MongoDB connection. When false: SSL
            is enabled.
          default: false
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - password_auth
          const: aws_iam_role
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          title: Authenticate using an AWS IAM role (recommended)
      type: object
      required:
        - host
        - authentication_database
        - write_database
        - auth_method
        - aws_iam_role
      title: Authenticate using an AWS IAM role (recommended)
      unevaluatedProperties: false
    MongoDBDestinationOptionsPasswordAuth:
      properties:
        host:
          type: string
          title: Host
          description: >-
            Hostname of the MongoDB server. For Atlas clusters: use the cluster
            endpoint.
          examples:
            - clusterID.mongodb.net
        port:
          type: integer
          title: Port
          description: Optional. Leave empty If using Atlas.
          examples:
            - 27017
        authentication_database:
          type: string
          title: Database
          description: The MongoDB database to connect to.
          examples:
            - admin
        write_database:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the MongoDB connection. When false: SSL
            is enabled.
          default: false
        auth_method:
          type: string
          enum:
            - password_auth
            - aws_iam_role
          const: password_auth
        password_auth:
          $ref: '#/components/schemas/PasswordAuth'
          title: Authenticate using a username and password
          description: Required details if authenticating with username/password.
      type: object
      required:
        - host
        - authentication_database
        - write_database
        - auth_method
        - password_auth
      title: Authenticate using a username and password
      unevaluatedProperties: false
    OracleDestinationOptionsSSLEnabled:
      properties:
        host:
          type: string
          title: Host
          description: Host address of the database.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the Oracle database server.
          examples:
            - 1521
        database:
          type: string
          title: Database
          description: Name of database provisioned by the owner of the destination.
          examples:
            - ORCL
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/PasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          const: false
        ssl_options:
          $ref: '#/components/schemas/OracleSSLParams'
          description: Required details if using SSL connection.
      type: object
      required:
        - schema
        - auth_method
        - password_auth
        - ssl_options
      title: SSL Enabled
      unevaluatedProperties: false
    OracleDestinationOptionsSSLDisabled:
      properties:
        host:
          type: string
          title: Host
          description: Host address of the database.
          examples:
            - example.ab02cdefgxyz.us-east-1.rds.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the Oracle database server.
          examples:
            - 1521
        database:
          type: string
          title: Database
          description: Name of database provisioned by the owner of the destination.
          examples:
            - ORCL
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        auth_method:
          type: string
          enum:
            - password_auth
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to password_auth.
        password_auth:
          $ref: '#/components/schemas/PasswordAuth'
          description: Required details for username/password authentication.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_ssl:
          type: boolean
          title: Disable SSL
          description: >-
            Whether to disable SSL for the Oracle connection. When false: SSL is
            enabled.
          default: false
      type: object
      required:
        - schema
        - auth_method
        - password_auth
        - disable_ssl
      title: SSL Disabled
      unevaluatedProperties: false
    RedshiftDestinationOptionsAWSAccessKeys:
      properties:
        host:
          type: string
          title: Host
          description: Host address of the destination.
          examples:
            - cluster-name.ab1cdefgh.us-east-1.redshift.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          examples:
            - 5439
        database:
          type: string
          title: Database
          description: Name of database provisioned by the owner of the destination.
          examples:
            - dev
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        cluster:
          type: string
          title: Cluster
          description: Redshift Cluster identifier
          examples:
            - acme-cluster
        username:
          type: string
          title: Username
          description: >-
            Username for the Redshift connection. Required when using
            aws_access_keys auth.
          examples:
            - data_export_user
        bucket_s3:
          $ref: '#/components/schemas/RedshiftS3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        auth_method:
          type: string
          enum:
            - aws_access_keys
            - aws_iam_role
          const: aws_access_keys
        aws_access_keys:
          $ref: '#/components/schemas/RedshiftAccessKeys'
          title: Authenticate using AWS access keys
          description: Required details for username/password authentication.
      type: object
      required:
        - host
        - port
        - database
        - schema
        - bucket_s3
        - auth_method
        - aws_access_keys
      title: Authenticate using AWS access keys
      unevaluatedProperties: false
    RedshiftDestinationOptionsAWSIAMRole:
      properties:
        host:
          type: string
          title: Host
          description: Host address of the destination.
          examples:
            - cluster-name.ab1cdefgh.us-east-1.redshift.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          examples:
            - 5439
        database:
          type: string
          title: Database
          description: Name of database provisioned by the owner of the destination.
          examples:
            - dev
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        cluster:
          type: string
          title: Cluster
          description: Redshift Cluster identifier
          examples:
            - acme-cluster
        username:
          type: string
          title: Username
          description: >-
            Username for the Redshift connection. Required when using
            aws_access_keys auth.
          examples:
            - data_export_user
        bucket_s3:
          $ref: '#/components/schemas/RedshiftS3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          const: aws_iam_role
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          title: Authenticate using an AWS IAM role (recommended)
          description: Required details if authenticating using an AWS IAM role.
      type: object
      required:
        - host
        - port
        - database
        - schema
        - bucket_s3
        - auth_method
        - aws_iam_role
      title: Authenticate using an AWS IAM role (recommended)
      unevaluatedProperties: false
    RedshiftServerlessDestinationOptionsAWSIAMRole:
      properties:
        workgroup:
          type: string
          title: Workgroup
          description: Name of the Redshift Serverless workgroup.
          examples:
            - default-workgroup
        host:
          type: string
          title: Host
          description: Workgroup endpoint
          examples:
            - workgroup.123456789.us-east-1.redshift-serverless.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          examples:
            - 5439
        database:
          type: string
          title: Database
          description: Name of target database.
          examples:
            - dev
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        bucket_s3:
          $ref: '#/components/schemas/RedshiftS3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          const: aws_iam_role
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          title: Authenticate using an AWS IAM role (recommended)
          description: Required details if authenticating using an AWS IAM role.
      type: object
      required:
        - workgroup
        - host
        - port
        - database
        - schema
        - bucket_s3
        - auth_method
        - aws_iam_role
      title: Authenticate using an AWS IAM role (recommended)
      unevaluatedProperties: false
    RedshiftServerlessDestinationOptionsAWSAccessKeys:
      properties:
        workgroup:
          type: string
          title: Workgroup
          description: Name of the Redshift Serverless workgroup.
          examples:
            - default-workgroup
        host:
          type: string
          title: Host
          description: Workgroup endpoint
          examples:
            - workgroup.123456789.us-east-1.redshift-serverless.amazonaws.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          examples:
            - 5439
        database:
          type: string
          title: Database
          description: Name of target database.
          examples:
            - dev
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        bucket_s3:
          $ref: '#/components/schemas/RedshiftS3BucketParams'
          description: Required details about the S3 bucket used for staging data.
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        auth_method:
          type: string
          enum:
            - aws_access_keys
            - aws_iam_role
          const: aws_access_keys
        aws_access_keys:
          $ref: '#/components/schemas/AWSAccessKeys'
          title: Authenticate using AWS access keys
          description: Required details if authenticating using AWS access keys.
      type: object
      required:
        - workgroup
        - host
        - port
        - database
        - schema
        - bucket_s3
        - auth_method
        - aws_access_keys
      title: Authenticate using AWS access keys
      unevaluatedProperties: false
    SFTPDestinationOptionsPgp:
      properties:
        username:
          type: string
          title: Username
          description: Username to use for the SFTP connection.
          examples:
            - data_export_user
        host:
          type: string
          title: Host
          description: Hostname of the SFTP server.
          examples:
            - sftp.acme.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          examples:
            - 22
        folder:
          type: string
          title: Folder name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - /uploads/data_export
        file_format:
          type: string
          enum:
            - csv
            - parquet
            - json
            - jsonl
          title: File format
          description: The format of the files to write to the SFTP server.
        csv:
          $ref: '#/components/schemas/FileFormatCSV'
          description: Required details if writing CSV file format.
        auth_method:
          type: string
          enum:
            - public_key_auth
          title: Auth method
          description: Authentication method. Currently must be set to public_key_auth.
        public_key_auth:
          $ref: '#/components/schemas/PublicKeyAuth'
          title: Public key auth
          description: Required details for public key authentication.
        file_encryption:
          type: string
          enum:
            - pgp
            - none
          const: pgp
        pgp:
          $ref: '#/components/schemas/PGPEncryption'
          description: Required details for PGP encryption.
      type: object
      required:
        - username
        - host
        - port
        - file_format
        - auth_method
        - public_key_auth
        - file_encryption
        - pgp
      title: Pgp
      unevaluatedProperties: false
    SnowflakeDestinationOptionsPasswordAuth:
      properties:
        host:
          type: string
          pattern: .*\.snowflakecomputing.com$
          title: Account host
          description: Account address of the destination.
          examples:
            - db54321.us-central1.gcp.snowflakecomputing.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the Snowflake server.
          examples:
            - 443
        database:
          type: string
          title: Database
          description: Name of database provisioned by the owner of the destination.
          examples:
            - ANALYTICS
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        username:
          type: string
          title: Username
          description: The name of the Snowflake user.
          examples:
            - DATA_EXPORT_USER
        auth_method:
          type: string
          enum:
            - password_auth
            - public_key_auth
          const: password_auth
        password_auth:
          $ref: '#/components/schemas/PasswordOnlyAuth'
          title: Authenticate using a username and password
          description: Required details for username/password authentication.
      type: object
      required:
        - host
        - port
        - database
        - schema
        - username
        - auth_method
        - password_auth
      title: Authenticate using a username and password
      unevaluatedProperties: false
    SnowflakeDestinationOptionsPublicKeyAuth:
      properties:
        host:
          type: string
          pattern: .*\.snowflakecomputing.com$
          title: Account host
          description: Account address of the destination.
          examples:
            - db54321.us-central1.gcp.snowflakecomputing.com
        port:
          type: integer
          exclusiveMinimum: 0
          title: Port
          description: Port of the Snowflake server.
          examples:
            - 443
        database:
          type: string
          title: Database
          description: Name of database provisioned by the owner of the destination.
          examples:
            - ANALYTICS
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.]+([-][A-Za-z0-9_.]+)*$
          title: Schema
          description: >-
            Name of schema to create and write data to. It will be created
            automatically if the schema does not exist.
          examples:
            - data_export
        username:
          type: string
          title: Username
          description: The name of the Snowflake user.
          examples:
            - DATA_EXPORT_USER
        auth_method:
          type: string
          enum:
            - public_key_auth
            - password_auth
          const: public_key_auth
        public_key_auth:
          $ref: '#/components/schemas/PublicKeyAuth'
          description: Required details for public key authentication.
      type: object
      required:
        - host
        - port
        - database
        - schema
        - username
        - auth_method
        - public_key_auth
      title: Public Key Auth
      unevaluatedProperties: false
    S3DestinationOptionsAWSIAMRole:
      properties:
        folder:
          type: string
          title: Folder name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        file_format:
          type: string
          enum:
            - parquet
            - csv
            - json
            - jsonl
          title: File format
          description: >-
            File format to write to the bucket. Parquet is the default and
            recommended format.
          default: parquet
        csv:
          $ref: '#/components/schemas/FileFormatCSV'
          description: Required details if writing CSV file format.
        bucket_name:
          type: string
          title: S3 bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
        auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          const: aws_iam_role
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          title: Authenticate using an AWS IAM role (recommended)
      type: object
      required:
        - folder
        - bucket_name
        - bucket_region
        - auth_method
        - aws_iam_role
      title: Authenticate using an AWS IAM role (recommended)
      unevaluatedProperties: false
    S3DestinationOptionsAWSAccessKeys:
      properties:
        folder:
          type: string
          title: Folder name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        file_format:
          type: string
          enum:
            - parquet
            - csv
            - json
            - jsonl
          title: File format
          description: >-
            File format to write to the bucket. Parquet is the default and
            recommended format.
          default: parquet
        csv:
          $ref: '#/components/schemas/FileFormatCSV'
          description: Required details if writing CSV file format.
        bucket_name:
          type: string
          title: S3 bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        use_ssh_tunnel:
          type: boolean
          description: Whether to use an SSH tunnel for the connection.
          default: false
        ssh_tunnel:
          $ref: '#/components/schemas/SSHTunnelParams'
          description: Required details if using SSH tunneling.
        disable_manifest:
          type: boolean
          title: Disable Manifest Files
          description: >-
            Disables JSON manifest files (containing validation metadata)
            written with each batch of data.
          default: false
        auth_method:
          type: string
          enum:
            - aws_access_keys
            - aws_iam_role
          const: aws_access_keys
        aws_access_keys:
          $ref: '#/components/schemas/AWSAccessKeys'
          title: Authenticate using AWS access keys
          description: Required details if authenticating using AWS access keys.
      type: object
      required:
        - folder
        - bucket_name
        - bucket_region
        - auth_method
        - aws_access_keys
      title: Authenticate using AWS access keys
      unevaluatedProperties: false
    AccessKeys:
      properties:
        access_id:
          type: string
          title: Bucket access ID
          examples:
            - AKIAIOSFODNN7EXAMPLE
        secret_key:
          type: string
          title: Bucket secret key
      additionalProperties: false
      type: object
      required:
        - access_id
        - secret_key
    GcpExternalAccountMetadata:
      properties:
        type:
          type: string
          examples:
            - external_account
        audience:
          type: string
          examples:
            - >-
              //iam.googleapis.com/projects/123456789/locations/global/workloadIdentityPools/data-export-pool/providers/data-export-provider
        subject_token_type:
          type: string
          examples:
            - urn:ietf:params:oauth:token-type:aws4_request
        service_account_impersonation_url:
          type: string
          examples:
            - >-
              https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/data-export@acme-analytics-1234.iam.gserviceaccount.com:generateAccessToken
        token_url:
          type: string
          examples:
            - https://sts.googleapis.com/v1/token
        credential_source:
          $ref: '#/components/schemas/CredentialSource'
      type: object
      required:
        - type
        - audience
        - subject_token_type
        - service_account_impersonation_url
        - token_url
        - credential_source
    UpdateDatabricksS3BucketParams:
      properties:
        bucket_name:
          type: string
          description: The name of the S3 bucket.
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        aws_access_keys:
          $ref: '#/components/schemas/UpdateAWSAccessKeys'
          description: Required details if authenticating using AWS access keys.
      additionalProperties: false
      type: object
    UpdateAzureStorageAccountAccessKey:
      properties:
        storage_account_access_key:
          type: string
          title: Access key
      additionalProperties: false
      type: object
    UpdateOpenTableFormatGCSDestinationServiceAccountKey:
      properties:
        service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          title: Destination service account email
          examples:
            - service-account-name@project-id.iam.gserviceaccount.com
        service_account_key:
          title: JSON Token
          description: >-
            The credentials (JSON) that will be used to load data into your
            BigQuery database. Create a service account just for this use.
      additionalProperties: false
      type: object
    UpdateOauthBearerTokenAuth:
      properties:
        password:
          type: string
          title: Bearer Token
      additionalProperties: false
      type: object
    UpdateOauthDelegatedCredentialAuth:
      properties:
        client_id:
          type: string
          title: Client ID
          examples:
            - 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
        client_secret:
          type: string
          title: Client Secret
      additionalProperties: false
      type: object
    UpdateIcebergStorageOptionsParams:
      properties:
        bucket_abs:
          $ref: '#/components/schemas/OpenTableFormatABSBucketParams'
          description: Required details about the ABS bucket used for the iceberg table.
        bucket_gcs:
          $ref: '#/components/schemas/OpenTableFormatGCSBucketParams'
          description: Required details about the GCS bucket used for the iceberg table.
        bucket_s3:
          $ref: '#/components/schemas/OpenTableFormatS3BucketParams'
          description: Required details about the S3 bucket used for the iceberg table.
        bucket_s3_compatible:
          $ref: '#/components/schemas/OpenTableFormatS3CompatibleBucketParams'
          description: >-
            Required details about the S3 compatible bucket used for the iceberg
            table.
      additionalProperties: false
      type: object
    UpdateIcebergAwsStorageOptionsParams:
      properties:
        bucket_s3:
          $ref: '#/components/schemas/OpenTableFormatS3BucketParams'
      additionalProperties: false
      type: object
    OracleSSLParams:
      properties:
        wallet:
          type: string
          title: Oracle Wallet
          description: Base64 encoded contents of Oracle Wallet.
      additionalProperties: false
      type: object
    S3BucketParams:
      properties:
        bucket_name:
          type: string
          title: S3 bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
      additionalProperties: false
      type: object
      required:
        - bucket_name
        - bucket_region
    BigQueryGCSBucketParams:
      properties:
        bucket_name:
          type: string
          title: GCS bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: GCS bucket region
          description: >-
            The region of the staging GCS bucket. Must be a valid GCS [bucket
            location](https://cloud.google.com/storage/docs/locations)
          examples:
            - us-central1
      additionalProperties: false
      type: object
      required:
        - bucket_name
        - bucket_region
    GCPServiceAccountRole:
      properties:
        service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          title: Service account email
          examples:
            - service-account-name@project-id.iam.gserviceaccount.com
      additionalProperties: false
      type: object
      required:
        - service_account_email
    FederatedGCPServiceAccountRole:
      properties:
        service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          title: Service account email
          examples:
            - service-account-name@project-id.iam.gserviceaccount.com
        workload_identity_federation_metadata:
          $ref: '#/components/schemas/GcpExternalAccountMetadata'
          title: Workload identity metadata
      additionalProperties: false
      type: object
      required:
        - service_account_email
    GCPServiceAccountKey:
      properties:
        service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          title: Service account email
          examples:
            - service-account-name@project-id.iam.gserviceaccount.com
        service_account_key:
          title: JSON Token
          description: >-
            The credentials (JSON) that will be used. Create a service account
            just for this use.
      additionalProperties: false
      type: object
      required:
        - service_account_email
        - service_account_key
    ClientSecretWorkloadIdentityFederation:
      properties:
        client_id:
          type: string
          title: Client ID
          description: The OAuth client ID issued by your identity provider.
          examples:
            - 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
        client_secret:
          type: string
          title: Client secret
          description: The OAuth client secret issued by your identity provider.
        token_url:
          type: string
          minLength: 1
          pattern: ^https://.+$
          title: Token endpoint URL
          description: >-
            The https URL of your identity provider's OAuth token endpoint. It
            must issue JWT access tokens and be reachable from the public
            internet.
          examples:
            - https://sts.googleapis.com/v1/token
        scope:
          type: string
          pattern: ^[ \t\r\n\f!#-\[\]-~]*$
          title: Scopes
          description: >-
            Optional OAuth scopes to request from your identity provider.
            Provide one or more scope values separated by spaces. Scope values
            are case-sensitive and duplicate values are rejected.
          examples:
            - https://www.googleapis.com/auth/cloud-platform
        gcp_service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          title: GCP service account email
          description: The GCP service account Prequel impersonates after federating.
          examples:
            - service-account-name@project-id.iam.gserviceaccount.com
        gcp_wif_audience:
          type: string
          minLength: 1
          pattern: ^//iam\.googleapis\.com/.+/providers/[^/]+$
          title: Workload identity federation audience
          description: >-
            The full resource name of your workload identity pool provider
            (//iam.googleapis.com/projects/.../locations/global/workloadIdentityPools/.../providers/...).
          examples:
            - >-
              //iam.googleapis.com/projects/123456789/locations/global/workloadIdentityPools/data-export-pool/providers/data-export-provider
      additionalProperties: false
      type: object
      required:
        - client_id
        - client_secret
        - token_url
        - gcp_service_account_email
        - gcp_wif_audience
    ClickhouseS3BucketParams:
      oneOf:
        - $ref: '#/components/schemas/ClickhouseS3BucketParamsAWSAccessKeys'
        - $ref: '#/components/schemas/ClickhouseS3BucketParamsAWSIAMRole'
      discriminator:
        mapping:
          aws_access_keys: '#/components/schemas/ClickhouseS3BucketParamsAWSAccessKeys'
          aws_iam_role: '#/components/schemas/ClickhouseS3BucketParamsAWSIAMRole'
        propertyName: bucket_auth_method
    ClickhouseGCSBucketParams:
      properties:
        bucket_name:
          type: string
          title: Bucket name
          examples:
            - acme-data-export-staging
        gcs_hmac_keys:
          $ref: '#/components/schemas/GCSAccessKeys'
          description: Required details for GCS HMAC key authentication.
      additionalProperties: false
      type: object
      required:
        - bucket_name
        - gcs_hmac_keys
    DatabricksHiveOptions:
      oneOf:
        - $ref: '#/components/schemas/DatabricksHiveOptionsBucketS3'
      discriminator:
        mapping:
          bucket_s3: '#/components/schemas/DatabricksHiveOptionsBucketS3'
        propertyName: bucket_vendor
    OauthClientSecretAuth:
      properties:
        client_id:
          type: string
          title: Client ID
          description: The Databricks-generated OAuth client ID.
          examples:
            - 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
        client_secret:
          type: string
          title: Client Secret
          description: The Databricks-generated OAuth client secret.
      additionalProperties: false
      type: object
      required:
        - client_id
        - client_secret
    OpenTableFormatABSBucketParams:
      properties:
        container_name:
          type: string
          title: Bucket name
          examples:
            - data-export
        folder:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Folder Name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if the folder does not exist.
          examples:
            - data_export
        storage_account_name:
          type: string
          title: Storage account name
          examples:
            - acmestorage
        bucket_auth_method:
          type: string
          enum:
            - azure_storage_account_access_key
          title: Auth method
        azure_storage_account_access_key:
          $ref: '#/components/schemas/AzureStorageAccountAccessKey'
          description: Required parameters to authenticate to Azure using an access key.
      additionalProperties: false
      type: object
      required:
        - container_name
        - folder
        - storage_account_name
        - bucket_auth_method
    OpenTableFormatGCSBucketParams:
      oneOf:
        - $ref: >-
            #/components/schemas/OpenTableFormatGCSBucketParamsGCPServiceAccountRole
        - $ref: >-
            #/components/schemas/OpenTableFormatGCSBucketParamsGCPServiceAccountKey
        - $ref: >-
            #/components/schemas/OpenTableFormatGCSBucketParamsFederatedGCPServiceAccountRole
      discriminator:
        mapping:
          federated_gcp_service_account_role: >-
            #/components/schemas/OpenTableFormatGCSBucketParamsFederatedGCPServiceAccountRole
          gcp_service_account_key: >-
            #/components/schemas/OpenTableFormatGCSBucketParamsGCPServiceAccountKey
          gcp_service_account_role: >-
            #/components/schemas/OpenTableFormatGCSBucketParamsGCPServiceAccountRole
        propertyName: bucket_auth_method
    OpenTableFormatS3BucketParams:
      oneOf:
        - $ref: '#/components/schemas/OpenTableFormatS3BucketParamsAWSIAMRole'
        - $ref: '#/components/schemas/OpenTableFormatS3BucketParamsAWSAccessKeys'
      discriminator:
        mapping:
          aws_access_keys: '#/components/schemas/OpenTableFormatS3BucketParamsAWSAccessKeys'
          aws_iam_role: '#/components/schemas/OpenTableFormatS3BucketParamsAWSIAMRole'
        propertyName: bucket_auth_method
    OpenTableFormatS3CompatibleBucketParams:
      properties:
        bucket_host:
          type: string
          title: Bucket host
          examples:
            - s3.us-east-1.amazonaws.com
        bucket_port:
          type: integer
          exclusiveMinimum: 0
          title: Bucket port
          examples:
            - 443
        bucket_name:
          type: string
          title: Bucket name
          examples:
            - acme-data-export-staging
        folder:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Folder name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        bucket_auth_method:
          type: string
          enum:
            - access_keys
          title: Auth method
          description: >-
            Placeholder value in case authentication options are added.
            Currently must be set to access_keys.
        access_keys:
          $ref: '#/components/schemas/AccessKeys'
          description: Required details for access key authentication.
        disable_ssl:
          type: boolean
          title: Disable SSL
          default: false
      additionalProperties: false
      type: object
      required:
        - bucket_host
        - bucket_port
        - bucket_name
        - folder
        - bucket_auth_method
        - access_keys
    GCSAccessKeys:
      properties:
        access_key:
          type: string
          title: Bucket access ID
          description: The access key to use for authentication.
          examples:
            - GOOG1EXAMPLEACCESSID
        secret:
          type: string
          title: Bucket secret key
          description: The secret to use for authentication.
      additionalProperties: false
      type: object
      required:
        - access_key
        - secret
    IcebergRestCatalogParams:
      oneOf:
        - $ref: '#/components/schemas/IcebergRestCatalogParamsOAuthBearerTokenAuth'
        - $ref: '#/components/schemas/IcebergRestCatalogParamsOAuthClientSecretAuth'
      discriminator:
        mapping:
          oauth_bearer_token_auth: '#/components/schemas/IcebergRestCatalogParamsOAuthBearerTokenAuth'
          oauth_client_secret_auth: '#/components/schemas/IcebergRestCatalogParamsOAuthClientSecretAuth'
        propertyName: auth_method
    IcebergAwsGlueCatalogParams:
      properties:
        storage_options:
          $ref: '#/components/schemas/IcebergAwsStorageOptionsParams'
        database:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Database
          description: >-
            Name of database in which to group written iceberg tables. It will
            be created automatically if the database does not exist.
          examples:
            - analytics
      additionalProperties: false
      type: object
      required:
        - storage_options
        - database
    IcebergAwsS3TablesCatalogParams:
      properties:
        storage_options:
          $ref: '#/components/schemas/IcebergAwsStorageOptionsParams'
        namespace:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Namespace
          description: >-
            Name of collection in which to group written iceberg tables. It will
            be created automatically if the namespace does not exist.
          examples:
            - data_export
        table_bucket_arn:
          type: string
          title: Table Bucket ARN
          description: ARN of S3 Tables bucket where Iceberg data will be written.
          examples:
            - arn:aws:s3tables:us-east-1:123456789012:bucket/acme-tables
      additionalProperties: false
      type: object
      required:
        - storage_options
    IcebergGoogleLakehouseCatalogParams:
      oneOf:
        - $ref: >-
            #/components/schemas/IcebergGoogleLakehouseCatalogParamsGCPServiceAccountRole
        - $ref: >-
            #/components/schemas/IcebergGoogleLakehouseCatalogParamsFederatedGCPServiceAccountRole
        - $ref: >-
            #/components/schemas/IcebergGoogleLakehouseCatalogParamsGCPServiceAccountKey
      discriminator:
        mapping:
          federated_gcp_service_account_role: >-
            #/components/schemas/IcebergGoogleLakehouseCatalogParamsFederatedGCPServiceAccountRole
          gcp_service_account_key: >-
            #/components/schemas/IcebergGoogleLakehouseCatalogParamsGCPServiceAccountKey
          gcp_service_account_role: >-
            #/components/schemas/IcebergGoogleLakehouseCatalogParamsGCPServiceAccountRole
        propertyName: auth_method
    RedshiftS3BucketParams:
      properties:
        bucket_name:
          type: string
          title: S3 bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
      additionalProperties: false
      type: object
      required:
        - bucket_name
        - bucket_region
    RedshiftAccessKeys:
      properties:
        password:
          type: string
          title: Password
        access_id:
          type: string
          title: Bucket access ID
          examples:
            - AKIAIOSFODNN7EXAMPLE
        secret_key:
          type: string
          title: Bucket secret key
      additionalProperties: false
      type: object
      required:
        - password
        - access_id
        - secret_key
    PGPEncryption:
      properties:
        pgp_public_key:
          type: string
          title: PGP public key
          description: PGP public key in ASCII armored format.
      additionalProperties: false
      type: object
      required:
        - pgp_public_key
    PasswordOnlyAuth:
      properties:
        password:
          type: string
          title: Password
      additionalProperties: false
      type: object
      required:
        - password
    CredentialSource:
      properties:
        environment_id:
          type: string
          examples:
            - aws1
        region_url:
          type: string
          examples:
            - >-
              http://169.254.169.254/latest/meta-data/placement/availability-zone
        url:
          type: string
          examples:
            - http://169.254.169.254/latest/meta-data/iam/security-credentials
        regional_cred_verification_url:
          type: string
          examples:
            - >-
              https://sts.us-east-1.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15
      additionalProperties: false
      type: object
      required:
        - environment_id
        - region_url
        - url
        - regional_cred_verification_url
    ClickhouseS3BucketParamsAWSAccessKeys:
      properties:
        bucket_name:
          type: string
          title: Bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        bucket_auth_method:
          type: string
          enum:
            - aws_access_keys
            - aws_iam_role
          const: aws_access_keys
        aws_access_keys:
          $ref: '#/components/schemas/AWSAccessKeys'
          title: Authenticate using AWS access keys
          description: Required details if authenticating using AWS access keys.
      type: object
      required:
        - bucket_name
        - bucket_region
        - bucket_auth_method
        - aws_access_keys
      title: Authenticate using AWS access keys
      unevaluatedProperties: false
    ClickhouseS3BucketParamsAWSIAMRole:
      properties:
        bucket_name:
          type: string
          title: Bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        bucket_auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          const: aws_iam_role
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          title: Authenticate using an AWS IAM role (recommended)
          description: Required details if authenticating using AWS IAM role.
      type: object
      required:
        - bucket_name
        - bucket_region
        - bucket_auth_method
        - aws_iam_role
      title: Authenticate using an AWS IAM role (recommended)
      unevaluatedProperties: false
    DatabricksHiveOptionsBucketS3:
      properties:
        bucket_vendor:
          type: string
          enum:
            - bucket_s3
          const: bucket_s3
        bucket_s3:
          $ref: '#/components/schemas/DatabricksS3BucketParams'
          description: Required details if using an S3 bucket for staging data.
      type: object
      required:
        - bucket_vendor
        - bucket_s3
      title: Bucket S3
      unevaluatedProperties: false
    AzureStorageAccountAccessKey:
      properties:
        storage_account_access_key:
          type: string
          title: Access key
      additionalProperties: false
      type: object
      required:
        - storage_account_access_key
    OpenTableFormatGCSBucketParamsGCPServiceAccountRole:
      properties:
        bucket_name:
          type: string
          title: GCS bucket name
          examples:
            - acme-data-export-staging
        folder:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Folder
          examples:
            - data_export
        bucket_auth_method:
          type: string
          enum:
            - gcp_service_account_role
            - gcp_service_account_key
            - federated_gcp_service_account_role
          const: gcp_service_account_role
        gcp_service_account_role:
          $ref: '#/components/schemas/GCPServiceAccountRole'
          title: Authenticate using a GCP service account (recommended)
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
      type: object
      required:
        - bucket_name
        - folder
        - bucket_auth_method
        - gcp_service_account_role
      title: Authenticate using a GCP service account (recommended)
      unevaluatedProperties: false
    OpenTableFormatGCSBucketParamsGCPServiceAccountKey:
      properties:
        bucket_name:
          type: string
          title: GCS bucket name
          examples:
            - acme-data-export-staging
        folder:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Folder
          examples:
            - data_export
        bucket_auth_method:
          type: string
          enum:
            - gcp_service_account_key
            - gcp_service_account_role
            - federated_gcp_service_account_role
          const: gcp_service_account_key
        gcp_service_account_key:
          $ref: '#/components/schemas/OpenTableFormatGCSDestinationServiceAccountKey'
          title: Authenticate using direct access
          description: Required details if authenticating using a GCP service account key.
      type: object
      required:
        - bucket_name
        - folder
        - bucket_auth_method
        - gcp_service_account_key
      title: Authenticate using direct access
      unevaluatedProperties: false
    OpenTableFormatGCSBucketParamsFederatedGCPServiceAccountRole:
      properties:
        bucket_name:
          type: string
          title: GCS bucket name
          examples:
            - acme-data-export-staging
        folder:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Folder
          examples:
            - data_export
        bucket_auth_method:
          type: string
          enum:
            - federated_gcp_service_account_role
            - gcp_service_account_role
            - gcp_service_account_key
          const: federated_gcp_service_account_role
        federated_gcp_service_account_role:
          $ref: '#/components/schemas/FederatedGCPServiceAccountRole'
          title: Authenticate using federation (only for AWS-hosted deployments)
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
      type: object
      required:
        - bucket_name
        - folder
        - bucket_auth_method
        - federated_gcp_service_account_role
      title: Authenticate using federation (only for AWS-hosted deployments)
      unevaluatedProperties: false
    OpenTableFormatS3BucketParamsAWSIAMRole:
      properties:
        bucket_name:
          type: string
          title: S3 bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        folder:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Folder name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        bucket_auth_method:
          type: string
          enum:
            - aws_iam_role
            - aws_access_keys
          const: aws_iam_role
        aws_iam_role:
          $ref: '#/components/schemas/AWSIAMRole'
          title: Authenticate using an AWS IAM role (recommended)
      type: object
      required:
        - bucket_name
        - bucket_region
        - folder
        - bucket_auth_method
        - aws_iam_role
      title: Authenticate using an AWS IAM role (recommended)
      unevaluatedProperties: false
    OpenTableFormatS3BucketParamsAWSAccessKeys:
      properties:
        bucket_name:
          type: string
          title: S3 bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        folder:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Folder name
          description: >-
            Name of folder to create and write data to. It will be created
            automatically if it does not exist.
          examples:
            - data_export
        bucket_auth_method:
          type: string
          enum:
            - aws_access_keys
            - aws_iam_role
          const: aws_access_keys
        aws_access_keys:
          $ref: '#/components/schemas/AWSAccessKeys'
          title: Authenticate using AWS access keys
          description: Required details if authenticating using AWS access keys.
      type: object
      required:
        - bucket_name
        - bucket_region
        - folder
        - bucket_auth_method
        - aws_access_keys
      title: Authenticate using AWS access keys
      unevaluatedProperties: false
    IcebergRestCatalogParamsOAuthBearerTokenAuth:
      properties:
        host:
          type: string
          title: Host
          examples:
            - iceberg.example.net
        port:
          type: integer
          title: Port
          description: Optional.
          examples:
            - 443
        namespace:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Namespace
          description: >-
            Name of collection in which to group written iceberg tables. It will
            be created automatically if the namespace does not exist.
          examples:
            - data_export
        warehouse:
          type: string
          title: Warehouse
          description: >-
            The identifier for the warehouse associated with this REST catalog.
            This might be a storage URI (ex s3://...) or a unique name provided
            by the catalog service.
          examples:
            - s3://acme-data-export-staging/warehouse
        storage_options:
          $ref: '#/components/schemas/IcebergStorageOptionsParams'
        auth_method:
          type: string
          enum:
            - oauth_bearer_token_auth
            - oauth_client_secret_auth
          const: oauth_bearer_token_auth
        oauth_bearer_token_auth:
          $ref: '#/components/schemas/OauthBearerTokenAuth'
          description: Required details if authenticating with an OAUTH2 bearer token.
      type: object
      required:
        - host
        - namespace
        - storage_options
        - auth_method
        - oauth_bearer_token_auth
      title: OAuth Bearer Token Auth
      unevaluatedProperties: false
    IcebergRestCatalogParamsOAuthClientSecretAuth:
      properties:
        host:
          type: string
          title: Host
          examples:
            - iceberg.example.net
        port:
          type: integer
          title: Port
          description: Optional.
          examples:
            - 443
        namespace:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Namespace
          description: >-
            Name of collection in which to group written iceberg tables. It will
            be created automatically if the namespace does not exist.
          examples:
            - data_export
        warehouse:
          type: string
          title: Warehouse
          description: >-
            The identifier for the warehouse associated with this REST catalog.
            This might be a storage URI (ex s3://...) or a unique name provided
            by the catalog service.
          examples:
            - s3://acme-data-export-staging/warehouse
        storage_options:
          $ref: '#/components/schemas/IcebergStorageOptionsParams'
        auth_method:
          type: string
          enum:
            - oauth_client_secret_auth
            - oauth_bearer_token_auth
          const: oauth_client_secret_auth
        oauth_client_secret_auth:
          $ref: '#/components/schemas/OauthDelegatedCredentialAuth'
          description: >-
            Required details if authenticating with an OAUTH2 delegated
            credentials.
      type: object
      required:
        - host
        - namespace
        - storage_options
        - auth_method
        - oauth_client_secret_auth
      title: OAuth Client Secret Auth
      unevaluatedProperties: false
    IcebergAwsStorageOptionsParams:
      properties:
        storage:
          type: string
          enum:
            - bucket_s3
          title: Storage
        bucket_s3:
          $ref: '#/components/schemas/OpenTableFormatS3BucketParams'
      additionalProperties: false
      type: object
      required:
        - storage
    IcebergGoogleLakehouseCatalogParamsGCPServiceAccountRole:
      properties:
        project_id:
          type: string
          title: Project ID
          examples:
            - acme-analytics-1234
        catalog_name:
          type: string
          title: Catalog Name
          description: Name of BigLake catalog.
          examples:
            - data_export_catalog
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Schema
          description: Name of BigLake schema to create and write data to.
          examples:
            - data_export
        bucket_name:
          type: string
          title: Bucket Name
          description: Name of GCS bucket to use for the Iceberg table data.
          examples:
            - acme-data-export-staging
        auth_method:
          type: string
          enum:
            - gcp_service_account_role
            - gcp_service_account_key
            - federated_gcp_service_account_role
          const: gcp_service_account_role
        gcp_service_account_role:
          $ref: '#/components/schemas/GCPServiceAccountRole'
          title: Authenticate using a GCP service account (recommended)
          description: Required details if authenticating using a GCP service account role.
      type: object
      required:
        - project_id
        - catalog_name
        - auth_method
        - gcp_service_account_role
      title: Authenticate using a GCP service account (recommended)
      unevaluatedProperties: false
    IcebergGoogleLakehouseCatalogParamsFederatedGCPServiceAccountRole:
      properties:
        project_id:
          type: string
          title: Project ID
          examples:
            - acme-analytics-1234
        catalog_name:
          type: string
          title: Catalog Name
          description: Name of BigLake catalog.
          examples:
            - data_export_catalog
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Schema
          description: Name of BigLake schema to create and write data to.
          examples:
            - data_export
        bucket_name:
          type: string
          title: Bucket Name
          description: Name of GCS bucket to use for the Iceberg table data.
          examples:
            - acme-data-export-staging
        auth_method:
          type: string
          enum:
            - federated_gcp_service_account_role
            - gcp_service_account_role
            - gcp_service_account_key
          const: federated_gcp_service_account_role
        federated_gcp_service_account_role:
          $ref: '#/components/schemas/FederatedGCPServiceAccountRole'
          title: Authenticate using federation (only for AWS-hosted deployments)
          description: >-
            Required details if authenticating using Workload Identity
            Federation.
      type: object
      required:
        - project_id
        - catalog_name
        - auth_method
        - federated_gcp_service_account_role
      title: Authenticate using federation (only for AWS-hosted deployments)
      unevaluatedProperties: false
    IcebergGoogleLakehouseCatalogParamsGCPServiceAccountKey:
      properties:
        project_id:
          type: string
          title: Project ID
          examples:
            - acme-analytics-1234
        catalog_name:
          type: string
          title: Catalog Name
          description: Name of BigLake catalog.
          examples:
            - data_export_catalog
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]+$
          title: Schema
          description: Name of BigLake schema to create and write data to.
          examples:
            - data_export
        bucket_name:
          type: string
          title: Bucket Name
          description: Name of GCS bucket to use for the Iceberg table data.
          examples:
            - acme-data-export-staging
        auth_method:
          type: string
          enum:
            - gcp_service_account_key
            - gcp_service_account_role
            - federated_gcp_service_account_role
          const: gcp_service_account_key
        gcp_service_account_key:
          $ref: '#/components/schemas/OpenTableFormatGCSDestinationServiceAccountKey'
          title: Authenticate using direct access
          description: Required details if authenticating using a GCP service account key.
      type: object
      required:
        - project_id
        - catalog_name
        - auth_method
        - gcp_service_account_key
      title: Authenticate using direct access
      unevaluatedProperties: false
    DatabricksS3BucketParams:
      oneOf:
        - $ref: '#/components/schemas/DatabricksS3BucketParamsAWSAccessKeys'
    OpenTableFormatGCSDestinationServiceAccountKey:
      properties:
        service_account_email:
          type: string
          pattern: ^.*gserviceaccount.com$
          format: email
          title: Destination service account email
          examples:
            - service-account-name@project-id.iam.gserviceaccount.com
        service_account_key:
          title: JSON Token
          description: >-
            The credentials (JSON) that will be used to load data into your
            BigQuery database. Create a service account just for this use.
      additionalProperties: false
      type: object
      required:
        - service_account_email
        - service_account_key
    IcebergStorageOptionsParams:
      oneOf:
        - $ref: '#/components/schemas/IcebergStorageOptionsParamsBucketABS'
        - $ref: '#/components/schemas/IcebergStorageOptionsParamsBucketGCS'
        - $ref: '#/components/schemas/IcebergStorageOptionsParamsBucketS3'
        - $ref: '#/components/schemas/IcebergStorageOptionsParamsBucketS3Compatible'
      discriminator:
        mapping:
          bucket_abs: '#/components/schemas/IcebergStorageOptionsParamsBucketABS'
          bucket_gcs: '#/components/schemas/IcebergStorageOptionsParamsBucketGCS'
          bucket_s3: '#/components/schemas/IcebergStorageOptionsParamsBucketS3'
          bucket_s3_compatible: '#/components/schemas/IcebergStorageOptionsParamsBucketS3Compatible'
        propertyName: storage
    OauthBearerTokenAuth:
      properties:
        password:
          type: string
          title: Bearer Token
      additionalProperties: false
      type: object
      required:
        - password
    OauthDelegatedCredentialAuth:
      properties:
        client_id:
          type: string
          title: Client ID
          examples:
            - 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
        client_secret:
          type: string
          title: Client Secret
      additionalProperties: false
      type: object
      required:
        - client_id
        - client_secret
    DatabricksS3BucketParamsAWSAccessKeys:
      properties:
        bucket_name:
          type: string
          title: S3 bucket name
          examples:
            - acme-data-export-staging
        bucket_region:
          type: string
          title: S3 bucket region
          description: >-
            The region of the S3 bucket. Must be a valid [AWS
            region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)
          examples:
            - us-east-1
        aws_access_keys:
          $ref: '#/components/schemas/AWSAccessKeys'
          description: Required details if authenticating using AWS access keys.
      type: object
      required:
        - bucket_name
        - bucket_region
        - aws_access_keys
      title: AWS Access Keys
      unevaluatedProperties: false
    IcebergStorageOptionsParamsBucketABS:
      properties:
        storage:
          type: string
          enum:
            - bucket_abs
            - bucket_s3
            - bucket_s3_compatible
            - bucket_gcs
          const: bucket_abs
        bucket_abs:
          $ref: '#/components/schemas/OpenTableFormatABSBucketParams'
          description: Required details about the ABS bucket used for the iceberg table.
      type: object
      required:
        - storage
        - bucket_abs
      title: Bucket ABS
      unevaluatedProperties: false
    IcebergStorageOptionsParamsBucketGCS:
      properties:
        storage:
          type: string
          enum:
            - bucket_gcs
            - bucket_s3
            - bucket_s3_compatible
            - bucket_abs
          const: bucket_gcs
        bucket_gcs:
          $ref: '#/components/schemas/OpenTableFormatGCSBucketParams'
          description: Required details about the GCS bucket used for the iceberg table.
      type: object
      required:
        - storage
        - bucket_gcs
      title: Bucket GCS
      unevaluatedProperties: false
    IcebergStorageOptionsParamsBucketS3:
      properties:
        storage:
          type: string
          enum:
            - bucket_s3
            - bucket_s3_compatible
            - bucket_abs
            - bucket_gcs
          const: bucket_s3
        bucket_s3:
          $ref: '#/components/schemas/OpenTableFormatS3BucketParams'
          description: Required details about the S3 bucket used for the iceberg table.
      type: object
      required:
        - storage
        - bucket_s3
      title: Bucket S3
      unevaluatedProperties: false
    IcebergStorageOptionsParamsBucketS3Compatible:
      properties:
        storage:
          type: string
          enum:
            - bucket_s3_compatible
            - bucket_s3
            - bucket_abs
            - bucket_gcs
          const: bucket_s3_compatible
        bucket_s3_compatible:
          $ref: '#/components/schemas/OpenTableFormatS3CompatibleBucketParams'
          description: >-
            Required details about the S3 compatible bucket used for the iceberg
            table.
      type: object
      required:
        - storage
        - bucket_s3_compatible
      title: Bucket S3 Compatible
      unevaluatedProperties: false
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.