microservices-reference-application icon indicating copy to clipboard operation
microservices-reference-application copied to clipboard

Collect 100 Book sample data in JSON format

Open chilukuridevbuzz opened this issue 7 years ago • 1 comments

  • Define properties
  • Decide categories

chilukuridevbuzz avatar Nov 03 '18 08:11 chilukuridevbuzz

Let's use the following structure for the JSON file:

We can refer to Kaggle Book Dataset for details.

[
  {
      'bookId': '1',
      'title': 'The Lord of the Rings (The Lord of the Rings #1-3)',
      'description': 'A fantastic novel',
      'authors': ['J.R.R. Tolkien'],
      'isbn': '0618517650',
      'language': 'English',
      'totalPages': '1184',
      'publicationDate': '10/21/2004',
      'publisher': 'Houghton Mifflin Harcourt',
      'genres': ['Fantasy', 'Thriller'],
      'tags': [
        'novel',
        'movie',
      ],
      'price': {
        'currency': 'USD',
        'amount': 32,
      },
      'ratings': {
        'rating': 4.50,
        'ratingCount': 1710
      },
      'coverPhoto': 'assets/the lord of the rings.jpg',
      'promotions': {
        'text': '15% off',
        'color': '#0D47A1'
      }
    },
]

tapas4java avatar Dec 12 '20 04:12 tapas4java