{
  "name": "My Book Source",
  "version": "1.0.0",
  "description": "A source for my book API",
  "baseUrl": "https://example.com/api",
  "auth": { "type": "none" },
  "endpoints": {
    "search": {
      "method": "GET",
      "path": "/search",
      "params": { "q": "{query}" },
      "headers": { "Accept": "application/json" },
      "responseMapping": {
        "itemsPath": "$.results",
        "idPath": "$.id",
        "titlePath": "$.title",
        "authorPath": "$.author",
        "coverUrlPath": "$.cover",
        "descriptionPath": "$.description",
        "mediaTypeValue": "ebook",
        "formatPath": "$.format",
        "mediaUrlPath": "$.downloadUrl"
      }
    }
  }
}
