Formats
Canonical releases are Parquet tables (ADR-0005). Import formats:
CSV (product) — one row per product. Identity columns: gtin (or ean), mpn, brand (or manufacturer), name. Every other column is an attribute: property[unit]@language, e.g. rated_voltage[V], weight[kg], description@de, class:etim. Empty cells are skipped. GTINs are normalized to 14 digits; products without a GTIN are keyed mpn:<manufacturer>:<mpn> (ADR-0027).
BMEcat — profile product.cloud/bmecat-min@0.1 (1.2 ARTICLE and 2005 PRODUCT): GTIN, description, manufacturer PID/name, long description, supplier PID, ETIM feature groups and features. Everything else is listed in the import's loss report.
JSONL / Parquet — columns of the canonical table (--table <name>), strings only; decimals are strings (e.g. confidence "0.98").
| Kind | Tables (primary key) |
|---|---|
| product | products (gtin), attributes (gtin, property, language) |
| classification | classes (code), class_labels (code, language), properties (code), class_properties (class_code, property_code), values (property_code, value_code) |
| mapping | mappings (source ns/version/id, target ns/version/id) with relation, confidence, status, evidence |
| rulepack | rules (id) with severity, target, property, check, parameter, message |
Large tables are split into key-anchored shards of at most 1,000,000 rows (ADR-0026).
Spec 0.4 asset repositories (ADR-0083)
An asset repository publishes files with per-file rights. product init <ns/repo> --kind asset --spec 0.4 creates one. It has three tables, and its manifest lists the files as blobs:
| Table | Holds |
|---|---|
assets | One row per file: digest, media type, size, role |
asset_rights | The file's license and its publisher's attestation |
asset_links | Which product key and property the file supports, and where in it |
The files travel with product push, product clone and product pull, like shards; the hub never parses them. The normative description is in specs/repository/0.4/.
Spec 0.5 (ADR-0104) changes one thing: the role of an asset may also be article (a Markdown article) or ledger (its claim ledger), for editorial repositories. The manifest then records product.cloud/assets@0.5. Create one with --spec 0.5; a 0.4 repository that uses these roles fails validation. The normative description is in specs/repository/0.5/.
Spec 0.2 product repositories (ADR-0040, ADR-0052)
Spec 0.2 is opt-in per repository: product init <ns/name> --spec 0.2, or spec_version: '0.2' in product.yaml. Spec 0.1 stays the default, and 0.1 repositories are read and written exactly as before. Upgrading a 0.1 repository (edit spec_version, re-import, commit) reports no changes until new metadata is added.
Tables. attributes@0.2 has the 0.1 columns followed by seven optional assertion columns. The new erasures (gtin, property, language) table records legally erased keys.
| Column | Meaning | Rule |
|---|---|---|
valid_from, valid_to | When the statement applies in the world (inclusive) | YYYY-MM-DD or YYYY-MM-DDThh:mm:ss[.f]Z; valid_from ≤ valid_to |
observed_at | When the source observed the value | same date format |
market | Market the statement applies to | assigned ISO 3166-1 alpha-2 code (DE, AT, …) |
method | How the value was obtained | lower-case identifier; supplier_feed, measurement, datasheet, derived, manual, and estimate are documented; other values produce a warning |
qualifier | estimated, approximate, none, not_applicable | none/not_applicable assert no value; a non-empty value is a warning |
tolerance | ± tolerance in the value's unit | non-negative decimal string |
Record time is the commit time and is never repeated in rows. Absence stays unknown: an empty cell or a missing column never means "none".
CSV metadata columns. Whole-catalog CSV imports read # columns:
<attribute header>#<field>sets one field of that attribute, e.g.weight[kg]#qualifier,weight[kg]#tolerance,description@de#market;#<field>sets a row-wide default for every attribute of the row, e.g.#observed_at,#market,#method; a per-attribute column wins over the default.
gtin,name,weight[kg],weight[kg]#qualifier,weight[kg]#tolerance,#observed_at,#market
04012345678901,Cordless drill,2.40,estimated,0.1,2026-08-01,DEA spec 0.1 repository reports # columns in the loss report and never turns them into attributes. JSONL and Parquet table imports (--table attributes) read the columns by name. A BMEcat import into a 0.2 repository sets method = supplier_feed, observed_at from HEADER/CATALOG/DATETIME[@type=generation_date], and market from a single HEADER/CATALOG/TERRITORY.
Erasure. To erase a product or one of its values for legal reasons, remove it from the catalog and add its key to erasures, for example product import csv erasures.csv --table
erasures with columns gtin,property,language,reason (an empty property erases the whole product). Validation rejects a state that still contains an erased key. The diff and the change feed report the removal as erase and never carry its values; the hub deletes the key's identity claims and discovery entries. Historical objects need the procedure in an operator procedure (ask the hub operators).
Change meanings. Diffs of spec 0.2 states give every replacement and removal a meaning:
supersede: the value or its metadata was replaced;retract: the value was withdrawn, but the product is still covered;remove: the product is no longer covered;erase: legal erasure.
Spec 0.1 diffs are unchanged.