# {{product_name}}: Open Data Product Specification v4.0 manifest, the product's entry in the catalogue. # Read by `uv run data-bus register example`, which imports it into OpenMetadata and attaches # the product's topics as its assets and output ports. # # A source-aligned product's consumers are not people writing queries: they are the canonical # products it feeds, and the engineers who have to work out why a record was rejected. So the # description says what it captures, what it guarantees, and what it refuses. schema: https://opendataproducts.org/v4.0/schema/odps.yaml version: 4.0 product: details: en: name: "{{product_name}}" productID: "bus.{{slug}}" description: "The ERP's customers, captured by change data capture and published as the canonical Party records {{target_product_name}} accepts. It is the only thing that knows the ERP's schema: its integer customer key, its I/O customer types and its single-letter status codes. Every record it publishes has been checked against {{target_product_name}}'s rules first; what fails is on {{system}}.dlq with the reason, not in the {{target_domain}} domain. Identifiers are derived from the ERP key, so a re-snapshot upserts rather than duplicates." visibility: organisation status: draft type: dataset # MD-DDL class: source-aligned productVersion: "0.1.0" categories: - "Integration" outputFileFormats: - JSON SLA: declarative: default: name: en: Default SLA description: en: "Service levels for {{product_name}}" dimensions: - dimension: updateFrequency displaytitle: en: Data Freshness objective: 1 # streaming; a change is published within a minute unit: minutes - dimension: uptime displaytitle: en: Availability objective: 99.0 unit: percent support: email: "integration@example.com" dataQuality: declarative: default: name: en: Validation before publishing description: en: "Every record is checked against {{target_product_name}}'s rules before it is published: a legal name is present, the customer type is one the model knows, and the status code maps to a Party Status. What fails is published to {{system}}.dlq with the reason and the original record, and is not sent to the canonical product." dimensions: - dimension: accuracy displaytitle: en: Records accepted by the canonical product objective: 100 unit: percent dataAccess: raw: name: en: Raw records description: en: "The ERP's customer rows as the ERP holds them, captured by Debezium and kept for seven days so canonical records can be rebuilt without going back to the source. Keyed by the ERP's customer key." outputPorttype: API format: JSON authenticationMethod: none # lab stack only accessURL: "kafka://localhost:19092/raw.{{system}}.{{source_schema}}.{{source_object}}" specsURL: "http://localhost:8081/apis/registry/v3/groups/bus.{{system}}/artifacts" deadletter: name: en: Dead letters description: en: "Records that could not be turned into canonical records, each with the reason it was refused and the original record as JSON, so it can be corrected in the ERP and replayed. Kept for thirty days." outputPorttype: API format: JSON authenticationMethod: none accessURL: "kafka://localhost:19092/{{system}}.dlq" specsURL: "http://localhost:8081/apis/registry/v3/groups/bus.{{system}}/artifacts" dataHolder: en: legalName: "Semprini" email: "integration@example.com" license: en: scope: restrictions: "Internal use within the organisation. The raw topic carries the source system's records unchanged, including personal data, and is subject to the ERP's own handling rules."