{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "externalLink": {
      "properties": {
        "name": {
          "description": "Human-readable name of the external source (e.g. \"TVDB\", \"Wikidata\", \"IMDB\").",
          "type": "string"
        },
        "uri": {
          "description": "URL of the media's page on the external source.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "name",
        "uri"
      ],
      "type": "object"
    },
    "main": {
      "key": "literal:self",
      "record": {
        "properties": {
          "avatar": {
            "accept": [
              "image/*"
            ],
            "description": "Primary representative media for the series as an avatar.",
            "maxSize": 1048576,
            "type": "blob"
          },
          "createdAt": {
            "description": "Timestamp the profile was first published.",
            "format": "datetime",
            "type": "string"
          },
          "externalLinks": {
            "description": "Links to external databases or sites describing this media (e.g. TVDB, Wikidata, IMDB).",
            "items": {
              "ref": "#externalLink",
              "type": "ref"
            },
            "type": "array"
          },
          "mediaName": {
            "description": "Name of the show, film, or other media this account posts frames from.",
            "maxLength": 640,
            "type": "string"
          },
          "updatedAt": {
            "description": "Timestamp the profile was last edited.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "mediaName",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Profile describing the TV show or other media a bot account posts frames from. One record per repository.",
  "id": "space.zephyra.screens.profile",
  "lexicon": 1
}
