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>
This commit is contained in:
commit
62a3714562
30 files changed
+1529
No files matched your search
@@ -0,0 +1,104 @@
|
||||
# Open Data Product Specification v4.0 manifest: the product's entry in the catalogue.
|
||||
# The details, SLA, license and dataHolder blocks follow Agent Architect's odps-alignment
|
||||
# mapping from the MD-DDL declaration. The dataAccess block is platform-specific and lists
|
||||
# the product's four interfaces. Fields with TODO need business input outside the model.
|
||||
schema: https://opendataproducts.org/v4.0/schema/odps.yaml
|
||||
version: 4.0
|
||||
product:
|
||||
details:
|
||||
en:
|
||||
name: "{{product.name}}"
|
||||
productID: "{{domain.slug}}.{{product.slug}}"
|
||||
description: "{{product.description}}"
|
||||
visibility: organisation
|
||||
status: production # Draft -> draft, Active -> production, Deprecated -> sunset
|
||||
type: dataset # domain-aligned -> dataset, consumer-aligned -> derived data, source-aligned -> raw data
|
||||
productVersion: "{{product.version}}"
|
||||
categories:
|
||||
- "{{domain.name}}"
|
||||
tags:
|
||||
# >>> repeat per entity
|
||||
- "{{entity.name}}"
|
||||
# <<< end repeat
|
||||
outputFileFormats:
|
||||
- GraphQL
|
||||
- JSON
|
||||
- SQL
|
||||
|
||||
SLA:
|
||||
declarative:
|
||||
default:
|
||||
name:
|
||||
en: Default SLA
|
||||
description:
|
||||
en: "Service levels for {{product.name}}"
|
||||
dimensions:
|
||||
- dimension: uptime
|
||||
displaytitle:
|
||||
en: Availability
|
||||
objective: "{{sla.availability_percent}}" # number, from sla.availability, e.g. 99.95
|
||||
unit: percent
|
||||
- dimension: updateFrequency
|
||||
displaytitle:
|
||||
en: Data Freshness
|
||||
objective: "{{sla.freshness_minutes}}" # number: real-time -> 1, hourly -> 60, daily -> 1440
|
||||
unit: minutes
|
||||
support:
|
||||
email: "{{product.owner}}"
|
||||
|
||||
dataAccess:
|
||||
default:
|
||||
name:
|
||||
en: CRUD API
|
||||
description:
|
||||
en: "GraphQL reflected from the operational store by pg_graphql. Reads, inserts, updates and deletes on every entity."
|
||||
outputPorttype: API
|
||||
format: GraphQL
|
||||
authenticationMethod: none # lab stack only
|
||||
accessURL: "http://localhost:{{platform.graphql_port}}/rpc/{{product.schema}}_graphql"
|
||||
publish:
|
||||
name:
|
||||
en: Publish Input
|
||||
description:
|
||||
en: "Kafka topics that accept canonical records, one per entity. JSON payloads conform to the schema registered for the topic."
|
||||
outputPorttype: API
|
||||
format: JSON
|
||||
authenticationMethod: none
|
||||
accessURL: "kafka://localhost:{{platform.kafka_port}}/{{domain.slug}}.{{product.slug}}.<table>.inbound"
|
||||
specsURL: "http://localhost:8081/apis/registry/v3/groups/{{domain.slug}}.{{product.slug}}/artifacts"
|
||||
subscribe:
|
||||
name:
|
||||
en: Subscribe Output
|
||||
description:
|
||||
en: "Compacted Kafka topics carrying every change to each entity, keyed by identifier. Deletes are tombstones."
|
||||
outputPorttype: API
|
||||
format: JSON
|
||||
authenticationMethod: none
|
||||
accessURL: "kafka://localhost:{{platform.kafka_port}}/{{domain.slug}}.{{product.slug}}.<table>.outbound"
|
||||
specsURL: "http://localhost:8081/apis/registry/v3/groups/{{domain.slug}}.{{product.slug}}/artifacts"
|
||||
sql:
|
||||
name:
|
||||
en: Analytic SQL
|
||||
description:
|
||||
en: "Trino over DuckLake, continuously replicated from the operational store by pg_duckpipe."
|
||||
outputPorttype: SQL
|
||||
format: SQL
|
||||
authenticationMethod: none
|
||||
accessURL: "jdbc:trino://localhost:{{platform.trino_port}}/lake/{{product.schema}}"
|
||||
|
||||
license:
|
||||
en:
|
||||
scope:
|
||||
definition: "TODO: purpose statement for the licence"
|
||||
restrictions: "{{governance.classification}}. {{governance.restrictions}}"
|
||||
permanent: false
|
||||
exclusive: false
|
||||
termination:
|
||||
terminationConditions: "{{governance.retention}}"
|
||||
governance:
|
||||
confidentiality: "{{governance.confidentiality}}"
|
||||
|
||||
dataHolder:
|
||||
en:
|
||||
legalName: "TODO: organisation legal name"
|
||||
email: "{{product.owner}}"
|
||||
Reference in new issue
Block a user