# Data product manifest. # Read by `uv run data-domain deploy|test|undeploy `. # Names every platform resource the product owns. Derived from the MD-DDL declaration # named in `declaration`; see README.md in the template for the naming rules. product: name: "{{product.name}}" # MD-DDL level-3 heading, e.g. Canonical Party slug: "{{product.slug}}" # kebab-case identity, e.g. canonical-party domain: "{{domain.slug}}" # kebab-case domain, e.g. digital-core declaration: "{{product.declaration}}" # e.g. data_products/canonical.md version: "{{product.version}}" # from the declaration's `version` owner: "{{product.owner}}" # from the declaration's `owner` ods: schema: "{{product.schema}}" # snake_case of slug, e.g. canonical_party tables: # >>> repeat per entity table, parents before children, association tables last - name: "{{table}}" # e.g. party_role entity: "{{entity.name}}" # e.g. Party Role key: "{{table}}_id" # <<< end repeat graphql: endpoint: "/rpc/{{product.schema}}_graphql" smoke: graphql/smoke.graphql events: registry_group: "{{domain.slug}}.{{product.slug}}" compatibility: BACKWARD topics: # >>> repeat per entity table - name: "{{domain.slug}}.{{product.slug}}.{{table}}.inbound" role: publish-input # producers publish canonical records here table: "{{table}}" schema: events/schemas/{{table}}.schema.json partitions: 3 cleanup_policy: delete retention_ms: 604800000 # 7 days - name: "{{domain.slug}}.{{product.slug}}.{{table}}.outbound" role: subscribe-output # every change to the ODS table, keyed by {{table}}_id table: "{{table}}" schema: events/schemas/{{table}}.schema.json partitions: 3 cleanup_policy: compact # <<< end repeat flink: job: flink/job.sql name: "{{product.slug}}" lakehouse: sync_group: ods # platform-level pg_duckpipe group pointing at the ODS schema: "{{product.schema}}" trino: catalog: lake smoke: trino/smoke.sql