socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.market.association

record key any

The grant: the repository that holds this record (the principal) trusts the agent DID as its agent, beside the link.ident.endorsement at the same record key. The pair without the grant is attribution only. Record key: the agent DID.

record

fieldtypedescription
agent *string did
The agent DID; equal to the record key.
expiresAtstring datetime
The grant is dead after this time; required with contract.
contractcom.atproto.repo.strongRef
The market.accept of the contract this grant is scoped to; dead once the contract is not Held.
createdAt *string datetime

used in

Compute Contract Flow - Complete Architecture Map, flow: one compute contract, end to end, guest-events: events under a receipt, identity: signatures, key claims, associations, sign-in, protocol: the atproto protocol of socialweb-computer, lexicons-market: one row per lexicon, market: the RFP flow

raw schema: lexicons/com/publicdomainrelay/temp/market/association.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.market.association",
  "description": "The grant: the repository that holds this record (the principal) trusts the agent DID as its agent, beside the link.ident.endorsement at the same record key. The pair without the grant is attribution only. Record key: the agent DID.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "agent",
          "createdAt"
        ],
        "properties": {
          "agent": {
            "type": "string",
            "format": "did",
            "description": "The agent DID; equal to the record key."
          },
          "expiresAt": {
            "type": "string",
            "format": "datetime",
            "description": "The grant is dead after this time; required with contract."
          },
          "contract": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "The market.accept of the contract this grant is scoped to; dead once the contract is not Held."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}