com.publicdomainrelay.temp.market.receipts.free
Schema Diff
+13 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "com.publicdomainrelay.temp.market.receipts.free:body.cid" }
- AddedVertex AddedVertex { vertex_id: "com.publicdomainrelay.temp.market.receipts.free:body.signatures" }
- AddedEdge AddedEdge { src: "com.publicdomainrelay.temp.market.receipts.free:body", tgt: "com.publicdomainrelay.temp.market.receipts.free:body.cid", kind: "prop", name: Some("cid") }
- AddedEdge AddedEdge { src: "com.publicdomainrelay.temp.market.receipts.free:body", tgt: "com.publicdomainrelay.temp.market.receipts.free:body.signatures", kind: "prop", name: Some("signatures") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.publicdomainrelay.temp.market.receipts.free:body.cid" }AddedVertex { vertex_id: "com.publicdomainrelay.temp.market.receipts.free:body.signatures" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.publicdomainrelay.temp.market.receipts.free:body", tgt: "com.publicdomainrelay.temp.market.receipts.free:body.cid", kind: "prop", name: Some("cid") }
- Non-breaking: AddedEdge { src: "com.publicdomainrelay.temp.market.receipts.free:body", tgt: "com.publicdomainrelay.temp.market.receipts.free:body.signatures", kind: "prop", name: Some("signatures") }
1
1
{
2
2
"id": "com.publicdomainrelay.temp.market.receipts.free",
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
-
"accept"
10
+
"accept",
11
+
"cid",
12
+
"signatures"
11
13
],
12
14
"properties": {
15
+
"cid": {
16
+
"type": "string",
17
+
"format": "cid",
18
+
"description": "badge.blue attestation CID over the referenced accepts.free record, making this receipt a remote attestation proof: computed from the accepts.free record (signatures stripped), this receipt's metadata (cid/signatures stripped, repository = requester's repo DID added) as $sig, via DAG-CBOR + SHA-256 + CIDv1. Re-binding the grant to a copy of the accepts.free in another repository fails verification."
19
+
},
13
20
"accept": {
14
21
"ref": "com.atproto.repo.strongRef",
15
22
"type": "ref",
16
23
"description": "Strong reference to the com.publicdomainrelay.temp.market.accepts.free record that this grant settles."
24
+
},
25
+
"signatures": {
26
+
"ref": "network.attested.signature#signatures",
27
+
"type": "ref",
28
+
"description": "badge.blue attestations over this receipt. Must include the bidder's inline signature, attached at creation, so the grant is non-repudiable."
17
29
}
18
30
}
19
31
},
20
32
"description": "Proof-of-grant receipt minted by the bidder in response to a GET against the bids.free url. No payment is involved; the receipt is the bidder's verifiable record that it agreed to provide the resource for free. Returned (by AT-URI + CID) to the requester, which uses it as the payload of the higher-level com.publicdomainrelay.temp.market.accept so the bidder can verify the grant before provisioning. The free counterpart of com.publicdomainrelay.temp.market.receipts.x402."
21
33
}
22
34
},
23
35
"$type": "com.atproto.lexicon.schema",
24
36
"lexicon": 1
25
37
}