~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
27 lines · 1.3 KB Raw History
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.market.offering",
  "description": "A bidder announces the payload collections it bids on and where it takes RFPs. Writers use rkey self; readers read self and the record the bidder's heartbeat names.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": ["appliesTo", "createdAt"],
        "properties": {
          "endpointUrl": { "type": "string", "description": "Where requesters submit RFPs: a DID service ref (did#serviceId) or an HTTP URL." },
          "ingress": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "description": "The bidder's com.publicdomainrelay.temp.ingress.webRTC listen records, including the STUN servers it gathers with." },
          "appliesTo": {
            "type": "array",
            "description": "The payload collections the bidder bids on.",
            "items": { "type": "string", "format": "nsid" }
          },
          "createdAt": { "type": "string", "format": "datetime" },
          "refreshedAt": { "type": "string", "format": "datetime" },
          "withdrawnAt": { "type": "string", "format": "datetime", "description": "Set when the bidder stopped taking RFPs; appliesTo is empty then." }
        }
      }
    }
  }
}