1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"lexicon": 1,
"id": "com.publicdomainrelay.temp.market.submitEvent",
"defs": {
"main": {
"type": "procedure",
"description": "A contract party submits a market.event it wrote to the other party. Requires a service-auth JWT with lxm set to this NSID; the sender is the token issuer and must be the accept author (to a bidder) or the receipt author (to a requester).",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["uri", "cid", "record"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "The market.event record." },
"cid": { "type": "string", "format": "cid" },
"record": { "type": "ref", "ref": "com.publicdomainrelay.temp.market.event", "description": "The market.event record value." },
"ingress": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "description": "The sender's com.publicdomainrelay.temp.ingress.webRTC listen records for this call." }
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["ok"],
"properties": {
"ok": { "type": "boolean" },
"ingress": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "description": "The receiver's com.publicdomainrelay.temp.ingress.webRTC listen records for this call." }
}
}
},
"errors": [
{ "name": "InvalidRequest" },
{ "name": "Unauthorized" },
{ "name": "Forbidden" },
{ "name": "Unavailable" }
]
}
}
}