com.publicdomainrelay.temp.market.submitAccept
Schema Diff
+2 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "com.publicdomainrelay.temp.market.submitAccept",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"acceptUri",
11
11
"acceptCid"
12
12
],
13
13
"properties": {
14
14
"acceptCid": {
15
15
"type": "string",
16
16
"description": "CID of the accept record."
17
17
},
18
18
"acceptUri": {
19
19
"type": "string",
20
20
"description": "AT-URI of the accept record."
21
21
}
22
22
}
23
23
},
24
24
"encoding": "application/json"
25
25
},
26
26
"errors": [
27
27
{
28
28
"name": "InvalidRequest"
29
29
},
30
30
{
31
31
"name": "Forbidden"
32
32
}
33
33
],
34
34
"output": {
35
35
"schema": {
36
36
"type": "object",
37
37
"required": [
38
38
"id",
39
39
"uri",
40
40
"cid",
41
41
"submitEvent"
42
42
],
43
43
"properties": {
44
44
"id": {
45
45
"type": "string",
46
46
"description": "Record key (rkey) of the newly minted receipt."
47
47
},
48
48
"cid": {
49
49
"type": "string",
50
50
"description": "CID of the newly minted receipt record."
51
51
},
52
52
"uri": {
53
53
"type": "string",
54
54
"description": "AT-URI of the newly minted receipt record."
55
55
},
56
56
"submitEvent": {
57
57
"type": "string",
58
-
"description": "Service DID reference (did:web:HOST#pdr_market) of the bidder's market service, scoped to this receipt's strongRef. The requester calls com.publicdomainrelay.temp.market.submitEvent via PDS service-proxying using this value as the atproto-proxy target."
58
+
"description": "Service DID reference (did:web:HOST#compute_event) of the bidder's compute-event service, scoped to this receipt's strongRef. The requester calls com.publicdomainrelay.temp.market.submitEvent via PDS service-proxying using this value as the atproto-proxy target."
59
59
}
60
60
}
61
61
},
62
62
"encoding": "application/json"
63
63
},
64
-
"description": "Submit the AT-URI and CID of an accept record directly to the bidder named in the winning bid's payload, settling the contract: the bidder resolves accept->bid->rfp->vm, provisions the resource, mints a market.receipt record, and returns a strong reference to it plus its submitEvent service DID reference. Must be called via PDS service-proxying (atproto-proxy); the receiver verifies the inter-service auth JWT and requires its issuer to be the DID that authored the referenced accept record."
64
+
"description": "Submit the AT-URI and CID of an accept record directly to the bidder named in the winning bid's payload, settling the contract: the bidder resolves accept->bid->rfp->vm, provisions the resource, mints a market.receipt record, and returns a strong reference to it plus its submitEvent service DID reference. Must be called via PDS service-proxying (atproto-proxy); the receiver verifies the inter-service auth JWT and requires its issuer to be the DID that authored the referenced accept record. The receiver additionally verifies badge.blue attestations (network.attested.signature) across the contract graph: the accept's inline signature, the bid's and RFP's inline signatures, and the accept payload's remote-attestation binding (receipts.* cid) before provisioning."
65
65
}
66
66
},
67
67
"$type": "com.atproto.lexicon.schema",
68
68
"lexicon": 1
69
69
}