Files
semprini-data-product-templ…/canonical_data_product/example/odps.yaml
T
paulandClaude Opus 5 62a3714562 Add the canonical data product template
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>
2026-09-17 22:55:11 +12:00

96 lines
3.2 KiB
YAML

# Example Address: ODPS v4.0 manifest (worked example of canonical_data_product/odps.yaml).
schema: https://opendataproducts.org/v4.0/schema/odps.yaml
version: 4.0
product:
details:
en:
name: "Example Address"
productID: "digital-core.example-address"
description: "Worked example of the data product template: the canonical Address entity of the Digital Core domain, published through GraphQL, Kafka and Trino."
visibility: organisation
status: production
type: dataset
productVersion: "1.0.0"
categories:
- "Digital Core"
tags:
- "Address"
outputFileFormats:
- GraphQL
- JSON
- SQL
SLA:
declarative:
default:
name:
en: Default SLA
description:
en: "Service levels for Example Address"
dimensions:
- dimension: uptime
displaytitle:
en: Availability
objective: 99.95
unit: percent
- dimension: updateFrequency
displaytitle:
en: Data Freshness
objective: 1
unit: minutes
support:
email: "data.architecture@bank.com"
dataAccess:
default:
name:
en: CRUD API
description:
en: "GraphQL reflected from the operational store by pg_graphql."
outputPorttype: API
format: GraphQL
authenticationMethod: none
accessURL: "http://localhost:20000/rpc/example_address_graphql"
publish:
name:
en: Publish Input
description:
en: "Kafka topic accepting canonical Address records."
outputPorttype: API
format: JSON
authenticationMethod: none
accessURL: "kafka://localhost:20001/digital-core.example-address.address.inbound"
specsURL: "http://localhost:8081/apis/registry/v3/groups/digital-core.example-address/artifacts"
subscribe:
name:
en: Subscribe Output
description:
en: "Compacted Kafka topic carrying every change to Address, keyed by address_id."
outputPorttype: API
format: JSON
authenticationMethod: none
accessURL: "kafka://localhost:20001/digital-core.example-address.address.outbound"
specsURL: "http://localhost:8081/apis/registry/v3/groups/digital-core.example-address/artifacts"
sql:
name:
en: Analytic SQL
description:
en: "Trino over DuckLake, continuously replicated from the operational store."
outputPorttype: SQL
format: SQL
authenticationMethod: none
accessURL: "jdbc:trino://localhost:20003/lake/example_address"
license:
en:
scope:
definition: "TODO: purpose statement for the licence"
restrictions: "Internal. Address is reference data with no PII; parties are linked through Contact Address, which is not in this product."
permanent: false
exclusive: false
termination:
terminationConditions: "7 years post relationship end"
governance:
confidentiality: "Internal, per the Address entity governance in the Digital Core domain"
dataHolder:
en:
legalName: "TODO: organisation legal name"
email: "data.architecture@bank.com"