Tuesday, August 8, 2017

JSon examples for product

[{
 _id : 1,
 title :"Neverwhere",
 author : "Neil, Gaimen",
 isbn : "43294239023430",
 genre : "fantasy",
 copyright : "1994",
 description : "a man gets lost in the London Underground and meets fantastic creatures."
},
{
  _id : 2,
  title : "2017 Hugo Award Winners",
  author : ["Liu", "Gaimen", "Moffit"],
  isbn : "3489349890",
  genre: "Science Fiction",
  copyright : "2017",
  description : "Hugo award winners"
}]


 

Collections for showTracker database

  • shows
  • venues
  • artists
  • fans
  • genres

Sample JSON for shows collection

{
   _id : 1,
   artist : "Hope Sandoval",
   ageRestriction : "21",
   venuename : "Showbox Market",
   showdate : "8/20/2017",
   showtime : "8:00 PM",
   price : 25.50
   
}

No comments:

Post a Comment