johnandersen777.bsky.social/atlibs-socialweb-computer-requester
socialweb.computer market requester and policy modules for atlibs, with its web pages and lexicons
0
0
{
"lexicon": 1,
"id": "com.publicdomainrelay.temp.market.submitEvent",
"defs": {
"main": {
"type": "procedure",
"description": "Submit the AT-URI and CID of an event record directly to the counterparty, bypassing the firehose. Used when the accept or receipt includes a submitEvent service DID reference — e.g. so a requester can tell a bidder to delete a VM whose workflow finished, or whose policy engine never came up, since the bidder treats the VM as a black box. 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 event record. The receiver additionally verifies the event's badge.blue attestations (network.attested.signature): at least one inline signature must verify against the attestation CID recomputed for the record in its authoring repository, making lifecycle claims about provider-opaque resources non-repudiable.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["uri", "cid", "record"],
"properties": {
"uri": {
"type": "string",
"description": "AT-URI of the event record."
},
"cid": {
"type": "string",
"description": "CID of the event record."
},
"record": {
"type": "ref",
"ref": "com.publicdomainrelay.temp.market.event",
"description": "The event record itself, including a strong reference to the receipt it pertains to."
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["ok"],
"properties": {
"ok": {
"type": "boolean"
}
}
}
},
"errors": [
{ "name": "InvalidRequest" }
]
}
}
}