Skip to content

Metadata reference

This page is generated from the current DataCoolie metadata JSON Schema. The schema is the structural source of truth for authored metadata; this page adds readable paths and runtime guidance that the schema cannot express.

Authoring schema: latest

For reproducible metadata, pin the versioned URL. dc validate uses the schema bundled with the installed framework, not the public URL.

Use the metadata guide for task-based instructions. Each guide case keeps its own focused JSON example beside the explanation. Use the Python API reference for hydrated model classes and runtime-only properties.

Reading this reference

Paths ending in [] describe one item in an authored array. Required describes the local schema object; some fields are required only when another field selects a mode. default is the schema default and does not replace a runtime-derived value.

The Constraints column exposes property limits declared by the schema, including lengths, numeric bounds and uniqueness. Conditional rules below add mode-specific requirements. Use dc validate to evaluate the complete schema; these tables are a readable reference, not a separate validator.

An enum lists the exact values accepted by the selected schema. A plain string is not automatically an unrestricted runtime option: check the field's behavior note and linked guide for built-in modes. Values such as endpoint paths, API parameter names, SQL expressions, and provider-specific option keys are free-form within their documented purpose.

configure, read_options, and write_options are open maps for engine- or provider-specific options. The top-level extensions object is optional and project-owned: metadata project operations preserve it, but the DataCoolie runtime does not interpret its contents or use them to configure pipeline execution. This page lists DataCoolie-defined keys where the schema defines them; it cannot enumerate third-party options.

Runtime values such as hydrated connection, effective watermark bounds, date_backward, deduplication fallback columns, and execution metadata are not authored fields.

Metadata document

How to configure: Metadata document

Authored path Type Required / default Meaning Constraints
$schema string no; — Reference to the DataCoolie metadata JSON Schema for IDE validation and autocomplete. —
connections[] Connection conditional; — Endpoint configurations for data sources and destinations. —
dataflows[] Dataflow conditional; — ETL pipeline definitions composing source, destination, and transform. —
schema_hints[] Shared schema hint no; — Shared schema hints that apply across dataflows. Matched by connection_name + table_name. —
extensions object (open map) no; — Project-owned metadata extensions. Framework semantics do not interpret these values. —

The document must provide the arrays required by the selected schema branch. A typical document contains connections and dataflows; shared schema_hints and extensions are optional.

Conditional rules

Condition Result
at least one of the schema alternatives requires all of connections or all of dataflows

Shared schema hint

Shared schema hints scoped to a connection + table. Applied by the metadata provider to matching dataflows.

Authored path Type Required / default Meaning Constraints
schema_hints[].connection_name string conditional; — Connection name this hint set applies to. must contain at least 1 character(s)
schema_hints[].connection_id string conditional; — Connection identifier this hint set applies to. must contain at least 1 character(s)
schema_hints[].table_name string yes; — Table name this hint set applies to. must contain at least 1 character(s)
schema_hints[].schema_name string / null no; — Optional schema namespace to narrow hint matching to a specific schema. —
schema_hints[].hints array of Schema hint yes; — Shared hints are selected by connection/table identity and are distinct from inline dataflows[].transform.schema_hints. See shared hints. —

How to configure: Datatypes and schema hints

Conditional rules

Condition Result
at least one of the schema alternatives requires all of connection_name or all of connection_id

Connection

An endpoint: file root, lakehouse path, RDBMS, REST API, or Python function.

