com.publicdomainrelay.temp.market.submitAccept
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"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.",
5
+
"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.",
6
6
"errors": [
7
7
{
8
8
"name": "InvalidRequest"
9
9
},
10
10
{
11
11
"name": "Forbidden"
12
12
}
13
13
],
14
14
"input": {
15
15
"encoding": "application/json",
16
16
"schema": {
17
17
"properties": {
18
18
"acceptCid": {
19
19
"description": "CID of the accept record.",
20
20
"type": "string"
21
21
},
22
22
"acceptUri": {
23
23
"description": "AT-URI of the accept record.",
24
24
"type": "string"
25
25
}
26
26
},
27
27
"required": [
28
28
"acceptUri",
29
29
"acceptCid"
30
30
],
31
31
"type": "object"
32
32
}
33
33
},
34
34
"output": {
35
35
"encoding": "application/json",
36
36
"schema": {
37
37
"properties": {
38
38
"cid": {
39
39
"description": "CID of the newly minted receipt record.",
40
40
"type": "string"
41
41
},
42
42
"id": {
43
43
"description": "Record key (rkey) of the newly minted receipt.",
44
44
"type": "string"
45
45
},
46
46
"submitEvent": {
47
47
"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.",
48
48
"type": "string"
49
49
},
50
50
"uri": {
51
51
"description": "AT-URI of the newly minted receipt record.",
52
52
"type": "string"
53
53
}
54
54
},
55
55
"required": [
56
56
"id",
57
57
"uri",
58
58
"cid",
59
59
"submitEvent"
60
60
],
61
61
"type": "object"
62
62
}
63
63
},
64
64
"type": "procedure"
65
65
}
66
66
},
67
67
"id": "com.publicdomainrelay.temp.market.submitAccept",
68
68
"lexicon": 1
69
69
}