# 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, and each message is keyed by the entity's identifier, which is what keeps changes to one entity in order." outputPorttype: API format: JSON authenticationMethod: none accessURL: "kafka://localhost:{{platform.kafka_port}}/{{domain.slug}}.{{product.slug}}.