Authored path Type Required / default Meaning Constraints
connections[].name string yes; — Required stable label used by source.connection_name and destination.connection_name. must contain at least 1 character(s)
connections[].connection_id string / null no; — Optional stable connection identifier. When omitted, the framework derives it from name. —
connections[].workspace_id string / null no; — Optional provider/workspace scope identifier retained by database/API metadata. —
connections[].connection_type enum: "file", "lakehouse", "database", "api", "function", "streaming" no; — Optional when format identifies one unambiguous built-in family. Check the supported format/type pairs before relying on derivation. must be one of "file", "lakehouse", "database", "api", "function", "streaming"
connections[].format enum: "delta", "iceberg", "parquet", "csv", "json", "jsonl", "avro", "excel", "sql", "api", "function" no; — Data format for this connection. must be one of "delta", "iceberg", "parquet", "csv", "json", "jsonl", "avro", "excel", "sql", "api", "function"
connections[].catalog string / null no; — Catalog name for Unity Catalog or Iceberg catalogs. —
connections[].database string / null no; — Database or schema namespace. —
connections[].configure object (open map) no; — Reusable endpoint defaults. Source and destination configure values apply at dataflow scope; option precedence is option-specific, not a promise of a universal deep merge. —
connections[].secrets_ref one of null / object map of array of string / string no; — Names fields whose values are secret keys or environment-variable names; do not put credentials in authored metadata. See connection secrets. —
connections[].is_active boolean no; default true Defaults to true. False retains the connection in metadata but skips any selected dataflow that uses it as source or destination. —

How to configure: Connections

connections[].configure

Authored path Type Required / default Meaning Constraints
connections[].configure.read_options object (open map) no; — Engine-specific read options (e.g. header, inferSchema, delimiter). —
connections[].configure.write_options object (open map) no; — Engine-specific write options (e.g. compression, mode). —
connections[].configure.merge_options object (open map) no; — Engine-specific merge/upsert options. Legacy merge aliases in write_options remain readable during migration. —
connections[].configure.use_schema_hint boolean no; default true Apply schema hints from transform. Set false to skip type casting. —
connections[].configure.schema_hint_type_system enum: "spark_sql", "spark sql", "spark", "postgresql", "postgres", "mysql", "mssql", "sql server", "sqlserver", "oracle", "sqlite", null no; — Optional source convention used to interpret transform.schema_hints. If omitted, the known database dialect is used; otherwise Spark SQL conventions apply. must be one of "spark_sql", "spark sql", "spark", "postgresql", "postgres", "mysql", "mssql", "sql server", "sqlserver", "oracle", "sqlite", null
connections[].configure.backward_years integer no; — Look-back years for watermark value. —
connections[].configure.backward_months integer no; — Look-back months for watermark value. —
connections[].configure.backward_days integer no; — Look-back days for watermark value. —
connections[].configure.backward_hours integer no; — Look-back hours for watermark value. —
connections[].configure.backward_closing_day integer no; — Look-back closing day for watermark value. —
connections[].configure.backward object (open map) no; — Reusable connection look-back; a non-empty source look-back replaces this option set rather than merging into it. —

Connection settings by endpoint type

These fields are conditional on connections[].connection_type and remain under that connection's configure object.

connection_type: file

Authored path Type Required / default Meaning Constraints
connections[].configure.base_path string no; — File root. The schema permits omission, but the built-in file reader needs a resolvable root path; see file connections. —
connections[].configure.use_hive_partitioning boolean no; default false Enable Hive-style partition discovery. —
connections[].configure.date_folder_partitions string no; — Date folder pattern, e.g. {year}/{month}/{day}. —
connections[].configure.backward_years integer no; — Look-back years for watermark value. —
connections[].configure.backward_months integer no; — Look-back months for watermark value. —
connections[].configure.backward_days integer no; — Look-back days for watermark value. —
connections[].configure.backward_hours integer no; — Look-back hours for watermark value. —
connections[].configure.backward_closing_day integer no; — Look-back closing day for watermark value. —
connections[].configure.backward object no; — Reusable connection look-back; a non-empty source look-back replaces this option set rather than merging into it. —
connections[].configure.backward.years integer no; — Look-back years within the connection default. —
connections[].configure.backward.months integer no; — Look-back months within the connection default. —
connections[].configure.backward.days integer no; — Look-back days within the connection default. —
connections[].configure.backward.hours integer no; — Look-back hours within the connection default. —
connections[].configure.backward.closing_day integer no; — Nested day-of-month for the closing-day look-back strategy. —

connection_type: lakehouse

