Learn from practical ODP examples
How to use these examples
Choose the closest scenario
Inspect the example
Adapt the model, not the identifiers
These examples illustrate design decisions; they do not add requirements to ODP or define ODP profiles. One Service can combine protected discovery, physical goods, subscriptions, custom attributes, and large-catalog navigation when those features apply. The groups on this page help readers navigate the examples; they do not define exclusive kinds of Service.
Establish the foundation
Use Minimum Service to see the two required public operations with representative responses. Use Protected discovery to see how advertised authentication and live access or payment challenges affect requests to catalog operations.
| Example | What it teaches |
|---|---|
| Minimum Service | A complete example of the required public operations: a Service Document that advertises list-offerings and get-offering, one Offering page, and one Full Offering. |
| Protected discovery | How a Service advertises AEP enrollment, authentication requirements, and payment support, and how live HTTP 401 or 402 responses tell the Agent what it must do before retrying a catalog operation. |
Add a commerce pattern
These examples show how ODP describes free downloads, recurring plans, and physical goods. A single Service can publish Offerings that use more than one of these patterns.
| Example | Start here when | Main decisions demonstrated |
|---|---|---|
| Free digital Offering | You need to describe a downloadable file whose Offering advertises a free Price Preview and a download operation. | An explicit free Price Preview, metadata for PDF and Markdown representations, and a compact Action that requires no authentication and advertises a PDF response. |
| Digital subscription | You need to make a recurring plan discoverable while another system manages the subscription. | A fixed annual Price Preview advertises the plan amount, and an OpenAPI quote Action identifies the operation used to request current terms. The subscription system handles account creation, billing, payment, renewal, cancellation, and entitlement enforcement. |
| Physical retail | Agents need to discover a physical good and request current commercial terms before checkout. | Each independently purchasable variant is a separate Offering with its own images, typed attributes, and fixed Price Preview. A protected quote Action identifies where to request current terms; the retailer's systems handle checkout and fulfillment. |
Apply ODP to specialized scenarios
Use these examples to see how a Service describes domain-specific attributes, metered capacity, or navigation through a large catalog.
| Example | Start here when | Main decisions demonstrated |
|---|---|---|
| Flight itinerary | Offerings contain travel-specific fields that ODP does not define. | Nested travel attributes, a starting_at Price Preview, and an OpenAPI-described quote Action. |
| GPU rental | The Service offers metered infrastructure capacity whose availability and price must be confirmed before use. | Capacity attributes, a metered Price Preview, request configuration, and a protected quote Action. |
| Marketplace-scale catalog | A marketplace brand needs scalable discovery across a combined catalog containing listings from multiple independent sellers. | Collections, contextual search and filters, pagination, refinements, Terse and Full Offerings, and a Service-owned Attribute Schema. |
Documentation and artifacts
Each documentation example explains the modeling decisions and how its resources connect. The generated example catalog provides the corresponding standalone JSON documents for inspection and implementation reference.
- Example documentation: choose a scenario on this page when you need to understand its design and resource relationships
- Generated example files: open the concise artifact catalog when you need standalone JSON documents
- Validator and conformance: check a deployed Service or see which ODP requirements the conformance suite tests
Next steps
Review the minimum example
Review the Service Document and representative responses for the two required operations before adding Collections, search, prices, attributes, schemas, or Actions.
Minimum ServiceDesign your implementation
Connect ODP resources and operations to an existing application.
Build a Service