net.altq.aqfile

lexi.altq.net

{
  "id": "net.altq.aqfile",
  "defs": {
    "file": {
      "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."
    },
    "main": {
      "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": {
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A record for uploading and tracking binary blob files with metadata."
}

Validate Record

Validate a record against net.altq.aqfile

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:qamo3zjt7x4j4q2ttd3fup7j
CID
bafyreihr647kvbn7jc36eudfsqi33gqkpgjzv62lofqkl5e7qn6rry4xtq
Indexed At
2026-02-13 13:57 UTC
AT-URI
at://did:plc:qamo3zjt7x4j4q2ttd3fup7j/com.atproto.lexicon.schema/net.altq.aqfile

Lexicon Garden

@