Authored path Type Required / default Meaning Constraints
connections[].configure.base_path string no; — Path-based lakehouse root; omit for a supported named-table/catalog addressing mode. See lakehouse addressing. —
connections[].configure.catalog string no; — Catalog name (overrides top-level catalog). —
connections[].configure.database string no; — Database name (overrides top-level database). —
connections[].configure.athena_output_location string no; — S3 path for Athena DDL results. Triggers Glue catalog registration. —
connections[].configure.generate_manifest boolean no; default false Write _symlink_format_manifest/ after writes. —
connections[].configure.register_symlink_table boolean no; default false Register SymlinkTextInputFormat table in Glue. Implies generate_manifest. —
connections[].configure.symlink_database_prefix string no; default "symlink_" Prefix for symlink Glue database name. —

connection_type: database

Authored path Type Required / default Meaning Constraints
connections[].configure.database_type enum: "postgresql", "mysql", "mssql", "oracle", "sqlite" no; — Database dialect. must be one of "postgresql", "mysql", "mssql", "oracle", "sqlite"
connections[].configure.auth_type enum: "password", "service_principal", "managed_identity", "access_token" no; default "password" Authentication method. For service_principal: username=client_id, password=client_secret. must be one of "password", "service_principal", "managed_identity", "access_token"
connections[].configure.host string no; — Database hostname. —
connections[].configure.port integer no; — Database port. —
connections[].configure.database string no; — Database name. —
connections[].configure.username string no; — Database username or SPN client_id (env var placeholder for secrets_ref). —
connections[].configure.password string no; — Database password or SPN client_secret (env var placeholder for secrets_ref). —
connections[].configure.tenant_id string no; — Azure AD tenant ID (required for service_principal auth). —
connections[].configure.token string no; — Pre-fetched access token (required for access_token auth). —
connections[].configure.driver string no; — JDBC driver class name. —
connections[].configure.url string no; — Explicit connection URL/string. —
connections[].configure.encrypt string no; — Encryption option (MSSQL). —

connection_type: api

Authored path Type Required / default Meaning Constraints
connections[].configure.base_url string no; — Base URL required by the built-in API reader, although the schema does not mark this open-map key as required. —
connections[].configure.timeout number no; — Request timeout in seconds (int or float). —
connections[].configure.auth_type enum: "bearer", "api_key", "basic", "oauth2_client_credentials", "aws_sigv4" no; — API authentication mode; its credential fields depend on the selected mode. See API authentication cases. must be one of "bearer", "api_key", "basic", "oauth2_client_credentials", "aws_sigv4"
connections[].configure.auth_token string no; — Bearer token (or env var placeholder). —
connections[].configure.api_key_header string no; — Header name for API key auth. —
connections[].configure.api_key_value string no; — API key value (or env var placeholder). —
connections[].configure.username string no; — Username for basic auth. —
connections[].configure.password string no; — Password for basic auth. —
connections[].configure.token_url string no; — OAuth2 token endpoint. —
connections[].configure.client_id string no; — OAuth2 client ID. —
connections[].configure.client_secret string no; — OAuth2 client secret. —
connections[].configure.token_auth_method string no; — API OAuth2 client-credentials mode only. Runtime supports client_secret_post (default) and client_secret_basic; any other string currently falls back to post and should not be used. —
connections[].configure.scope string no; — OAuth2 scope. —
connections[].configure.watermark_to_param_timezone string no; — API default timezone for upper-bound parameters and pushed-down watermark advancement. Use an IANA name or ±HH:MM offset; source-level value wins. —
connections[].configure.default_headers object map of string no; — Static headers added to every request. —
connections[].configure.token_request_body_format enum: "form", "json" no; default "form" OAuth2 token request body encoding format. must be one of "form", "json"
connections[].configure.token_request_extras object (open map) no; — Extra fields sent in the OAuth2 token request body. —
connections[].configure.aws_region string no; — AWS region for SigV4 authentication (e.g. us-east-1). —
connections[].configure.aws_service string no; — AWS service name for SigV4 auth (e.g. execute-api). —
connections[].configure.aws_access_key_id string no; — AWS access key ID for SigV4 (or env var placeholder). —
connections[].configure.aws_secret_access_key string no; — AWS secret access key for SigV4 (or env var placeholder). —
connections[].configure.aws_session_token string no; — AWS session token for SigV4 temporary credentials (or env var placeholder). —

