Catalog Feed¶
- Capability Name:
dev.ucp.shopping.catalog.feed
A catalog feed is a materialized catalog: the Products a Platform would find through Catalog Search, published in bulk as files so the Platform can index, embed, and rank them offline, and, when advertised, call Catalog Search and Catalog Lookup at serving time for the authoritative price and availability. When paired, the feed and the live catalog are complementary: the feed is point-in-time, the live operations are authoritative.
This capability extends the Feed capability
(dev.ucp.common.feed) with a record type. Discovery, the feed list,
manifests, files, snapshot semantics, and access are defined there and not
restated here. This document defines a catalog feed's records and formats,
which resolutions a Platform obtains from the live catalog at serving time,
and the filters this capability adds to a catalog manifest.
Dependencies:
- Feed Capability (
dev.ucp.common.feed)
Discovery¶
A shopping Business that publishes catalog feeds declares two entries in its
profile, beside any Catalog Search and Catalog Lookup entries:
dev.ucp.common.feed, whose config.endpoint serves the feed list, and
dev.ucp.shopping.catalog.feed, which declares extends:
"dev.ucp.common.feed" and carries no config. A Platform activates
dev.ucp.shopping.catalog.feed only when dev.ucp.common.feed is in the
negotiated set; without its parent, the entry is pruned. The one feed endpoint
serves every feed the Business publishes, whatever its record type.
{
"ucp": {
"version": "draft",
"services": {
"dev.ucp.shopping": [
{
"version": "draft",
"spec": "https://ucp.dev/draft/specification/overview",
"transport": "rest",
"schema": "https://ucp.dev/draft/services/shopping/rest.openapi.json",
"endpoint": "https://business.example.com/ucp"
}
]
},
"capabilities": {
"dev.ucp.common.feed": [{
"version": "draft",
"spec": "https://ucp.dev/draft/specification/common/feed",
"schema": "https://ucp.dev/draft/schemas/common/feed.json",
"config": {
"endpoint": "https://merchant.example.com/ucp/feeds"
}
}],
"dev.ucp.shopping.catalog.feed": [{
"version": "draft",
"extends": "dev.ucp.common.feed",
"spec": "https://ucp.dev/draft/specification/shopping/catalog/feed",
"schema": "https://ucp.dev/draft/schemas/shopping/catalog_feed.json"
}]
},
"payment_handlers": {}
}
}
Records¶
In this capability a record is a catalog Product with its
nested variants, using the same Product shape as Catalog Search and
conforming to the schemas of the capabilities declared in the manifest's
ucp.capabilities.
Extensions can add record fields, manifest fields, or both; a manifest-only extension does not need to declare a record schema. Record enrichment preserves the shape and identity of Product and its nested Variants. Applicability to Catalog Feed does not automatically make added fields applicable to live Search or Lookup; those capabilities need explicit bindings. A feed record and a Search result for the same Product can therefore carry different extension fields. Extensions for non-Product record types extend Common directly.
Catalog Feed defines two representation profiles:
dev.ucp.shopping.catalog.jsonl: One Product encoded as JavaScript Object Notation (JSON) per line; files are gzip-compressed.dev.ucp.shopping.catalog.parquet: One Product per row, with nested Variants and other structures represented as nested columns per the declared schemas; compression is internal to Parquet. ANULLvalue means the member is absent. In a supplemental feed, the file's columns are the members its records carry: aNULLremoves the base member, and a member the file has no column for is untouched.
A snapshot may span several files. A Platform consuming Catalog Feed SHOULD support both profiles unless the Business and Platform have agreed to narrower format requirements.
Both profiles permit fields from extensions declared in the manifest's
ucp.capabilities and partial Product records for supplemental feeds, without
a new format identifier for each compatible extension. For supplemental feeds,
the Platform validates the composed Product against the declared schemas,
not the partial record alone, under the existing
supplemental-feed rules.
Records carry the Business's own identity. The Business MUST use stable,
Business-owned Product and Variant identifiers in each record. Where Catalog
Lookup is advertised, the Business MUST resolve those Product and Variant
identifiers to the same entities. Where Cart or Checkout operations are
advertised, the Business MUST accept those Variant identifiers as item.id
to identify the same Variants. Publishing a catalog feed does not require
advertising corresponding live operations.
A Business that publishes through a third-party feed publisher remains responsible for the feed. The Business MAY include additional identifiers assigned by that publisher, but MUST NOT replace its own entity identifiers. A Platform handles resolution failures through the corresponding operation’s error contract. Stable identity does not guarantee availability or purchase success.
Context¶
A catalog feed is resolved for one market. Its context SHOULD carry
address_country, language, and currency; CA/en-CA/CAD and
CA/fr-CA/CAD are two feeds. A supplemental feed's context SHOULD
be empty, or carry address_country, language, and currency. A Business
that materializes sub-national markets MAY scope a feed further with
address_region or postal_code. A catalog feed SHOULD NOT be scoped by
members that describe a Buyer rather than a market (location,
eligibility, intent, payment); a Platform obtains those Buyer-specific
resolutions and the authoritative serving-time price and availability from
Catalog Search or Catalog Lookup when advertised.
Filters¶
This capability adds filters to the manifest: row-inclusion predicates the
Business applied when generating the snapshot, using the same names and
semantics as Search Filters. Absent means no filter
was applied. A catalog snapshot is complete for its context and its
filters: absence of a record from the snapshot means the record is not
offered in this context or does not satisfy the feed's filters.
filters says which records a snapshot carries. A supplemental feed never
adds or removes records, so on a supplemental manifest filters only
describes the records it covers. A feed built from a base feed and its
supplemental feeds has the base feed's filters; a price filter there was
applied in the base feed's currency.
The manifest below materializes the Business's Canadian French catalog
restricted to footwear. It declares both dev.ucp.common.feed and
dev.ucp.shopping.catalog.feed, and the latter is what defines filters:
{
"ucp": {
"version": "draft",
"capabilities": {
"dev.ucp.common.feed": [
{"version": "draft"}
],
"dev.ucp.shopping.catalog.feed": [
{"version": "draft", "extends": "dev.ucp.common.feed"}
]
}
},
"id": "ca-fr-cad",
"format": "dev.ucp.shopping.catalog.jsonl",
"context": {
"address_country": "CA",
"language": "fr-CA",
"currency": "CAD"
},
"filters": {
"categories": ["Footwear"]
},
"generated_at": "2026-09-22T06:10:00Z",
"expires_at": "2026-09-29T06:10:00Z",
"files": [
{
"url": "part-00000.jsonl.gz",
"digest": "sha-256=:X48E9qOokqqrvdts8nOJRJN3OWDUoyWxBf7kbu9DBPE=:"
}
]
}
Supplemental Feeds¶
In a supplemental feed over a
catalog feed, Product satisfies the record-type requirements for supplemental
feeds. A Product's id and each Variant's id are stable, Business-owned
Product and Variant identifiers, with the same bindings as in
Records when the corresponding live operations are advertised:
Catalog Lookup resolves them to the same entities, and Cart and Checkout
accept Variant identifiers as item.id. The variants list is the identified
list. A supplemental record matches a Product by id and each of its variants
by id.
Every other member is replaced whole: a supplement that carries a variant's
price carries amount and currency; one that carries availability
carries the whole object.
Example: Per-Market Prices as a Supplemental Feed¶
A Business sells in the United States and Canada. Titles, descriptions, and
media are shared between the two markets; only prices differ, and they change
faster than the catalog does. Rather than materialize a second full feed for
Canada, the Business publishes ca-en-cad as a supplemental feed extending
us-en-usd. The base refreshes daily as Parquet; the supplement, which
carries only prices, refreshes hourly as gzipped JSON Lines:
{
"ucp": {
"version": "draft",
"capabilities": {
"dev.ucp.common.feed": [
{"version": "draft"}
]
}
},
"feeds": [
{
"id": "us-en-usd",
"context": {
"address_country": "US",
"language": "en-US",
"currency": "USD"
},
"format": "dev.ucp.shopping.catalog.parquet",
"interval": "P1D",
"generated_at": "2026-09-22T06:00:00Z",
"manifest": "https://merchant.example.com/feeds/us-en-usd/20260922T060000Z/manifest.json"
},
{
"id": "ca-en-cad",
"extends": "us-en-usd",
"context": {
"address_country": "CA",
"language": "en-CA",
"currency": "CAD"
},
"format": "dev.ucp.shopping.catalog.jsonl",
"interval": "PT1H",
"generated_at": "2026-09-22T10:00:00Z",
"manifest": "https://merchant.example.com/feeds/ca-en-cad/20260922T100000Z/manifest.json"
}
]
}
The supplemental manifest repeats extends, context, and
format, and declares the record type of its base feed:
{
"ucp": {
"version": "draft",
"capabilities": {
"dev.ucp.common.feed": [
{"version": "draft"}
],
"dev.ucp.shopping.catalog.feed": [
{"version": "draft", "extends": "dev.ucp.common.feed"}
]
}
},
"id": "ca-en-cad",
"extends": "us-en-usd",
"format": "dev.ucp.shopping.catalog.jsonl",
"context": {
"address_country": "CA",
"language": "en-CA",
"currency": "CAD"
},
"generated_at": "2026-09-22T10:00:00Z",
"expires_at": "2026-09-23T10:00:00Z",
"files": [
{
"url": "part-00000.jsonl.gz",
"digest": "sha-256=:AvfSa2lpX4dC8ex6Favv/LqBMclrorhzofoWCswgQ/w=:"
}
]
}
Records are partial Products: each carries its id, its price_range, and,
for each of its variants, the variant's id and price, every amount in CAD
minor units:
{"id": "P100", "price_range": {"min": {"amount": 15900, "currency": "CAD"}, "max": {"amount": 16900, "currency": "CAD"}}, "variants": [{"id": "V200", "price": {"amount": 15900, "currency": "CAD"}}, {"id": "V201", "price": {"amount": 16900, "currency": "CAD"}}]}
{"id": "P101", "price_range": {"min": {"amount": 7900, "currency": "CAD"}, "max": {"amount": 7900, "currency": "CAD"}}, "variants": [{"id": "V210", "price": {"amount": 7900, "currency": "CAD"}}]}
A Platform building the Canadian feed takes us-en-usd and applies each
supplemental record to the Product with the same id, and each supplemental
variant to the Variant with the same id, so titles, descriptions, and
availability carry over unchanged. The Business restates price_range
because it depends on the variant prices the supplement changes; that is the
general obligation that a composed record be correct for its context. If a
changed price makes an existing Variant unit_price invalid, the Business
also restates it in the supplement, even when the currency is unchanged. The
Platform does not recalculate unit_price. The base stays one set of files
for both markets.
The interval values express independent publication cadences: P1D for the
daily base feed and PT1H for the hourly pricing supplement. A Business can
update faster-changing prices independently of slower-changing titles,
descriptions, and media, allowing a Platform to refresh prices without the
Business republishing unchanged base files. The same pattern applies when
both feeds share the same context; it is not limited to feeds representing
different markets.
Example: Platform-Specific Fields as a Supplemental Feed¶
A Business publishes one base feed of catalog Products for every Platform. One
Platform, a marketplace, defines an extension
com.example.marketplace.compliance whose fields are the trade-compliance
facts it needs for United States listings and no other Platform asks for:
country of origin, Harmonized Tariff Schedule code, and whether a California
Proposition 65 warning applies. Rather than add those fields to the base feed,
the Business advertises the extension in its profile and publishes a
supplemental feed that carries only the identifier of each base Product and
the extension's fields. The base feed stays portable, the two refresh on their
own cadences, and who sees the supplement is the Business's choice: here it is
provisioned only to the marketplace's identity; a supplement whose extension
many Platforms consume could as well be listed publicly.
The Business's profile advertises the extension beside the two feed entries;
the extension extends dev.ucp.shopping.catalog.feed, and its schema, on the
marketplace's own domain, defines the fields the supplemental records carry:
{
"ucp": {
"version": "draft",
"services": {
"dev.ucp.shopping": [
{
"version": "draft",
"spec": "https://ucp.dev/draft/specification/overview",
"transport": "rest",
"schema": "https://ucp.dev/draft/services/shopping/rest.openapi.json",
"endpoint": "https://business.example.com/ucp"
}
]
},
"capabilities": {
"dev.ucp.common.feed": [{
"version": "draft",
"spec": "https://ucp.dev/draft/specification/common/feed",
"schema": "https://ucp.dev/draft/schemas/common/feed.json",
"config": {
"endpoint": "https://merchant.example.com/ucp/feeds"
}
}],
"dev.ucp.shopping.catalog.feed": [{
"version": "draft",
"extends": "dev.ucp.common.feed",
"spec": "https://ucp.dev/draft/specification/shopping/catalog/feed",
"schema": "https://ucp.dev/draft/schemas/shopping/catalog_feed.json"
}],
"com.example.marketplace.compliance": [{
"version": "2026-06-01",
"extends": "dev.ucp.shopping.catalog.feed",
"spec": "https://marketplace.example.com/ucp/compliance",
"schema": "https://marketplace.example.com/ucp/compliance.json"
}]
},
"payment_handlers": {}
}
}
Feed list as provisioned to the marketplace in this example:
{
"ucp": {
"version": "draft",
"capabilities": {
"dev.ucp.common.feed": [
{"version": "draft"}
]
}
},
"feeds": [
{
"id": "us-en-usd",
"context": {
"address_country": "US",
"language": "en-US",
"currency": "USD"
},
"format": "dev.ucp.shopping.catalog.jsonl",
"interval": "P1D",
"generated_at": "2026-09-22T06:00:00Z",
"manifest": "https://merchant.example.com/feeds/us-en-usd/20260922T060000Z/manifest.json"
},
{
"id": "us-en-usd-compliance",
"extends": "us-en-usd",
"context": {
"address_country": "US",
"language": "en-US",
"currency": "USD"
},
"format": "dev.ucp.shopping.catalog.jsonl",
"interval": "P7D",
"generated_at": "2026-09-21T00:00:00Z",
"manifest": "https://merchant.example.com/feeds/us-en-usd-compliance/3f9c2a7e-5b41-4d8e-9c0a-1e6f7b2d8a54/manifest.json"
}
]
}
The supplemental manifest repeats extends and declares the
record type of its base feed and the extension whose schema its records
follow:
{
"ucp": {
"version": "draft",
"capabilities": {
"dev.ucp.common.feed": [
{"version": "draft"}
],
"dev.ucp.shopping.catalog.feed": [
{"version": "draft", "extends": "dev.ucp.common.feed"}
],
"com.example.marketplace.compliance": [
{"version": "2026-06-01", "extends": "dev.ucp.shopping.catalog.feed"}
]
}
},
"id": "us-en-usd-compliance",
"extends": "us-en-usd",
"format": "dev.ucp.shopping.catalog.jsonl",
"context": {
"address_country": "US",
"language": "en-US",
"currency": "USD"
},
"generated_at": "2026-09-21T00:00:00Z",
"expires_at": "2026-10-05T00:00:00Z",
"files": [
{
"url": "part-00000.jsonl.gz",
"digest": "sha-256=:kP3xg2v7R6Yq1uHt9cLm4nBw8sDf0aJe5oZi2yXr7Vc=:"
}
]
}
Records are partial Products carrying the fields
com.example.marketplace.compliance defines; each is applied to the base
Product with the same id:
{"id": "P100", "country_of_origin": "VN", "hts_code": "6404.11.90", "prop65_warning": false}
{"id": "P101", "country_of_origin": "PT", "hts_code": "6115.95.90", "prop65_warning": false}
The Platform applies each supplemental record to the base Product whose id
equals its own. A record that matches nothing in its copy of the base is
ignored; a base Product with no supplemental record carries no
com.example.marketplace.compliance fields. Had the Business preferred, it
could have declared the extension on the base manifest and carried the fields
inline; the supplemental form suits fields that are heavy, managed on a
different cadence, or provisioned to a subset of callers.
Example: One Supplemental Feed over Several Base Feeds¶
A Business sells in the United States and the United Kingdom from two
standalone feeds. Titles, descriptions, and prices differ between the two
markets; product media does not. Rather than repeat the media in both feeds,
the Business publishes it once, as a supplemental feed that names both base
feeds and carries an empty context:
{
"ucp": {
"version": "draft",
"capabilities": {
"dev.ucp.common.feed": [
{"version": "draft"}
]
}
},
"feeds": [
{
"id": "us-en-usd",
"context": {
"address_country": "US",
"language": "en-US",
"currency": "USD"
},
"format": "dev.ucp.shopping.catalog.parquet",
"interval": "P1D",
"generated_at": "2026-09-22T06:00:00Z",
"manifest": "https://merchant.example.com/feeds/us-en-usd/20260922T060000Z/manifest.json"
},
{
"id": "gb-en-gbp",
"context": {
"address_country": "GB",
"language": "en-GB",
"currency": "GBP"
},
"format": "dev.ucp.shopping.catalog.parquet",
"interval": "P1D",
"generated_at": "2026-09-22T06:05:00Z",
"manifest": "https://merchant.example.com/feeds/gb-en-gbp/20260922T060500Z/manifest.json"
},
{
"id": "shared-media",
"extends": ["us-en-usd", "gb-en-gbp"],
"context": {},
"format": "dev.ucp.shopping.catalog.jsonl",
"interval": "P7D",
"generated_at": "2026-09-21T02:00:00Z",
"manifest": "https://merchant.example.com/feeds/shared-media/20260921T020000Z/manifest.json"
}
]
}
Each supplemental record carries a Product's id and its media. The empty
context fits both base feeds, so a Platform applies the records to each
feed in place, and neither feed's market changes. media is not an
identified list, so a record's media replaces the base Product's whole. A
record for a Product that only one base feed carries is ignored for the
other.