{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "acUrl": {
            "description": "Permanent link to view on aesthetic.computer (e.g., https://aesthetic.computer/!a3x)",
            "type": "string"
          },
          "code": {
            "description": "Short alphanumeric code for easy lookup (e.g., 'a3x')",
            "type": "string"
          },
          "ref": {
            "description": "MongoDB ObjectId reference for bi-directional sync",
            "type": "string"
          },
          "slug": {
            "description": "The unique slug identifier for this tape (e.g., wand-1729177200000)",
            "type": "string"
          },
          "thumbnail": {
            "accept": [
              "image/jpeg",
              "image/png"
            ],
            "description": "Thumbnail image from midpoint frame, 3x scaled with nearest neighbor (max 1MB)",
            "maxSize": 1048576,
            "type": "blob"
          },
          "video": {
            "accept": [
              "video/mp4"
            ],
            "description": "MP4 video with 3x pixel scaling and audio soundtrack (max 50MB)",
            "maxSize": 52428800,
            "type": "blob"
          },
          "when": {
            "description": "ISO 8601 timestamp when the tape was created",
            "format": "datetime",
            "type": "string"
          },
          "zipUrl": {
            "description": "Direct URL to download the original ZIP file with frames and audio",
            "type": "string"
          }
        },
        "required": [
          "slug",
          "code",
          "when"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.aesthetic.tape",
  "lexicon": 1
}