Dataflow

Complete ETL pipeline configuration composing source, destination, and transform.

Authored path Type Required / default Meaning Constraints
dataflows[].name string / null conditional; — Recommended human-readable identity. A usable explicit dataflow_id may replace it for ID-based integrations; name-based references still require one unambiguous name. must contain at least 1 character(s)
dataflows[].dataflow_id string / null conditional; — Optional stable dataflow identifier. When omitted, the framework derives it from name. —
dataflows[].workspace_id string / null no; — Optional provider/workspace scope identifier retained by database/API metadata. —
dataflows[].description string / null no; — Human-readable description of this dataflow. —
dataflows[].stage string / null no; — Project-defined runtime selection label used by driver.run(stage=...). Stage names are dynamic and imply no execution order. —
dataflows[].group_number integer / null no; — Co-location group for job assignment and ordered normal ETL execution. Different groups run independently. Null means an independent dataflow. —
dataflows[].execution_order integer / null no; — Normal ETL order bucket within a non-null group: lower buckets finish first, equal values may run in parallel, null is 0. Without a group it provides no dependency ordering. —
dataflows[].processing_mode enum: "batch", "microbatch", "streaming" no; default "batch" Accepted processing-mode metadata value. The built-in driver currently executes normal ETL through the batch path; microbatch and streaming are reserved for specialized or future runtimes. must be one of "batch", "microbatch", "streaming"
dataflows[].is_active boolean no; default true Defaults to true. False excludes normal selection and blocks execution even when the dataflow is supplied directly. —
dataflows[].source Source yes; — Use exactly one connection reference form: connection_name or connection. An inline connection object still needs its own name; it is not registered as a reusable top-level connection. A query controls the read; optional table can label its result. A Python function may use any Source field it receives. —
dataflows[].destination Destination yes; — Use exactly one connection reference form: connection_name or connection. An inline connection object still needs its own name; it is not registered as a reusable top-level connection. table is required even when the destination is addressed through a catalog. —
dataflows[].transform Transform no; — Transformation rules applied between source read and destination write. —
dataflows[].configure object (open map) no; — Dataflow-level configuration options. —

How to configure: Dataflows

Conditional rules

Condition Result
at least one of the schema alternatives requires all of name or all of dataflow_id

Source

Read-side pipeline configuration using a named or inline connection.

Authored path Type Required / default Meaning Constraints
dataflows[].source.connection_name string conditional; — Name of the connection to read from. must contain at least 1 character(s)
dataflows[].source.connection one of string / Connection conditional; — Named connection reference or an inline connection definition. —
dataflows[].source.schema_name string / null no; — Schema namespace within the connection. —
dataflows[].source.table string / null no; — Table or object name to read. —
dataflows[].source.query string / null no; — Inline SQL is supported. A relative .sql path is resolved during Driver preparation using provider sql_base_path, Driver sql_base_path as a session fallback, or artifact_base_path; artifact:/... selects the artifact root explicitly. See SQL-file query sources. —
dataflows[].source.python_function string / null no; — Dotted path to a Python function for function sources (e.g. functions.sources.my_fn). —
dataflows[].source.watermark_columns array of string no; default [] The authored column list enables incremental filtering. The effective lower bound and date_backward are runtime values, not authored fields. —
dataflows[].source.filter_expression string / null no; — Filter reader output before transforms. In database query mode, use columns or aliases returned by the query, not columns hidden inside it. —
dataflows[].source.configure object (open map) no; — Source-level configuration. API fields documented from api_reader.py. —

How to configure: Source configuration

dataflows[].source.configure

