github.com/chrusty/openapi2proto@v0.0.0-20171127225041-f5804f48ccdb/fixtures/books.json (about)

     1  
     2  {
     3      "swagger": "2.0",
     4      "schemes": [
     5          "https"
     6      ],
     7      "basePath": "/svc/books/v3",
     8      "host": "api.nytimes.com",
     9      "info": {
    10          "version": "",
    11          "title": "Books API",
    12          "description": "## Welcome\n\nThis is a place to put general notes and extra information, for internal use.\n\nTo get started designing/documenting this API, select a version on the left."
    13      },
    14      "paths": {
    15          "/lists/best-sellers/history.json": {
    16              "parameters": [],
    17              "get": {
    18                  "summary": "Best Seller History List",
    19                  "description": "",
    20                  "operationId": "GET_lists-best-sellers-history-json",
    21                  "consumes": [
    22                      "application/json"
    23                  ],
    24                  "produces": [
    25                      "application/json"
    26                  ],
    27                  "parameters": [
    28                      {
    29                          "name": "age-group",
    30                          "in": "query",
    31                          "description": "The target age group for the best seller.",
    32                          "type": "string"
    33                      },
    34                      {
    35                          "name": "author",
    36                          "in": "query",
    37                          "description": "The author of the best seller. The author field does not include additional contributors (see Data Structure for more details about the author and contributor fields).\n\nWhen searching the author field, you can specify any combination of first, middle and last names.\n\nWhen sort-by is set to author, the results will be sorted by author's first name. ",
    38                          "type": "string"
    39                      },
    40                      {
    41                          "name": "contributor",
    42                          "in": "query",
    43                          "description": "The author of the best seller, as well as other contributors such as the illustrator (to search or sort by author name only, use author instead).\n\nWhen searching, you can specify any combination of first, middle and last names of any of the contributors.\n\nWhen sort-by is set to contributor, the results will be sorted by the first name of the first contributor listed. ",
    44                          "type": "string"
    45                      },
    46                      {
    47                          "name": "isbn",
    48                          "in": "query",
    49                          "description": "International Standard Book Number, 10 or 13 digits\n\nA best seller may have both 10-digit and 13-digit ISBNs, and may have multiple ISBNs of each type. To search on multiple ISBNs, separate the ISBNs with semicolons (example: 9780446579933;0061374229).",
    50                          "type": "string"
    51                      },
    52                      {
    53                          "name": "price",
    54                          "in": "query",
    55                          "description": "The publisher's list price of the best seller, including decimal point",
    56                          "type": "string"
    57                      },
    58                      {
    59                          "name": "publisher",
    60                          "in": "query",
    61                          "description": "The standardized name of the publisher",
    62                          "type": "string"
    63                      },
    64                      {
    65                          "name": "title",
    66                          "in": "query",
    67                          "description": "The title of the best seller\n\nWhen searching, you can specify a portion of a title or a full title.",
    68                          "type": "string"
    69                      }
    70                  ],
    71                  "responses": {
    72                      "200": {
    73                          "description": "",
    74                          "schema": {
    75                              "type": "object",
    76                              "properties": {
    77                                  "status": {
    78                                      "type": "string"
    79                                  },
    80                                  "copyright": {
    81                                      "type": "string"
    82                                  },
    83                                  "num_results": {
    84                                      "type": "integer"
    85                                  },
    86                                  "results": {
    87                                      "type": "array",
    88                                      "items": {
    89                                          "type": "object",
    90                                          "properties": {
    91                                              "title": {
    92                                                  "type": "string"
    93                                              },
    94                                              "description": {
    95                                                  "type": "string"
    96                                              },
    97                                              "contributor": {
    98                                                  "type": "string"
    99                                              },
   100                                              "author": {
   101                                                  "type": "string"
   102                                              },
   103                                              "contributor_note": {
   104                                                  "type": "string"
   105                                              },
   106                                              "price": {
   107                                                  "type": "integer"
   108                                              },
   109                                              "age_group": {
   110                                                  "type": "string"
   111                                              },
   112                                              "publisher": {
   113                                                  "type": "string"
   114                                              },
   115                                              "isbns": {
   116                                                  "type": "array",
   117                                                  "items": {
   118                                                      "type": "object",
   119                                                      "properties": {
   120                                                          "isbn10": {
   121                                                              "type": "string"
   122                                                          },
   123                                                          "isbn13": {
   124                                                              "type": "string"
   125                                                          }
   126                                                      }
   127                                                  }
   128                                              },
   129                                              "ranks_history": {
   130                                                  "type": "array",
   131                                                  "items": {
   132                                                      "type": "object",
   133                                                      "properties": {
   134                                                          "primary_isbn10": {
   135                                                              "type": "string"
   136                                                          },
   137                                                          "primary_isbn13": {
   138                                                              "type": "string"
   139                                                          },
   140                                                          "rank": {
   141                                                              "type": "integer"
   142                                                          },
   143                                                          "list_name": {
   144                                                              "type": "string"
   145                                                          },
   146                                                          "display_name": {
   147                                                              "type": "string"
   148                                                          },
   149                                                          "published_date": {
   150                                                              "type": "string"
   151                                                          },
   152                                                          "bestsellers_date": {
   153                                                              "type": "string"
   154                                                          },
   155                                                          "weeks_on_list": {
   156                                                              "type": "integer"
   157                                                          },
   158                                                          "ranks_last_week": {
   159                                                              "type": "null"
   160                                                          },
   161                                                          "asterisk": {
   162                                                              "type": "integer"
   163                                                          },
   164                                                          "dagger": {
   165                                                              "type": "integer"
   166                                                          }
   167                                                      }
   168                                                  }
   169                                              },
   170                                              "reviews": {
   171                                                  "type": "array",
   172                                                  "items": {
   173                                                      "type": "object",
   174                                                      "properties": {
   175                                                          "book_review_link": {
   176                                                              "type": "string"
   177                                                          },
   178                                                          "first_chapter_link": {
   179                                                              "type": "string"
   180                                                          },
   181                                                          "sunday_review_link": {
   182                                                              "type": "string"
   183                                                          },
   184                                                          "article_chapter_link": {
   185                                                              "type": "string"
   186                                                          }
   187                                                      }
   188                                                  }
   189                                              }
   190                                          }
   191                                      }
   192                                  }
   193                              }
   194                          },
   195                          "examples": {
   196                              "application/json": {
   197                                  "status": "OK",
   198                                  "copyright": "Copyright (c) 2016 The New York Times Company.  All Rights Reserved.",
   199                                  "num_results": 28970,
   200                                  "results": [
   201                                      {
   202                                          "title": "#GIRLBOSS",
   203                                          "description": "An online fashion retailer traces her path to success.",
   204                                          "contributor": "by Sophia Amoruso",
   205                                          "author": "Sophia Amoruso",
   206                                          "contributor_note": "",
   207                                          "price": 0,
   208                                          "age_group": "",
   209                                          "publisher": "Portfolio/Penguin/Putnam",
   210                                          "isbns": [
   211                                              {
   212                                                  "isbn10": "039916927X",
   213                                                  "isbn13": "9780399169274"
   214                                              }
   215                                          ],
   216                                          "ranks_history": [
   217                                              {
   218                                                  "primary_isbn10": "1591847931",
   219                                                  "primary_isbn13": "9781591847939",
   220                                                  "rank": 8,
   221                                                  "list_name": "Business Books",
   222                                                  "display_name": "Business",
   223                                                  "published_date": "2016-03-13",
   224                                                  "bestsellers_date": "2016-02-27",
   225                                                  "weeks_on_list": 0,
   226                                                  "ranks_last_week": null,
   227                                                  "asterisk": 0,
   228                                                  "dagger": 0
   229                                              }
   230                                          ],
   231                                          "reviews": [
   232                                              {
   233                                                  "book_review_link": "",
   234                                                  "first_chapter_link": "",
   235                                                  "sunday_review_link": "",
   236                                                  "article_chapter_link": ""
   237                                              }
   238                                          ]
   239                                      }
   240                                  ]
   241                              }
   242                          }
   243                      }
   244                  },
   245                  "security": [
   246                      {
   247                          "api-key": []
   248                      }
   249                  ]
   250              }
   251          },
   252          "/lists.{format}": {
   253              "parameters": [
   254                  {
   255                      "name": "format",
   256                      "in": "path",
   257                      "required": true,
   258                      "type": "string",
   259                      "enum": [
   260                          "json",
   261                          "jsonp"
   262                      ]
   263                  }
   264              ],
   265              "get": {
   266                  "summary": "Best Seller List",
   267                  "description": "",
   268                  "operationId": "GET_lists-format",
   269                  "consumes": [
   270                      "application/json"
   271                  ],
   272                  "produces": [
   273                      "application/json"
   274                  ],
   275                  "parameters": [
   276                      {
   277                          "name": "list",
   278                          "in": "query",
   279                          "description": "The name of the Times best-seller list. To get valid values, use a list names request.\n\nBe sure to replace spaces with hyphens (e.g., e-book-fiction or hardcover-fiction, not E-Book Fiction or Hardcover Fiction). (The parameter is not case sensitive.)",
   280                          "type": "string"
   281                      },
   282                      {
   283                          "name": "weeks-on-list",
   284                          "in": "query",
   285                          "description": "The number of weeks that the best seller has been on list-name, as of bestsellers-date",
   286                          "type": "integer"
   287                      },
   288                      {
   289                          "name": "bestsellers-date",
   290                          "in": "query",
   291                          "description": "YYYY-MM-DD\n\nThe week-ending date for the sales reflected on list-name. Times best-seller lists are compiled using available book sale data. The bestsellers-date may be significantly earlier than published-date. For additional information, see the explanation at the bottom of any best-seller list page on NYTimes.com (example: Hardcover Fiction, published Dec. 5 but reflecting sales to Nov. 29).",
   292                          "type": "string",
   293                          "format": "date-time"
   294                      },
   295                      {
   296                          "name": "date",
   297                          "in": "query",
   298                          "description": "YYYY-MM-DD  The date the best-seller list was published on NYTimes.com (compare bestsellers-date)",
   299                          "type": "string"
   300                      },
   301                      {
   302                          "name": "isbn",
   303                          "in": "query",
   304                          "description": "International Standard Book Number, 10 or 13 digits",
   305                          "type": "string"
   306                      },
   307                      {
   308                          "name": "published-date",
   309                          "in": "query",
   310                          "description": "YYYY-MM-DD\n\nThe date the best-seller list was published on NYTimes.com (compare bestsellers-date)",
   311                          "type": "string"
   312                      },
   313                      {
   314                          "name": "rank",
   315                          "in": "query",
   316                          "description": "The rank of the best seller on list-name as of bestsellers-date",
   317                          "type": "integer"
   318                      },
   319                      {
   320                          "name": "rank-last-week",
   321                          "in": "query",
   322                          "description": "The rank of the best seller on list-name one week prior to bestsellers-date",
   323                          "type": "integer"
   324                      },
   325                      {
   326                          "name": "offset",
   327                          "in": "query",
   328                          "description": "Sets the starting point of the result set",
   329                          "type": "integer",
   330                          "multipleOf": 20
   331                      },
   332                      {
   333                          "name": "sort-order",
   334                          "in": "query",
   335                          "description": "Sets the sort order of the result set",
   336                          "type": "string",
   337                          "enum": [
   338                              "ASC",
   339                              "DESC"
   340                          ]
   341                      }
   342                  ],
   343                  "responses": {
   344                      "200": {
   345                          "description": "",
   346                          "schema": {
   347                              "type": "object",
   348                              "properties": {
   349                                  "status": {
   350                                      "type": "string"
   351                                  },
   352                                  "copyright": {
   353                                      "type": "string"
   354                                  },
   355                                  "num_results": {
   356                                      "type": "integer"
   357                                  },
   358                                  "last_modified": {
   359                                      "type": "string"
   360                                  },
   361                                  "results": {
   362                                      "type": "array",
   363                                      "items": {
   364                                          "type": "object",
   365                                          "properties": {
   366                                              "list_name": {
   367                                                  "type": "string"
   368                                              },
   369                                              "display_name": {
   370                                                  "type": "string"
   371                                              },
   372                                              "bestsellers_date": {
   373                                                  "type": "string"
   374                                              },
   375                                              "published_date": {
   376                                                  "type": "string"
   377                                              },
   378                                              "rank": {
   379                                                  "type": "integer"
   380                                              },
   381                                              "rank_last_week": {
   382                                                  "type": "integer"
   383                                              },
   384                                              "weeks_on_list": {
   385                                                  "type": "integer"
   386                                              },
   387                                              "asterisk": {
   388                                                  "type": "integer"
   389                                              },
   390                                              "dagger": {
   391                                                  "type": "integer"
   392                                              },
   393                                              "amazon_product_url": {
   394                                                  "type": "string"
   395                                              },
   396                                              "isbns": {
   397                                                  "type": "array",
   398                                                  "items": {
   399                                                      "type": "object",
   400                                                      "properties": {
   401                                                          "isbn10": {
   402                                                              "type": "string"
   403                                                          },
   404                                                          "isbn13": {
   405                                                              "type": "string"
   406                                                          }
   407                                                      }
   408                                                  }
   409                                              },
   410                                              "book_details": {
   411                                                  "type": "array",
   412                                                  "items": {
   413                                                      "type": "object",
   414                                                      "properties": {
   415                                                          "title": {
   416                                                              "type": "string"
   417                                                          },
   418                                                          "description": {
   419                                                              "type": "string"
   420                                                          },
   421                                                          "contributor": {
   422                                                              "type": "string"
   423                                                          },
   424                                                          "author": {
   425                                                              "type": "string"
   426                                                          },
   427                                                          "contributor_note": {
   428                                                              "type": "string"
   429                                                          },
   430                                                          "price": {
   431                                                              "type": "integer"
   432                                                          },
   433                                                          "age_group": {
   434                                                              "type": "string"
   435                                                          },
   436                                                          "publisher": {
   437                                                              "type": "string"
   438                                                          },
   439                                                          "primary_isbn13": {
   440                                                              "type": "string"
   441                                                          },
   442                                                          "primary_isbn10": {
   443                                                              "type": "string"
   444                                                          }
   445                                                      }
   446                                                  }
   447                                              },
   448                                              "reviews": {
   449                                                  "type": "array",
   450                                                  "items": {
   451                                                      "type": "object",
   452                                                      "properties": {
   453                                                          "book_review_link": {
   454                                                              "type": "string"
   455                                                          },
   456                                                          "first_chapter_link": {
   457                                                              "type": "string"
   458                                                          },
   459                                                          "sunday_review_link": {
   460                                                              "type": "string"
   461                                                          },
   462                                                          "article_chapter_link": {
   463                                                              "type": "string"
   464                                                          }
   465                                                      }
   466                                                  }
   467                                              }
   468                                          }
   469                                      }
   470                                  }
   471                              }
   472                          },
   473                          "examples": {
   474                              "application/json": {
   475                                  "status": "OK",
   476                                  "copyright": "Copyright (c) 2016 The New York Times Company.  All Rights Reserved.",
   477                                  "num_results": 1,
   478                                  "last_modified": "2016-03-11T13:09:01-05:00",
   479                                  "results": [
   480                                      {
   481                                          "list_name": "Hardcover Fiction",
   482                                          "display_name": "Hardcover Fiction",
   483                                          "bestsellers_date": "2016-03-05",
   484                                          "published_date": "2016-03-20",
   485                                          "rank": 5,
   486                                          "rank_last_week": 2,
   487                                          "weeks_on_list": 2,
   488                                          "asterisk": 0,
   489                                          "dagger": 0,
   490                                          "amazon_product_url": "http://www.amazon.com/Girls-Guide-Moving-On-Novel-ebook/dp/B00ZNE17B4?tag=thenewyorktim-20",
   491                                          "isbns": [
   492                                              {
   493                                                  "isbn10": "0553391925",
   494                                                  "isbn13": "9780553391923"
   495                                              }
   496                                          ],
   497                                          "book_details": [
   498                                              {
   499                                                  "title": "A GIRL'S GUIDE TO MOVING ON",
   500                                                  "description": "A mother and her daughter-in-law both leave unhappy marriages and take up with new men.",
   501                                                  "contributor": "by Debbie Macomber",
   502                                                  "author": "Debbie Macomber",
   503                                                  "contributor_note": "",
   504                                                  "price": 0,
   505                                                  "age_group": "",
   506                                                  "publisher": "Ballantine",
   507                                                  "primary_isbn13": "9780553391923",
   508                                                  "primary_isbn10": "0553391925"
   509                                              }
   510                                          ],
   511                                          "reviews": [
   512                                              {
   513                                                  "book_review_link": "",
   514                                                  "first_chapter_link": "",
   515                                                  "sunday_review_link": "",
   516                                                  "article_chapter_link": ""
   517                                              }
   518                                          ]
   519                                      }
   520                                  ]
   521                              }
   522                          }
   523                      }
   524                  },
   525                  "security": [
   526                      {
   527                          "api-key": []
   528                      }
   529                  ]
   530              }
   531          },
   532          "/lists/{date}/{list}.json": {
   533              "parameters": [
   534                  {
   535                      "name": "date",
   536                      "in": "path",
   537                      "required": true,
   538                      "type": "string"
   539                  },
   540                  {
   541                      "name": "list",
   542                      "in": "path",
   543                      "description": "Name of the Best Sellers List. You can get the full list from /lists/names.json",
   544                      "required": true,
   545                      "type": "string"
   546                  }
   547              ],
   548              "get": {
   549                  "summary": "Best Seller List by Date",
   550                  "description": "",
   551                  "operationId": "GET_lists-date-list-json",
   552                  "consumes": [
   553                      "application/json"
   554                  ],
   555                  "produces": [
   556                      "application/json"
   557                  ],
   558                  "parameters": [
   559                      {
   560                          "name": "isbn",
   561                          "in": "query",
   562                          "description": "International Standard Book Number, 10 or 13 digits",
   563                          "type": "integer"
   564                      },
   565                      {
   566                          "name": "list-name",
   567                          "in": "query",
   568                          "description": "The name of the Times best-seller list. To get valid values, use a list names request.\n\nBe sure to replace spaces with hyphens (e.g., e-book-fiction or hardcover-fiction, not E-Book Fiction or Hardcover Fiction). (The parameter is not case sensitive.)",
   569                          "type": "string"
   570                      },
   571                      {
   572                          "name": "published-date",
   573                          "in": "query",
   574                          "description": "YYYY-MM-DD\n\nThe date the best-seller list was published on NYTimes.com (compare bestsellers-date)",
   575                          "type": "string",
   576                          "format": "date-time"
   577                      },
   578                      {
   579                          "name": "bestsellers-date",
   580                          "in": "query",
   581                          "description": "YYYY-MM-DD\n\nThe week-ending date for the sales reflected on list-name. Times best-seller lists are compiled using available book sale data. The bestsellers-date may be significantly earlier than published-date. For additional information, see the explanation at the bottom of any best-seller list page on NYTimes.com (example: Hardcover Fiction, published Dec. 5 but reflecting sales to Nov. 29).",
   582                          "type": "string"
   583                      },
   584                      {
   585                          "name": "weeks-on-list",
   586                          "in": "query",
   587                          "description": "The number of weeks that the best seller has been on list-name, as of bestsellers-date",
   588                          "type": "integer"
   589                      },
   590                      {
   591                          "name": "rank",
   592                          "in": "query",
   593                          "description": "The rank of the best seller on list-name as of bestsellers-date",
   594                          "type": "string"
   595                      },
   596                      {
   597                          "name": "rank-last-week",
   598                          "in": "query",
   599                          "description": "The rank of the best seller on list-name one week prior to bestsellers-date",
   600                          "type": "integer"
   601                      },
   602                      {
   603                          "name": "offset",
   604                          "in": "query",
   605                          "description": "Sets the starting point of the result set",
   606                          "type": "integer",
   607                          "multipleOf": 20
   608                      },
   609                      {
   610                          "name": "sort-order",
   611                          "in": "query",
   612                          "description": "The default is ASC (ascending). The sort-order parameter is used with the sort-by parameter — for details, see each request type.",
   613                          "type": "string",
   614                          "enum": [
   615                              "ASC",
   616                              "DESC"
   617                          ]
   618                      }
   619                  ],
   620                  "responses": {
   621                      "200": {
   622                          "description": "",
   623                          "schema": {
   624                              "type": "object",
   625                              "properties": {
   626                                  "status": {
   627                                      "type": "string"
   628                                  },
   629                                  "copyright": {
   630                                      "type": "string"
   631                                  },
   632                                  "num_results": {
   633                                      "type": "integer"
   634                                  },
   635                                  "last_modified": {
   636                                      "type": "string"
   637                                  },
   638                                  "results": {
   639                                      "type": "object",
   640                                      "properties": {
   641                                          "list_name": {
   642                                              "type": "string"
   643                                          },
   644                                          "bestsellers_date": {
   645                                              "type": "string"
   646                                          },
   647                                          "published_date": {
   648                                              "type": "string"
   649                                          },
   650                                          "display_name": {
   651                                              "type": "string"
   652                                          },
   653                                          "normal_list_ends_at": {
   654                                              "type": "integer"
   655                                          },
   656                                          "updated": {
   657                                              "type": "string"
   658                                          },
   659                                          "books": {
   660                                              "type": "array",
   661                                              "items": {
   662                                                  "type": "object",
   663                                                  "properties": {
   664                                                      "rank": {
   665                                                          "type": "integer"
   666                                                      },
   667                                                      "rank_last_week": {
   668                                                          "type": "integer"
   669                                                      },
   670                                                      "weeks_on_list": {
   671                                                          "type": "integer"
   672                                                      },
   673                                                      "asterisk": {
   674                                                          "type": "integer"
   675                                                      },
   676                                                      "dagger": {
   677                                                          "type": "integer"
   678                                                      },
   679                                                      "primary_isbn10": {
   680                                                          "type": "string"
   681                                                      },
   682                                                      "primary_isbn13": {
   683                                                          "type": "string"
   684                                                      },
   685                                                      "publisher": {
   686                                                          "type": "string"
   687                                                      },
   688                                                      "description": {
   689                                                          "type": "string"
   690                                                      },
   691                                                      "price": {
   692                                                          "type": "integer"
   693                                                      },
   694                                                      "title": {
   695                                                          "type": "string"
   696                                                      },
   697                                                      "author": {
   698                                                          "type": "string"
   699                                                      },
   700                                                      "contributor": {
   701                                                          "type": "string"
   702                                                      },
   703                                                      "contributor_note": {
   704                                                          "type": "string"
   705                                                      },
   706                                                      "book_image": {
   707                                                          "type": "string"
   708                                                      },
   709                                                      "amazon_product_url": {
   710                                                          "type": "string"
   711                                                      },
   712                                                      "age_group": {
   713                                                          "type": "string"
   714                                                      },
   715                                                      "book_review_link": {
   716                                                          "type": "string"
   717                                                      },
   718                                                      "first_chapter_link": {
   719                                                          "type": "string"
   720                                                      },
   721                                                      "sunday_review_link": {
   722                                                          "type": "string"
   723                                                      },
   724                                                      "article_chapter_link": {
   725                                                          "type": "string"
   726                                                      },
   727                                                      "isbns": {
   728                                                          "type": "array",
   729                                                          "items": {
   730                                                              "type": "object",
   731                                                              "properties": {
   732                                                                  "isbn10": {
   733                                                                      "type": "string"
   734                                                                  },
   735                                                                  "isbn13": {
   736                                                                      "type": "string"
   737                                                                  }
   738                                                              }
   739                                                          }
   740                                                      }
   741                                                  }
   742                                              }
   743                                          },
   744                                          "corrections": {
   745                                              "type": "array",
   746                                              "items": {
   747                                                  "type": "object",
   748                                                  "properties": {}
   749                                              }
   750                                          }
   751                                      }
   752                                  }
   753                              }
   754                          },
   755                          "examples": {
   756                              "application/json": {
   757                                  "status": "OK",
   758                                  "copyright": "Copyright (c) 2016 The New York Times Company.  All Rights Reserved.",
   759                                  "num_results": 15,
   760                                  "last_modified": "2015-12-25T13:05:20-05:00",
   761                                  "results": {
   762                                      "list_name": "Trade Fiction Paperback",
   763                                      "bestsellers_date": "2015-12-19",
   764                                      "published_date": "2016-01-03",
   765                                      "display_name": "Paperback Trade Fiction",
   766                                      "normal_list_ends_at": 10,
   767                                      "updated": "WEEKLY",
   768                                      "books": [
   769                                          {
   770                                              "rank": 1,
   771                                              "rank_last_week": 0,
   772                                              "weeks_on_list": 60,
   773                                              "asterisk": 0,
   774                                              "dagger": 0,
   775                                              "primary_isbn10": "0553418025",
   776                                              "primary_isbn13": "9780553418026",
   777                                              "publisher": "Broadway",
   778                                              "description": "Separated from his crew, an astronaut embarks on a quest to stay alive on Mars. The basis of the movie.",
   779                                              "price": 0,
   780                                              "title": "THE MARTIAN",
   781                                              "author": "Andy Weir",
   782                                              "contributor": "by Andy Weir",
   783                                              "contributor_note": "",
   784                                              "book_image": "http://du.ec2.nytimes.com.s3.amazonaws.com/prd/books/9780804139038.jpg",
   785                                              "amazon_product_url": "http://www.amazon.com/The-Martian-Novel-Andy-Weir-ebook/dp/B00EMXBDMA?tag=thenewyorktim-20",
   786                                              "age_group": "",
   787                                              "book_review_link": "",
   788                                              "first_chapter_link": "",
   789                                              "sunday_review_link": "",
   790                                              "article_chapter_link": "",
   791                                              "isbns": [
   792                                                  {
   793                                                      "isbn10": "0804139024",
   794                                                      "isbn13": "9780804139021"
   795                                                  }
   796                                              ]
   797                                          }
   798                                      ],
   799                                      "corrections": []
   800                                  }
   801                              }
   802                          }
   803                      }
   804                  },
   805                  "security": [
   806                      {
   807                          "api-key": []
   808                      }
   809                  ]
   810              }
   811          },
   812          "/lists/overview.{format}": {
   813              "parameters": [
   814                  {
   815                      "name": "format",
   816                      "in": "path",
   817                      "required": true,
   818                      "type": "string",
   819                      "enum": [
   820                          "json",
   821                          "jsonp"
   822                      ]
   823                  }
   824              ],
   825              "get": {
   826                  "summary": "Best Seller List Overview",
   827                  "description": "",
   828                  "operationId": "GET_lists-overview-format",
   829                  "consumes": [
   830                      "application/json"
   831                  ],
   832                  "produces": [
   833                      "application/json"
   834                  ],
   835                  "parameters": [
   836                      {
   837                          "name": "published_date",
   838                          "in": "query",
   839                          "description": "The best-seller list publication date. YYYY-MM-DD\n\nYou do not have to specify the exact date the list was published. The service will search forward (into the future) for the closest publication date to the date you specify. For example, a request for lists/overview/2013-05-22 will retrieve the list that was published on 05-26.\n\nIf you do not include a published_date, the current week's best-sellers lists will be returned.",
   840                          "type": "string"
   841                      },
   842                      {
   843                          "name": "api-key",
   844                          "in": "query",
   845                          "type": "string"
   846                      }
   847                  ],
   848                  "responses": {
   849                      "200": {
   850                          "description": "",
   851                          "schema": {
   852                              "type": "object",
   853                              "properties": {
   854                                  "status": {
   855                                      "type": "string"
   856                                  },
   857                                  "copyright": {
   858                                      "type": "string"
   859                                  },
   860                                  "num_results": {
   861                                      "type": "integer"
   862                                  },
   863                                  "results": {
   864                                      "type": "object",
   865                                      "properties": {
   866                                          "bestsellers_date": {
   867                                              "type": "string"
   868                                          },
   869                                          "published_date": {
   870                                              "type": "string"
   871                                          },
   872                                          "lists": {
   873                                              "type": "array",
   874                                              "items": {
   875                                                  "type": "object",
   876                                                  "properties": {
   877                                                      "list_id": {
   878                                                          "type": "integer"
   879                                                      },
   880                                                      "list_name": {
   881                                                          "type": "string"
   882                                                      },
   883                                                      "display_name": {
   884                                                          "type": "string"
   885                                                      },
   886                                                      "updated": {
   887                                                          "type": "string"
   888                                                      },
   889                                                      "list_image": {
   890                                                          "type": "string"
   891                                                      },
   892                                                      "books": {
   893                                                          "type": "array",
   894                                                          "items": {
   895                                                              "type": "object",
   896                                                              "properties": {
   897                                                                  "age_group": {
   898                                                                      "type": "string"
   899                                                                  },
   900                                                                  "author": {
   901                                                                      "type": "string"
   902                                                                  },
   903                                                                  "contributor": {
   904                                                                      "type": "string"
   905                                                                  },
   906                                                                  "contributor_note": {
   907                                                                      "type": "string"
   908                                                                  },
   909                                                                  "created_date": {
   910                                                                      "type": "string"
   911                                                                  },
   912                                                                  "description": {
   913                                                                      "type": "string"
   914                                                                  },
   915                                                                  "price": {
   916                                                                      "type": "integer"
   917                                                                  },
   918                                                                  "primary_isbn13": {
   919                                                                      "type": "string"
   920                                                                  },
   921                                                                  "primary_isbn10": {
   922                                                                      "type": "string"
   923                                                                  },
   924                                                                  "publisher": {
   925                                                                      "type": "string"
   926                                                                  },
   927                                                                  "rank": {
   928                                                                      "type": "integer"
   929                                                                  },
   930                                                                  "title": {
   931                                                                      "type": "string"
   932                                                                  },
   933                                                                  "updated_date": {
   934                                                                      "type": "string"
   935                                                                  }
   936                                                              }
   937                                                          }
   938                                                      }
   939                                                  }
   940                                              }
   941                                          }
   942                                      }
   943                                  }
   944                              }
   945                          },
   946                          "examples": {
   947                              "application/json": {
   948                                  "status": "OK",
   949                                  "copyright": "Copyright (c) 2016 The New York Times Company.  All Rights Reserved.",
   950                                  "num_results": 210,
   951                                  "results": {
   952                                      "bestsellers_date": "2016-03-05",
   953                                      "published_date": "2016-03-20",
   954                                      "lists": [
   955                                          {
   956                                              "list_id": 704,
   957                                              "list_name": "Combined Print and E-Book Fiction",
   958                                              "display_name": "Combined Print & E-Book Fiction",
   959                                              "updated": "WEEKLY",
   960                                              "list_image": "http://du.ec2.nytimes.com.s3.amazonaws.com/prd/books/9780399175954.jpg",
   961                                              "books": [
   962                                                  {
   963                                                      "age_group": "",
   964                                                      "author": "Clive Cussler and Justin Scott",
   965                                                      "contributor": "by Clive Cussler and Justin Scott",
   966                                                      "contributor_note": "",
   967                                                      "created_date": "2016-03-10 12:00:22",
   968                                                      "description": "In the ninth book in this series, set in 1906, the New York detective Isaac Bell contends with a crime boss passing as a respectable businessman and a tycoon’s plot against President Theodore Roosevelt.",
   969                                                      "price": 0,
   970                                                      "primary_isbn13": "9780698406421",
   971                                                      "primary_isbn10": "0698406427",
   972                                                      "publisher": "Putnam",
   973                                                      "rank": 1,
   974                                                      "title": "THE GANGSTER",
   975                                                      "updated_date": "2016-03-10 17:00:21"
   976                                                  }
   977                                              ]
   978                                          }
   979                                      ]
   980                                  }
   981                              }
   982                          }
   983                      }
   984                  },
   985                  "security": [
   986                      {
   987                          "api-key": []
   988                      }
   989                  ]
   990              }
   991          },
   992          "/lists/names.{format}": {
   993              "parameters": [
   994                  {
   995                      "name": "format",
   996                      "in": "path",
   997                      "required": true,
   998                      "type": "string",
   999                      "enum": [
  1000                          "json",
  1001                          "jsonp"
  1002                      ]
  1003                  }
  1004              ],
  1005              "get": {
  1006                  "summary": "Best Seller List Names",
  1007                  "description": "",
  1008                  "operationId": "GET_lists-names-format",
  1009                  "consumes": [
  1010                      "application/json"
  1011                  ],
  1012                  "produces": [
  1013                      "application/json"
  1014                  ],
  1015                  "parameters": [
  1016                      {
  1017                          "name": "api-key",
  1018                          "in": "query",
  1019                          "type": "string"
  1020                      }
  1021                  ],
  1022                  "responses": {
  1023                      "200": {
  1024                          "description": "",
  1025                          "schema": {
  1026                              "type": "object",
  1027                              "properties": {
  1028                                  "status": {
  1029                                      "type": "string"
  1030                                  },
  1031                                  "copyright": {
  1032                                      "type": "string"
  1033                                  },
  1034                                  "num_results": {
  1035                                      "type": "integer"
  1036                                  },
  1037                                  "results": {
  1038                                      "type": "array",
  1039                                      "items": {
  1040                                          "type": "object",
  1041                                          "properties": {
  1042                                              "list_name": {
  1043                                                  "type": "string"
  1044                                              },
  1045                                              "display_name": {
  1046                                                  "type": "string"
  1047                                              },
  1048                                              "list_name_encoded": {
  1049                                                  "type": "string"
  1050                                              },
  1051                                              "oldest_published_date": {
  1052                                                  "type": "string"
  1053                                              },
  1054                                              "newest_published_date": {
  1055                                                  "type": "string"
  1056                                              },
  1057                                              "updated": {
  1058                                                  "type": "string"
  1059                                              }
  1060                                          }
  1061                                      }
  1062                                  }
  1063                              }
  1064                          },
  1065                          "examples": {
  1066                              "application/json": {
  1067                                  "status": "OK",
  1068                                  "copyright": "Copyright (c) 2016 The New York Times Company.  All Rights Reserved.",
  1069                                  "num_results": 53,
  1070                                  "results": [
  1071                                      {
  1072                                          "list_name": "Combined Print and E-Book Fiction",
  1073                                          "display_name": "Combined Print & E-Book Fiction",
  1074                                          "list_name_encoded": "combined-print-and-e-book-fiction",
  1075                                          "oldest_published_date": "2011-02-13",
  1076                                          "newest_published_date": "2016-03-20",
  1077                                          "updated": "WEEKLY"
  1078                                      }
  1079                                  ]
  1080                              }
  1081                          }
  1082                      }
  1083                  },
  1084                  "security": [
  1085                      {
  1086                          "api-key": []
  1087                      }
  1088                  ]
  1089              }
  1090          },
  1091          "/reviews.{format}": {
  1092              "parameters": [
  1093                  {
  1094                      "name": "format",
  1095                      "in": "path",
  1096                      "required": true,
  1097                      "type": "string",
  1098                      "enum": [
  1099                          "json",
  1100                          "jsonp"
  1101                      ]
  1102                  }
  1103              ],
  1104              "get": {
  1105                  "summary": "Reviews",
  1106                  "description": "",
  1107                  "operationId": "GET_reviews-format",
  1108                  "consumes": [
  1109                      "application/json"
  1110                  ],
  1111                  "produces": [
  1112                      "application/json"
  1113                  ],
  1114                  "parameters": [
  1115                      {
  1116                          "name": "isbn",
  1117                          "in": "query",
  1118                          "description": "Searching by ISBN is the recommended method. You can enter 10- or 13-digit ISBNs.",
  1119                          "type": "integer"
  1120                      },
  1121                      {
  1122                          "name": "title",
  1123                          "in": "query",
  1124                          "description": "You’ll need to enter the full title of the book. Spaces in the title will be converted into the characters %20.",
  1125                          "type": "string"
  1126                      },
  1127                      {
  1128                          "name": "author",
  1129                          "in": "query",
  1130                          "description": "You’ll need to enter the author’s first and last name, separated by a space. This space will be converted into the characters %20.",
  1131                          "type": "string"
  1132                      },
  1133                      {
  1134                          "name": "api-key",
  1135                          "in": "query",
  1136                          "type": "string"
  1137                      }
  1138                  ],
  1139                  "responses": {
  1140                      "200": {
  1141                          "description": "",
  1142                          "schema": {
  1143                              "type": "object",
  1144                              "properties": {
  1145                                  "status": {
  1146                                      "type": "string"
  1147                                  },
  1148                                  "copyright": {
  1149                                      "type": "string"
  1150                                  },
  1151                                  "num_results": {
  1152                                      "type": "integer"
  1153                                  },
  1154                                  "results": {
  1155                                      "type": "array",
  1156                                      "items": {
  1157                                          "type": "object",
  1158                                          "properties": {
  1159                                              "url": {
  1160                                                  "type": "string"
  1161                                              },
  1162                                              "publication_dt": {
  1163                                                  "type": "string"
  1164                                              },
  1165                                              "byline": {
  1166                                                  "type": "string"
  1167                                              },
  1168                                              "book_title": {
  1169                                                  "type": "string"
  1170                                              },
  1171                                              "book_author": {
  1172                                                  "type": "string"
  1173                                              },
  1174                                              "summary": {
  1175                                                  "type": "string"
  1176                                              },
  1177                                              "isbn13": {
  1178                                                  "type": "array",
  1179                                                  "items": {
  1180                                                      "type": "string"
  1181                                                  }
  1182                                              }
  1183                                          }
  1184                                      }
  1185                                  }
  1186                              }
  1187                          },
  1188                          "examples": {
  1189                              "application/json": {
  1190                                  "status": "OK",
  1191                                  "copyright": "Copyright (c) 2016 The New York Times Company.  All Rights Reserved.",
  1192                                  "num_results": 2,
  1193                                  "results": [
  1194                                      {
  1195                                          "url": "http://www.nytimes.com/2011/11/10/books/1q84-by-haruki-murakami-review.html",
  1196                                          "publication_dt": "2011-11-10",
  1197                                          "byline": "JANET MASLIN",
  1198                                          "book_title": "1Q84",
  1199                                          "book_author": "Haruki Murakami",
  1200                                          "summary": "In “1Q84,” the Japanese novelist Haruki Murakami writes about characters in a Tokyo with two moons.",
  1201                                          "isbn13": [
  1202                                              "9780307476463"
  1203                                          ]
  1204                                      }
  1205                                  ]
  1206                              }
  1207                          }
  1208                      }
  1209                  },
  1210                  "security": [
  1211                      {
  1212                          "api-key": []
  1213                      }
  1214                  ]
  1215              }
  1216          }
  1217      },
  1218      "definitions": {},
  1219      "securityDefinitions": {
  1220          "api-key": {
  1221              "name": "api-key",
  1222              "type": "apiKey",
  1223              "in": "query"
  1224          }
  1225      }
  1226  }