net.altq.aqfile

lexi.altq.net

Documentation

A record representing an uploaded file blob with metadata.

main record

A record representing an uploaded file blob with metadata.

Record Key any Any valid record key

Properties

attribution string at-identifier Optional

Handle or DID of the account to attribute this upload to.

blob blob Required

The uploaded blob reference. Note: Individual PDS instances may enforce lower size limits.

maxSize: 1000.0 MB
checksum ref #checksum Optional

Optional cryptographic checksum for integrity verification.

createdAt string datetime Required

Timestamp when this record was created.

file ref #file Required

Metadata about the file.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "blob",
      "createdAt",
      "file"
    ],
    "properties": {
      "blob": {
        "type": "blob",
        "accept": [
          "*/*"
        ],
        "maxSize": 1000000000,
        "description": "The uploaded blob reference. Note: Individual PDS instances may enforce lower size limits."
      },
      "file": {
        "ref": "#file",
        "type": "ref",
        "description": "Metadata about the file."
      },
      "checksum": {
        "ref": "#checksum",
        "type": "ref",
        "description": "Optional cryptographic checksum for integrity verification."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when this record was created."
      },
      "attribution": {
        "type": "string",
        "format": "at-identifier",
        "description": "Handle or DID of the account to attribute this upload to."
      }
    }
  },
  "description": "A record representing an uploaded file blob with metadata."
}
checksum object

Cryptographic checksum for integrity verification.

Properties

algo string Required

Hash algorithm name.

maxLength: 32 bytes
Known values: sha256, sha512, blake3
hash string Required

Hex or base64 encoded digest produced by the algorithm.

maxLength: 128 bytes
View raw schema
{
  "type": "object",
  "required": [
    "algo",
    "hash"
  ],
  "properties": {
    "algo": {
      "type": "string",
      "maxLength": 32,
      "description": "Hash algorithm name.",
      "knownValues": [
        "sha256",
        "sha512",
        "blake3"
      ]
    },
    "hash": {
      "type": "string",
      "maxLength": 128,
      "description": "Hex or base64 encoded digest produced by the algorithm."
    }
  },
  "description": "Cryptographic checksum for integrity verification."
}
file object

File metadata describing the uploaded blob.

Properties

mimeType string Optional

MIME type, e.g. 'video/mp4'.

maxLength: 255 bytes
modifiedAt string datetime Optional

Client-side last-modified timestamp.

name string Required

User-visible filename.

maxLength: 512 bytes
size integer Required

File size in bytes.

minimum: 0maximum: 1000000000
View raw schema
{
  "type": "object",
  "required": [
    "name",
    "size"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 512,
      "description": "User-visible filename."
    },
    "size": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 0,
      "description": "File size in bytes."
    },
    "mimeType": {
      "type": "string",
      "maxLength": 255,
      "description": "MIME type, e.g. 'video/mp4'."
    },
    "modifiedAt": {
      "type": "string",
      "format": "datetime",
      "description": "Client-side last-modified timestamp."
    }
  },
  "description": "File metadata describing the uploaded blob."
}

Lexicon Garden

@