randomCodes

MongoDB structure

Oct 6th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.45 KB | None | 0 0
  1. {
  2.     "_id": "57f6eb0398b657ac6fdb99b4"
  3.     ,"product": {
  4.         "name": "Moletom"
  5.         ,"model": "Normal"
  6.         ,"details": "Peça de fabricação têxtil com função de aquecer"
  7.         ,"group": "Agasalhos"
  8.         ,"taxes": 2.15
  9.     }
  10.     ,"prices":
  11.     [{ "size": "M", "minPrice": 22.50, "maxPrice": 30.50 }
  12.         ,{ "size": "G", "minPrice": 25.50, "maxPrice": 32.75 }
  13.         ,{ "size": "GG", "minPrice": 28.50, "maxPrice": 35.25 }]
  14.  
  15.     ,"components": [{
  16.         "component_code": "57f6eca9fe9ab230b602b6b8"
  17.         ,"unit": "M"
  18.         ,"measures":
  19.         [{ "size": "M", "quantity": 1.9 }
  20.             ,{ "size": "G", "quantity": 2.1 }
  21.             ,{ "size": "GG", "quantity": 2.4 }]
  22.     }]
  23.  
  24.     ,"parts": {
  25.         "rounded_neck": true
  26.         ,"v_neck": true
  27.         ,"polo_neck": false
  28.         ,"cannoe_neck": false
  29.         ,"hood": true
  30.         ,"drawstring_hood": true
  31.         ,"sublimated_hood": true
  32.         ,"tube_top": false
  33.         ,"raglan_sleeve": true
  34.         ,"normal_sleeve": true
  35.         ,"sleeveless": false
  36.         ,"normal_hem": true
  37.         ,"flexible_hem": true
  38.         ,"drawstring_hem": false
  39.         ,"normal_cuffs": true
  40.         ,"flexible_cuffs": true
  41.         ,"button_cuffs": false
  42.         ,"drawstring_cuffs": false
  43.         ,"zipper": true
  44.         ,"velcro": false
  45.         ,"pressure_buttons": true
  46.         ,"normal_buttons": true
  47.         ,"kangaroo_pocket": true
  48.         ,"back_pocket": false
  49.         ,"side_pocket": true
  50.         ,"chest_pocket": false
  51.         ,"normal_hem_pants": false
  52.         ,"drawstring_hem_pants": false
  53.         ,"flexible_hem_pants": false
  54.     }
  55.     ,"procedures": {
  56.         "silk_screen": true
  57.         ,"embroidery": true
  58.         ,"sublimation": false
  59.     }
  60.    
  61. }
Add Comment
Please, Sign In to add comment