microservices-reference-application
microservices-reference-application copied to clipboard
Collect 100 Book sample data in JSON format
- Define properties
- Decide categories
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'
}
},
]