socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

software.release.defs

defs

definitions: #httpArtifact #target

#httpArtifact object

One downloadable file: its URL, CIDv1 raw sha2-256 of its bytes, and size.

fieldtypedescription
name *string
url *string uri
cid *string cid
size *integer
minimum 0
target *#target

#target object

fieldtypedescription
os *string
arch *array of string

used in

release: channels, versions, manifests

raw schema: lexicons/software/release/defs.json
{
  "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"
          }
        }
      }
    }
  }
}