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

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
54 lines · 1.4 KB Raw History
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.market.heartbeat",
  "description": "A bidder's liveness beat for its offering, rewritten at rkey self.",
  "defs": {
    "main": {
      "type": "record",
      "key": "literal:self",
      "record": {
        "type": "object",
        "required": [
          "offering",
          "createdAt"
        ],
        "properties": {
          "offering": {
            "type": "string",
            "format": "at-uri",
            "description": "The market.offering this beat keeps alive."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "version": {
            "type": "ref",
            "ref": "#runningVersion",
            "description": "The bidder build this beat comes from (plan 0040): its version, commit and binary sha256."
          }
        }
      }
    },
    "runningVersion": {
      "type": "object",
      "required": [
        "version"
      ],
      "properties": {
        "version": {
          "type": "string",
          "description": "The build's version, e.g. v0.0.0-rc168."
        },
        "commit": {
          "type": "string",
          "description": "The build's git commit."
        },
        "sha256": {
          "type": "string",
          "description": "The sha256 of the running binary."
        }
      }
    }
  }
}