Authored path Type Required / default Meaning Constraints
dataflows[].source.configure.read_options object (open map) no; — Source-level read option overrides (file/lakehouse). —
dataflows[].source.configure.backward_days integer no; — Source-level look-back override for watermark preparation. Connection-level look-back is used when no source override applies. —
dataflows[].source.configure.backward_months integer no; — Subtract N months from watermark for partition look-back. Overrides connection-level setting. —
dataflows[].source.configure.backward_hours integer no; — Subtract N hours from watermark for partition look-back. Overrides connection-level setting. —
dataflows[].source.configure.backward_years integer no; — Subtract N years from watermark for partition look-back. Overrides connection-level setting. —
dataflows[].source.configure.backward_closing_day integer no; — Day-of-month for closing-day look-back strategy. Overrides connection-level setting. —
dataflows[].source.configure.backward object no; — Structured look-back override with days, months, hours, years, or closing_day; use it as one authored option set. —
dataflows[].source.configure.endpoint string no; — Endpoint path appended to the API connection's base_url; omit only when requesting the base URL itself. —
dataflows[].source.configure.method string no; default "GET" HTTP method string, not a DataCoolie enum. Default GET; the reader passes the uppercased value to the HTTP client. body is sent as JSON. —
dataflows[].source.configure.params object (open map) no; — Static query parameters added to every request. —
dataflows[].source.configure.body object (open map) no; — Request body for POST/PUT requests. —
dataflows[].source.configure.data_path string no; — API response JSON path to a list or one object. A missing or mismatched path yields zero records, not a path-validation error. —
dataflows[].source.configure.pagination_type enum: "offset", "cursor", "next_link" no; — API pagination mode: offset, cursor, or next_link; omit for one response. See pagination cases. must be one of "offset", "cursor", "next_link"
dataflows[].source.configure.page_size integer no; default 100 Records per page. —
dataflows[].source.configure.max_pages integer no; default 1000 API safety cap, default 1,000 pages. If another page is required at the cap, the reader fails instead of returning a partial result; choose the budget with the provider's completeness contract. —
dataflows[].source.configure.next_link_path string no; default "next" Dot-separated path to the next-page URL in the response (next_link pagination). —
dataflows[].source.configure.next_link_bound_mode enum: "opaque", "repeat_query_bounds" no; default "opaque" Next-link continuation policy: default opaque follows the returned URL as-is; repeat_query_bounds is an explicit opt-in that adds only missing active query bounds and rejects duplicate or conflicting values. It does not decode or rewrite opaque tokens. See next-link pagination. must be one of "opaque", "repeat_query_bounds"
dataflows[].source.configure.cursor_path string no; default "next_cursor" Dot-separated path to the cursor token in the response (cursor pagination). —
dataflows[].source.configure.cursor_param string no; default "cursor" Query parameter name for cursor value. —
dataflows[].source.configure.offset_param string no; default "offset" API offset pagination sends record offsets 0, page_size, 2 × page_size, not page numbers. Rename the parameter only if the provider expects record offsets. —
dataflows[].source.configure.limit_param string no; default "limit" Query parameter name for page size. —
dataflows[].source.configure.total_path string no; — API offset mode only. Reads the numeric total from page 0 and enables concurrent page requests; sequential rate_limit_delay no longer applies. —
dataflows[].source.configure.offset_max_workers integer no; default 4 Max parallel workers for concurrent offset pagination (requires total_path). —
dataflows[].source.configure.rate_limit_delay number no; default 0 Seconds between sequential API pages only. It does not throttle concurrent offset pages selected by total_path. —
dataflows[].source.configure.max_retries integer no; default 10 Retries HTTP 429 using Retry-After or exponential backoff; other HTTP errors are not retried by this setting. —
dataflows[].source.configure.range_param_mapping object map of any of any / any no; — Canonical API per-field lower/upper bindings for incremental push-down, split ranges, bounded reads, and replay. Lower and upper bindings accept a parameter-name shorthand or an object with location and operator; format keeps the supported temporal and integer aliases. The selected field may be outside source.watermark_columns; only configured watermark columns are persisted. See API range configuration. must contain at least 1 property/properties
dataflows[].source.configure.watermark_to_param_timezone string no; — Source-level timezone for generated API upper bounds and watermark advancement. It overrides the connection-level default; use an IANA name or ±HH:MM offset. —
dataflows[].source.configure.watermark_range_interval_unit enum: "hour", "day", "month", "year" no; — Canonical API incremental split unit. Pair it with range_param_mapping lower and upper bindings for the selected field; the first incremental run may need watermark_range_start when no lower watermark is saved. Explicit bounded reads and replay receive their [start, end) range from the source contract and do not require split settings. See API range configuration. must be one of "hour", "day", "month", "year"
dataflows[].source.configure.watermark_range_interval_amount integer no; default 1 Number of units per sub-range interval (e.g. 3 with unit='hour' → 3-hour windows). —
dataflows[].source.configure.watermark_range_start string no; — Fallback lower bound for canonical API incremental split reads when no stored lower watermark exists. Explicit bounded reads and replay receive their [start, end) range from the source contract; do not add this field solely to configure replay. —
dataflows[].source.configure.watermark_range_max_workers integer no; default 4 Max parallel HTTP workers for range-split fetching. —

