com.publicdomainrelay.temp.market.bids.x402
Schema Diff
+8 -2
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "com.publicdomainrelay.temp.market.bids.x402:body.signatures" }
- AddedEdge AddedEdge { src: "com.publicdomainrelay.temp.market.bids.x402:body", tgt: "com.publicdomainrelay.temp.market.bids.x402:body.signatures", kind: "prop", name: Some("signatures") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.publicdomainrelay.temp.market.bids.x402:body.signatures" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.publicdomainrelay.temp.market.bids.x402:body", tgt: "com.publicdomainrelay.temp.market.bids.x402:body.signatures", kind: "prop", name: Some("signatures") }
1
1
{
2
2
"id": "com.publicdomainrelay.temp.market.bids.x402",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"cost",
11
11
"currency",
12
12
"frequency",
13
13
"prepay",
14
-
"url"
14
+
"url",
15
+
"signatures"
15
16
],
16
17
"properties": {
17
18
"url": {
18
19
"type": "string",
19
-
"description": "x402 payment URL template (may contain {at} and {cid} placeholders for the com.publicdomainrelay.temp.market.accept AT URI/CID)."
20
+
"description": "x402 payment endpoint URL. To settle payment the requester first mints a com.publicdomainrelay.temp.market.accepts.x402 record, then issues an x402-gated GET to `{url}/{accepts.x402 AT-URI}/{accepts.x402 CID}`; on payment the bidder mints and returns a com.publicdomainrelay.temp.market.receipts.x402 proof-of-payment record. That receipt is then used as the payload of the higher-level com.publicdomainrelay.temp.market.accept."
20
21
},
21
22
"cost": {
22
23
"type": "unknown",
23
24
"description": "Numeric price (integer or float) per the chosen frequency."
24
25
},
25
26
"prepay": {
26
27
"type": "boolean",
27
28
"description": "Whether payment is required before compute starts."
28
29
},
29
30
"currency": {
30
31
"type": "string",
31
32
"description": "Currency code, e.g. 'USDC'."
32
33
},
33
34
"frequency": {
34
35
"type": "string",
35
36
"description": "Billing frequency, e.g. 'monthly', 'hourly', 'one-time'."
37
+
},
38
+
"signatures": {
39
+
"ref": "network.attested.signature#signatures",
40
+
"type": "ref",
41
+
"description": "badge.blue attestations over these payment terms. Must include the bidder's inline signature, attached at creation, so the advertised price and payment endpoint are non-repudiable."
36
42
}
37
43
}
38
44
},
39
45
"description": "Includes pricing/payment terms and x402 endpoint for issuing a receipt against an accept."
40
46
}
41
47
},
42
48
"$type": "com.atproto.lexicon.schema",
43
49
"lexicon": 1
44
50
}