{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Subscription to a podcast series for episode notifications",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "notifyNewEpisodes": {
            "default": true,
            "description": "Whether to notify when new episodes are published",
            "type": "boolean"
          },
          "subject": {
            "description": "The series being subscribed to (uri + optional cid)",
            "ref": "live.voxport.podcast.series#seriesRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Subscription to a podcast series for episode notifications",
  "id": "live.voxport.podcast.subscribe",
  "lexicon": 1
}
