am.noz.atgallery.alpha.libraryMedia

noz.am

{
  "id": "am.noz.atgallery.alpha.libraryMedia",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "formatVersion",
          "mediaKind",
          "original",
          "originalFilename",
          "originalMime",
          "originalSize",
          "preview",
          "createdAt"
        ],
        "properties": {
          "notes": {
            "type": "string",
            "maxLength": 20000
          },
          "width": {
            "type": "integer",
            "minimum": 1
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "sha256": {
            "type": "string",
            "maxLength": 64,
            "minLength": 64
          },
          "preview": {
            "type": "blob",
            "accept": [
              "image/webp"
            ],
            "maxSize": 1048576
          },
          "original": {
            "type": "blob",
            "accept": [
              "image/jpeg",
              "image/png",
              "image/webp",
              "image/gif",
              "image/avif",
              "video/mp4"
            ],
            "maxSize": 52428800
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "mediaKind": {
            "type": "string",
            "maxLength": 16,
            "knownValues": [
              "image",
              "video"
            ]
          },
          "originalMime": {
            "type": "string",
            "maxLength": 100,
            "knownValues": [
              "image/jpeg",
              "image/png",
              "image/webp",
              "image/gif",
              "image/avif",
              "video/mp4"
            ]
          },
          "originalSize": {
            "type": "integer",
            "maximum": 52428800,
            "minimum": 1
          },
          "formatVersion": {
            "type": "integer",
            "const": 1
          },
          "originalFilename": {
            "type": "string",
            "maxLength": 1024
          },
          "extractedMetadata": {
            "type": "unknown"
          },
          "durationMilliseconds": {
            "type": "integer",
            "maximum": 60000,
            "minimum": 1
          }
        }
      },
      "description": "A private media original and its safe local preview."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against am.noz.atgallery.alpha.libraryMedia

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:lmkzmvv6sdxntwtyxpg7fqqq
CID
bafyreiehkd4bt4ioqjkcecpcqn2t2qg73c7h5nzdq6topsktnlg3snxnw4
Indexed At
2026-08-21 19:18 UTC
AT-URI
at://did:plc:lmkzmvv6sdxntwtyxpg7fqqq/com.atproto.lexicon.schema/am.noz.atgallery.alpha.libraryMedia

Lexicon Garden

@