{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A podcast, interview or video the owner appears in. Recordings of talks belong on Sifa talks (id.sifa.profile.presentation).",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxLength": 1000,
            "type": "string"
          },
          "duration": {
            "description": "Length in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "kind": {
            "description": "Audio or video",
            "knownValues": [
              "audio",
              "video"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "platform": {
            "description": "Where it is hosted",
            "knownValues": [
              "spotify",
              "apple-podcasts",
              "soundcloud",
              "anchor",
              "youtube",
              "vimeo",
              "twitch",
              "tiktok",
              "other"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "publishedAt": {
            "description": "When it was published",
            "format": "datetime",
            "type": "string"
          },
          "related": {
            "description": "A related Sifa presentation or publication",
            "format": "at-uri",
            "type": "string"
          },
          "seriesName": {
            "description": "The podcast or series it belongs to",
            "maxLength": 200,
            "type": "string"
          },
          "title": {
            "description": "Episode or video title",
            "maxLength": 200,
            "type": "string"
          },
          "type": {
            "description": "What kind of appearance it is",
            "knownValues": [
              "podcast-episode",
              "interview",
              "panel-discussion",
              "tutorial",
              "other"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "url": {
            "description": "Where to listen or watch",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "url",
          "kind",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.lanyards.media.item",
  "lexicon": 1
}
