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

johnandersen777.bsky.social/atlibs-socialweb-computer-requester

socialweb.computer market requester and policy modules for atlibs, with its web pages and lexicons

0
0
43 lines · 1.7 KB Raw History
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.market.submitRfp",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Submit an RFP directly to a bidder whose offering record matches the RFP payload NSID. The bidder creates a bid and optionally calls submitBid back to the RFP issuer. 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 RFP record. The receiver additionally verifies the RFP'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 — the same durable, replayable check applied to RFPs discovered via the firehose, where no service-auth JWT exists.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["rfpUri", "rfpCid"],
          "properties": {
            "rfpUri": {
              "type": "string",
              "description": "AT-URI of the RFP record."
            },
            "rfpCid": {
              "type": "string",
              "description": "CID of the RFP record."
            }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["ok"],
          "properties": {
            "ok": { "type": "boolean" },
            "bidUri": { "type": "string" },
            "bidCid": { "type": "string" }
          }
        }
      },
      "errors": [
        { "name": "InvalidRequest" },
        { "name": "NotApplicable" }
      ]
    }
  }
}