dataflows[].source.configure.backward

Authored path Type Required / default Meaning Constraints
dataflows[].source.configure.backward.days integer no; — Look-back days within the source override. —
dataflows[].source.configure.backward.months integer no; — Look-back months within the source override. —
dataflows[].source.configure.backward.hours integer no; — Look-back hours within the source override. —
dataflows[].source.configure.backward.years integer no; — Look-back years within the source override. —
dataflows[].source.configure.backward.closing_day integer no; — Nested day-of-month for the closing-day look-back strategy. —

Conditional rules

Condition Result
exactly one of the schema alternatives requires all of connection_name or all of connection

Transform

Transformation rules applied between source read and destination write.

Authored path Type Required / default Meaning Constraints
dataflows[].transform.deduplicate_columns array of string no; default [] Key columns for deduplication. —
dataflows[].transform.latest_data_columns array of string no; default [] Columns used to pick the latest row when deduplicating. —
dataflows[].transform.filter_expression string / null no; — SQL WHERE predicate applied after computed columns (transformer order 35). —
dataflows[].transform.additional_columns array of Additional column no; default [] Computed columns added during transform phase. —
dataflows[].transform.schema_hints array of Schema hint no; default [] Column-level type declarations. They take effect only when the source connection permits schema hints and the selected engine/type system supports the value. See dataflow-level hints. —
dataflows[].transform.select_columns array of string no; default [] Business columns to keep, resolved before rename_columns. Mutually exclusive with drop_columns. items must be unique; each item: must contain at least 1 character(s)
dataflows[].transform.drop_columns array of string no; default [] Business columns to remove, resolved before rename_columns. Mutually exclusive with select_columns. items must be unique; each item: must contain at least 1 character(s)
dataflows[].transform.rename_columns object map of string no; default {} Atomic old-name to new-name mapping. Chains, cycles, and overwrites are invalid. —
dataflows[].transform.value_rules array of Value rule no; default [] Typed normalization rules applied before schema casting. —
dataflows[].transform.hash_columns array of Hash column no; default [] Stable SHA-256 string or signed XXHash64 BIGINT columns generated from canonical scalar payloads. —
dataflows[].transform.masking_rules array of Masking rule no; default [] Structured scalar masking rules applied before projection. —
dataflows[].transform.configure object (open map) no; — Transform-level configuration. —

How to configure: Transform patterns

dataflows[].transform.configure

Authored path Type Required / default Meaning Constraints
dataflows[].transform.configure.convert_timestamp_ntz boolean no; default false Convert timestamp_ntz columns to timestamp using timestamp_timezone. Disabled by default to preserve wall-clock semantics. —
dataflows[].transform.configure.timestamp_timezone string / null no; — Timezone used for an explicit timestamp_ntz-to-instant conversion. —
dataflows[].transform.configure.deduplicate_by_rank boolean no; default false Use RANK-based dedup instead of ROW_NUMBER. —
dataflows[].transform.configure.missing_column_policy enum: "error", "ignore" no; default "error" Behavior for absent columns in typed value/hash/masking rules and projection. Missing schema hints warn and skip; deduplication remains strict. must be one of "error", "ignore"

