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

socialweb.computer/socialweb-computer-kcp

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

1 collaborator
0
0
56 lines · 1.0 KB Raw History
{
  "lexicon": 1,
  "id": "software.release.defs",
  "defs": {
    "httpArtifact": {
      "type": "object",
      "description": "One downloadable file: its URL, CIDv1 raw sha2-256 of its bytes, and size.",
      "required": [
        "name",
        "url",
        "cid",
        "size",
        "target"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "size": {
          "type": "integer",
          "minimum": 0
        },
        "target": {
          "type": "ref",
          "ref": "#target"
        }
      }
    },
    "target": {
      "type": "object",
      "required": [
        "os",
        "arch"
      ],
      "properties": {
        "os": {
          "type": "string"
        },
        "arch": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}