am.noz.atgallery.alpha.publishedMedia

An immutable, public, metadata-allowlisted media rendition.

Repository @noz.am did:plc:lmkzmvv6sdxntwtyxpg7fqqq namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityalpha.atgallery.noz.am
Indexed
cid bafyreiaviwjfbylatf2mzjdrduilv5mgucy4pq4ryncryozgx5vgp7dzoe

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An immutable, public, metadata-allowlisted media rendition.",
      "key": "tid",
      "record": {
        "properties": {
          "contentWarnings": {
            "items": {
              "maxLength": 200,
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "decorative": {
            "type": "boolean"
          },
          "defaultAltText": {
            "maxGraphemes": 2000,
            "type": "string"
          },
          "defaultCaption": {
            "maxGraphemes": 5000,
            "type": "string"
          },
          "durationMilliseconds": {
            "minimum": 1,
            "type": "integer"
          },
          "formatVersion": {
            "const": 1,
            "type": "integer"
          },
          "height": {
            "minimum": 1,
            "type": "integer"
          },
          "mediaKind": {
            "knownValues": [
              "audio",
              "document",
              "image",
              "video"
            ],
            "maxLength": 16,
            "type": "string"
          },
          "mime": {
            "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"
          },
          "preview": {
            "accept": [
              "image/webp"
            ],
            "maxSize": 1048576,
            "type": "blob"
          },
          "rendition": {
            "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"
          },
          "size": {
            "maximum": 52428800,
            "minimum": 1,
            "type": "integer"
          },
          "width": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "formatVersion",
          "mediaKind",
          "rendition",
          "mime",
          "size",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "am.noz.atgallery.alpha.publishedMedia",
  "lexicon": 1
}