Schema hint

Column-level type hint for schema conversion.

Authored path Type Required / default Meaning Constraints
schemaHint.column_name string yes; — Target column name. must contain at least 1 character(s)
schemaHint.data_type string yes; — Target data type (e.g. int, string, decimal, timestamp, date, boolean, float, double, long, short, byte). must contain at least 1 character(s)
schemaHint.format string / null no; — Date/timestamp format pattern (e.g. yyyy-MM-dd). —
schemaHint.precision integer / string / null no; — Decimal precision (total digits). —
schemaHint.scale integer / string / null no; — Decimal scale (digits after decimal point). —
schemaHint.default_value string / null no; — Default value for null entries. —
schemaHint.ordinal_position integer / string / null no; default 0 Column ordering position. —
schemaHint.is_active boolean / string no; default true Toggle hint on/off. —

How to configure: Datatypes and schema hints

Additional column

Computed column added during the transform phase.

Authored path Type Required / default Meaning Constraints
additionalColumn.column string yes; — Output column name. must contain at least 1 character(s)
additionalColumn.expression string yes; — SQL expression to compute the column value. must contain at least 1 character(s)

How to configure: Computed columns (ColumnAdder)

Value rule

Authored path Type Required / default Meaning Constraints
valueRule.operation enum: "trim", "case", "regex_replace", "empty_to_null", "fill_null", "map" yes; — Normalization action applied to the selected columns; conditional fields below depend on this value. must be one of "trim", "case", "regex_replace", "empty_to_null", "fill_null", "map"
valueRule.columns array of string yes; — Columns to which this value rule applies. must contain at least 1 item(s); items must be unique; each item: must contain at least 1 character(s)
valueRule.order integer no; default 100 Order among value rules; lower values run first. value >= 0
valueRule.mode enum: "lower", "upper", null no; — Case conversion mode; required when operation is case. must be one of "lower", "upper", null
valueRule.pattern string / null no; — DataCoolie portable regex v1; engine-specific constructs such as lookaround, backreferences, named groups, inline flags, and Unicode shorthand classes are rejected by runtime validation. must contain at most 4096 character(s)
valueRule.replacement string no; default "" Literal replacement text; capture-group expansion is not supported. —
valueRule.value string / number / integer / boolean / null no; — Replacement value required for fill_null; also used by the selected operation where applicable. —
valueRule.mapping object map of string no; default {} Old-to-new value mapping required for the map operation. —
valueRule.on_unmapped enum: "keep", "null" no; default "keep" For map, keep unmatched values or replace them with null. must be one of "keep", "null"

How to configure: Value normalization (ColumnValueTransformer)

Conditional rules

Condition Result
operation is "case" and fields operation are present requires mode; mode must be one of "lower", "upper"
operation is "regex_replace" and fields operation are present requires pattern; pattern must contain at most 4096 character(s)
operation is "fill_null" and fields operation are present requires value
operation is "map" and fields operation are present requires mapping; mapping must contain at least 1 property/properties

Hash column

Authored path Type Required / default Meaning Constraints
hashColumn.target_column string yes; — Output column that receives the computed hash. must contain at least 1 character(s)
hashColumn.columns array of string yes; — Input columns combined to compute the hash. must contain at least 1 item(s); items must be unique; each item: must contain at least 1 character(s)
hashColumn.algorithm enum: "sha256", "xxhash64" no; default "sha256" Hash algorithm; changing it changes persisted values and may change the output type. must be one of "sha256", "xxhash64"
hashColumn.serialization enum: "dc_hash_v1" no; default "dc_hash_v1" Portable input serialization contract used before hashing. must be one of "dc_hash_v1"

How to configure: Hash columns (HashColumnAdder)

Masking rule

