am.noz.atgallery.alpha.libraryMedia

noz.am

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

Version History (2 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@