socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.market.associationRequest

record key any

The repository that holds this record asks the principal to endorse and grant it for one contract: the proof that the subject DID of a com.publicdomainrelay.temp.compute.events.guest.requesterDid event controls this repository. Record key: the principal DID.

record

fieldtypedescription
principal *string did
The DID asked to write the endorsement and the grant.
contract *string at-uri
The principal's market.accept of the contract whose guest runs this repository's requester.
nonce *string
The nonce the principal put into that contract's secrets bundle.
maxLength 128
accountsarray of string did
The DIDs of the co-located accounts this repository's requester created for the contract, each with the principal's rotation key first, so the principal can tombstone them when the guest is gone.
maxLength 16 items.format did
createdAt *string datetime

used in

Compute Contract Flow - Complete Architecture Map, guest-events: events under a receipt, identity: signatures, key claims, associations, sign-in, lexicons-market: one row per lexicon, market: the RFP flow

raw schema: lexicons/com/publicdomainrelay/temp/market/associationRequest.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.market.associationRequest",
  "description": "The repository that holds this record asks the principal to endorse and grant it for one contract: the proof that the subject DID of a com.publicdomainrelay.temp.compute.events.guest.requesterDid event controls this repository. Record key: the principal DID.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "principal",
          "contract",
          "nonce",
          "createdAt"
        ],
        "properties": {
          "principal": {
            "type": "string",
            "format": "did",
            "description": "The DID asked to write the endorsement and the grant."
          },
          "contract": {
            "type": "string",
            "format": "at-uri",
            "description": "The principal's market.accept of the contract whose guest runs this repository's requester."
          },
          "nonce": {
            "type": "string",
            "maxLength": 128,
            "description": "The nonce the principal put into that contract's secrets bundle."
          },
          "accounts": {
            "type": "array",
            "maxLength": 16,
            "items": {
              "type": "string",
              "format": "did"
            },
            "description": "The DIDs of the co-located accounts this repository's requester created for the contract, each with the principal's rotation key first, so the principal can tombstone them when the guest is gone."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}