Authored path Type Required / default Meaning Constraints
maskingRule.method enum: "redact", "nullify", "partial", "numeric_bucket", "date_truncate" yes; — Masking operation; method-specific required fields are listed below. must be one of "redact", "nullify", "partial", "numeric_bucket", "date_truncate"
maskingRule.columns array of string yes; — Columns to which this masking rule applies. must contain at least 1 item(s); items must be unique; each item: must contain at least 1 character(s)
maskingRule.value string / number / integer / boolean / null no; — Replacement value required for redact. —
maskingRule.keep_start integer no; default 0 For partial masking, number of leading characters to keep. value >= 0
maskingRule.keep_end integer no; default 0 For partial masking, number of trailing characters to keep. value >= 0
maskingRule.mask_char string no; default "*" Character used to cover the masked middle portion. must contain at least 1 character(s); must contain at most 1 character(s)
maskingRule.bucket_size number / null no; — Numeric bucket width required for numeric_bucket. value > 0
maskingRule.unit enum: "year", "month", "day", "hour", null no; — Truncation unit required for date_truncate. must be one of "year", "month", "day", "hour", null

How to configure: Masking (DataMasker)

Conditional rules

Condition Result
method is "redact" and fields method are present requires value
method is "numeric_bucket" and fields method are present requires bucket_size; bucket_size value > 0
method is "date_truncate" and fields method are present requires unit; unit must be one of "year", "month", "day", "hour"

Destination

Write-side pipeline configuration using a named or inline connection.

Authored path Type Required / default Meaning Constraints
dataflows[].destination.connection_name string conditional; — Name of the connection to write to. must contain at least 1 character(s)
dataflows[].destination.connection one of string / Connection conditional; — Named connection reference or an inline connection definition. —
dataflows[].destination.table string yes; — Target table or object name. must contain at least 1 character(s)
dataflows[].destination.schema_name string / null no; — Schema namespace within the connection. —
dataflows[].destination.load_type enum: "full_load", "overwrite", "append", "merge_upsert", "merge_overwrite", "scd2" no; default "append" merge_overwrite can be paired with destination.configure.replace_by_watermark: true for bounded window replacement. must be one of "full_load", "overwrite", "append", "merge_upsert", "merge_overwrite", "scd2"
dataflows[].destination.merge_keys array of string no; default [] Required by merge_upsert, scd2, and key-based merge_overwrite; a usable watermark replacement window does not need keys. —
dataflows[].destination.partition_columns array of Partition column no; default [] Partition columns for the destination table. —
dataflows[].destination.configure object (open map) no; — Destination-level configuration. —

How to configure: Destination and load patterns

dataflows[].destination.configure

Authored path Type Required / default Meaning Constraints
dataflows[].destination.configure.scd2_effective_column string no; — SQL expression used as __valid_from for SCD2 loads. —
dataflows[].destination.configure.replace_by_watermark boolean no; default false Only meaningful with load_type: merge_overwrite; it switches the delete scope from matched keys to the effective watermark window. See window replacement. —
dataflows[].destination.configure.write_options object (open map) no; — Engine-specific write options for this destination; matching keys override connection write options. —
dataflows[].destination.configure.merge_options object (open map) no; — Engine-specific merge/upsert options. —
dataflows[].destination.configure.partition_columns array of Partition column no; — Alternative location for partition columns (lifted to top level). —

Conditional rules

Condition Result
exactly one of the schema alternatives requires all of connection_name or all of connection

Partition column

Partition column definition with optional derived expression.

Authored path Type Required / default Meaning Constraints
partitionColumn.column string yes; — Partition column name. must contain at least 1 character(s)
partitionColumn.expression string / null no; — SQL expression to derive the partition value (e.g. year(event_date)). —

How to configure: Destination partitioning

Rejected authored fields

These source properties are reserved as explicit schema rejections; they are not supported configuration rows. Use the canonical API range contract instead. For remote lower-bound push-down, a canonical binding must declare a lower parameter; without it no lower bound is sent.

  • dataflows[].source.configure.watermark_param_mapping is rejected before an API request.
  • dataflows[].source.configure.watermark_to_param is rejected before an API request.
  • dataflows[].source.configure.watermark_param_location is rejected before an API request.
  • dataflows[].source.configure.watermark_param_format is rejected before an API request.
  • dataflows[].source.configure.watermark_range_to_exclusive_offset is rejected before an API request.

Cross-boundary combinations