~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
27 lines · 1.8 KB Raw History
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.market.receipt",
  "description": "The bidder's receipt for an accept. cid binds the receipt to the accept record in the requester's repository.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": ["rfp", "bid", "accept", "cid", "signatures"],
        "nullable": ["payload"],
        "properties": {
          "rfp": { "type": "ref", "ref": "com.atproto.repo.strongRef", "description": "The market.rfp." },
          "bid": { "type": "ref", "ref": "com.atproto.repo.strongRef", "description": "The market.bid." },
          "accept": { "type": "ref", "ref": "com.atproto.repo.strongRef", "description": "The market.accept this receipt answers." },
          "payload": { "type": "ref", "ref": "com.atproto.repo.strongRef", "description": "The payload of the RFP this receipt answers (its compute.vm); null only when the writer has none, which the bidder never writes." },
          "submitEvent": { "type": "string", "description": "The accept's submitEvent copied unchanged, where the bidder submits events to the requester (a DID service ref did#serviceId or an HTTP URL); present only when the bidder serves inbound XRPC." },
          "ingress": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "description": "The bidder's com.publicdomainrelay.temp.ingress.webRTC listen records for this contract; the bidder writes none today." },
          "cid": { "type": "string", "format": "cid", "description": "The attestation CID binding this receipt to the accept record and the accept repository." },
          "createdAt": { "type": "string", "format": "datetime" },
          "signatures": { "type": "ref", "ref": "network.attested.signature#signatures" }
        }
      }
    }
  }
}