Moves the data product template from semprini-blog-dataproducts, as adapted to the semprini-data domain platform, into canonical_data_product/. Its worked example passed 9 of 9 checks on the domain platform on 2026-09-17. Adds agent-canonical-product, the blog's agent-product adapted to generate a product into a domain repository from a declaration in the domain's model repository, and README/CLAUDE.md describing the template catalogue, the product contract with the domain platform, and team ownership. Source-aligned and experience templates are planned. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
# Worked example: the template instantiated for a single entity, Address (entities/address.md),
|
|
# as a product called Example Address. It deploys and tests on the stack as-is and shows what a
|
|
# finished product directory looks like. A real product lists every entity in its declaration.
|
|
|
|
product:
|
|
name: "Example Address"
|
|
slug: "example-address"
|
|
domain: "digital-core"
|
|
declaration: "entities/address.md"
|
|
version: "1.0.0"
|
|
owner: "data.architecture@bank.com"
|
|
|
|
ods:
|
|
schema: "example_address"
|
|
tables:
|
|
- name: "address"
|
|
entity: "Address"
|
|
key: "address_id"
|
|
|
|
graphql:
|
|
endpoint: "/rpc/example_address_graphql"
|
|
smoke: graphql/smoke.graphql
|
|
|
|
events:
|
|
registry_group: "digital-core.example-address"
|
|
compatibility: BACKWARD
|
|
topics:
|
|
- name: "digital-core.example-address.address.inbound"
|
|
role: publish-input
|
|
table: "address"
|
|
schema: events/schemas/address.schema.json
|
|
partitions: 3
|
|
cleanup_policy: delete
|
|
retention_ms: 604800000
|
|
- name: "digital-core.example-address.address.outbound"
|
|
role: subscribe-output
|
|
table: "address"
|
|
schema: events/schemas/address.schema.json
|
|
partitions: 3
|
|
cleanup_policy: compact
|
|
|
|
flink:
|
|
job: flink/job.sql
|
|
name: "example-address"
|
|
|
|
lakehouse:
|
|
sync_group: ods
|
|
schema: "example_address"
|
|
|
|
trino:
|
|
catalog: lake
|
|
smoke: trino/smoke.sql
|