am.noz.atgallery.alpha.libraryMedia

noz.am

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A private media original with an optional safe local thumbnail.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "durationMilliseconds": {
            "minimum": 1,
            "type": "integer"
          },
          "extractedMetadata": {
            "type": "unknown"
          },
          "formatVersion": {
            "const": 1,
            "type": "integer"
          },
          "height": {
            "minimum": 1,
            "type": "integer"
          },
          "mediaKind": {
            "knownValues": [
              "audio",
              "document",
              "image",
              "video"
            ],
            "maxLength": 16,
            "type": "string"
          },
          "notes": {
            "maxLength": 20000,
            "type": "string"
          },
          "original": {
            "accept": [
              "image/avif",
              "image/gif",
              "image/jpeg",
              "image/png",
              "image/webp",
              "video/mp4",
              "audio/flac",
              "audio/mp4",
              "audio/mpeg",
              "audio/ogg",
              "audio/wav",
              "audio/webm",
              "application/pdf",
              "text/plain",
              "application/vnd.oasis.opendocument.text",
              "application/vnd.oasis.opendocument.spreadsheet",
              "application/vnd.oasis.opendocument.presentation",
              "application/vnd.oasis.opendocument.graphics"
            ],
            "maxSize": 52428800,
            "type": "blob"
          },
          "originalFilename": {
            "maxLength": 1024,
            "type": "string"
          },
          "originalMime": {
            "knownValues": [
              "image/avif",
              "image/gif",
              "image/jpeg",
              "image/png",
              "image/webp",
              "video/mp4",
              "audio/flac",
              "audio/mp4",
              "audio/mpeg",
              "audio/ogg",
              "audio/wav",
              "audio/webm",
              "application/pdf",
              "text/plain",
              "application/vnd.oasis.opendocument.text",
              "application/vnd.oasis.opendocument.spreadsheet",
              "application/vnd.oasis.opendocument.presentation",
              "application/vnd.oasis.opendocument.graphics"
            ],
            "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",
          "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
bafyreibum4psrhviwkysnqbfpp4m72rmsnfsnueptxw47v7utvs3k55ety
Indexed At
2026-08-29 21:41 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

@