Physical Retail Example
A descriptive, non-normative ODP example.
All examplesThis example shows how a retailer can describe a physical good without turning ODP into an order, tax, inventory, or fulfillment protocol.
travel-mug-offering.json represents one independently actionable variant: a 20-ounce blue travel mug. Its Service-local id belongs to that exact variant, so an agent does not need a second protocol-specific option-selection step before requesting a quote. Other colors or sizes would be separate Offerings when they can be purchased independently.
The Price Preview is the advertised item price. The quote action determines current tax, shipping, pickup, inventory, and final price for the buyer’s circumstances. ODP does not calculate or settle those values.
physical-retail-attributes.schema.json explains the Service-owned attributes:
-
sku,brand,color, andcapacity_mldistinguish and compare the variant; -
tax_classificationis the retailer’s input to its own tax process, not an ODP tax rule; -
inventoryreports a regional snapshot and the time at which it was observed; and -
fulfillmentadvertises whether shipping and pickup may be requested, without promising that a particular address or store can fulfill the order.
The schema is descriptive and non-normative. Another retailer can use a different attribute model and publish its own JSON Schema.