Add local-business storefront catalog example (SMB as an agentic resource)#60
Open
jrajaratnam wants to merge 1 commit into
Open
Add local-business storefront catalog example (SMB as an agentic resource)#60jrajaratnam wants to merge 1 commit into
jrajaratnam wants to merge 1 commit into
Conversation
Author
|
Cross-referencing the two open issues this example touches:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
conformance/examples/local-business/local-business-catalog.json— a workedai-catalog.jsonfor a fictional small local business (a plumbing company at theRFC 2606 domain
bobs-plumbing.example), following the pattern established by theFDA Drug NDC Directory example (#46).
Why a local-business example
The existing examples cover an enterprise API (FDA, #46) and generic/basic
catalogs. The long tail of agentic resources is neither: it's the millions of
small businesses whose "agent surface" is a conversational assistant plus a
handful of storefront tools (availability, quotes, hours). This example shows
what publishing that surface looks like end to end:
application/a2a-agent-card+jsonentry (conversational agent, referenced via
urlat the registered/.well-known/agent-card.jsonpath) and anapplication/mcp-server-card+jsonentry (structured storefront tools, embedded via
data) — exercising bothhalves of strict value-or-reference (§3.4).
trustManifestwhose attestations are the localequivalents of enterprise compliance: a state contractor license lookup and a
liability-insurance certificate (attestation
typetreated as an open set,as in Add FDA Drug NDC Directory API catalog example #46).
schemaOrgType, address,telephone, service area, opening hours — the filter dimensions a registry
needs for "find me a plumber open now near Minneapolis"-class queries.
bobs-plumbing.exampleper ADR-0003.Conformance
Passes
conformance/bin/conformance-test manifestwith strict JSON Schemavalidation enabled (0 errors, 0 warnings): URN format, value-or-reference, and
representativeQueries sizing all green.
Note on
type+mediaTypeEach entry emits the IANA media type under both
typeandmediaType,with identical values. The base ai-catalog spec and this spec's examples have
not fully converged on one property name (see #43 and #27, both of which emit
the pair for cross-spec compatibility). The schema tolerates the extra
property, and publishers like us are already dual-emitting in production so
consumers of either spelling can parse the catalogs. Happy to collapse this
example to a single field the moment the WG settles the canonical name — which
would be great to see happen before the 1.0 media-type freeze.