{
  "$schema": "./source.schema.json",
  "bookSourceName": "聚合源 v2 示例",
  "bookSourceUrl": "https://library.example.invalid/",
  "bookSourceVersion": "2.0.0",
  "omniread": {
    "version": 2,
    "apiBaseUrl": "https://library.example.invalid/v2/",
    "mediaTypes": [
      "novel",
      "comic",
      "audiobook",
      "video"
    ],
    "providers": [
      {
        "id": "books-a",
        "name": "示例小说与音频",
        "mediaTypes": [
          "novel",
          "audiobook"
        ]
      },
      {
        "id": "comics-b",
        "name": "示例漫画",
        "mediaTypes": [
          "comic"
        ]
      },
      {
        "id": "video-c",
        "name": "示例短剧",
        "mediaTypes": [
          "video"
        ]
      }
    ],
    "auth": {
      "method": "token",
      "sessionPath": "session"
    },
    "management": {
      "title": "账号后台",
      "webUrl": "https://library.example.invalid/account/",
      "accountPath": "account",
      "webSession": "independent"
    },
    "community": {
      "readOnly": true,
      "media": {
        "novel": {
          "anchors": [
            "book",
            "chapter",
            "paragraph"
          ],
          "presentations": [
            "list",
            "featured"
          ]
        },
        "comic": {
          "anchors": [
            "book",
            "chapter",
            "comicPage"
          ],
          "presentations": [
            "list",
            "danmaku"
          ]
        },
        "audiobook": {
          "anchors": [
            "book",
            "chapter",
            "audioTime"
          ],
          "presentations": [
            "list"
          ]
        }
      }
    }
  }
}
