socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.market.rfp

record key any

A request for proposals: the requester asks bidders to bid on the payload.

record

fieldtypedescription
domainstring
The market domain of the payload; the requester writes compute.
payload *com.atproto.repo.strongRef
The requested thing, a record in the requester's repo; the requester writes a com.publicdomainrelay.temp.compute.vm.
submitBidstring
Where bidders submit bids: a DID service ref (did#serviceId) or an HTTP URL.
ingressarray of com.atproto.repo.strongRef
The requester's com.publicdomainrelay.temp.ingress.webRTC listen records: the transports a stream listener can use when submitBid names no reachable HTTP service.
policiesarray of com.atproto.repo.strongRef
Policy records the bidder evaluates before it bids.
createdAtstring datetime
signatures *network.attested.signature#signatures

used in

Compute Contract Flow - Complete Architecture Map, identity: signatures, key claims, associations, sign-in, protocol: the atproto protocol of socialweb-computer, lexicons-market: one row per lexicon, market: the RFP flow, policy: policy records, attached policies, tangled-vouch, Compute is easier to trust when you can read the receipt., The protocol spec, From zero to a signed contract, Four signed hops, one verifiable contract.

raw schema: lexicons/com/publicdomainrelay/temp/market/rfp.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.market.rfp",
  "description": "A request for proposals: the requester asks bidders to bid on the payload.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "payload",
          "signatures"
        ],
        "properties": {
          "domain": {
            "type": "string",
            "description": "The market domain of the payload; the requester writes compute."
          },
          "payload": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "The requested thing, a record in the requester's repo; the requester writes a com.publicdomainrelay.temp.compute.vm."
          },
          "submitBid": {
            "type": "string",
            "description": "Where bidders submit bids: a DID service ref (did#serviceId) or an HTTP URL."
          },
          "ingress": {
            "type": "array",
            "items": {
              "type": "ref",
              "ref": "com.atproto.repo.strongRef"
            },
            "description": "The requester's com.publicdomainrelay.temp.ingress.webRTC listen records: the transports a stream listener can use when submitBid names no reachable HTTP service."
          },
          "policies": {
            "type": "array",
            "description": "Policy records the bidder evaluates before it bids.",
            "items": {
              "type": "ref",
              "ref": "com.atproto.repo.strongRef"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "signatures": {
            "type": "ref",
            "ref": "network.attested.signature#signatures"
          }
        }
      }
    }
  }
}