docs(conformance): add Nevermined payment example catalog - #86
Open
aaitor wants to merge 1 commit into
Open
Conversation
A small conformant ARD catalog under conformance/examples/nevermined/ demonstrating payment signaling on entries: x402 pay-per-call in USDC on Base, off-chain card settlement, and a free agent (payment optional). Passes the official conformance tool with 0 errors. Companion to the entry-level payment-signaling discussion in ards-project#20.
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.
Why this matters
Payment / monetization signaling on ARD entries is an open question (#20). This adds a small, worked, conformant example so the discussion has something concrete to point at: how a publisher can carry pay-per-call terms on an entry as additive JSON-LD extension terms (§3.4), keeping them filterable (§5.3.1) with no change to the ARD entry model or conformance.
What this adds
conformance/examples/nevermined/nevermined-catalog.json— 3 curated entries:eip155:8453), with a pre-constructacceptshint and aschema:Offerprice mirror.stripe), price / currency / network only.Payment terms use a
pay:extension namespace bound in each entry's@context; the free entry shows the mechanism is opt-in. The scalar terms (pay:protocol/pay:price/pay:currency/pay:network) are the intended filter dimensions;pay:acceptsis an advisory, x402-scoped pre-construct hint (the live402stays authoritative).Conformance
Passes the official tool with strict JSON-Schema checking (
pip install jsonschema), 0 errors / 0 warnings:Notes
pay:vocabulary shape is offered for discussion on Spec proposal: access and monetization signaling in ARD entries #20, not as a normative claim; the example validates regardless, because these are additive extension terms (§3.4,additionalProperties: true)./.well-known/ard.jsoncarrying equivalent terms today (nevermined-io/nvm-monorepo#3079).