Skip to content

Instantly share code, notes, and snippets.

@xavierzwirtz
Created April 29, 2015 18:13
Show Gist options
  • Save xavierzwirtz/490f9ee424f658ebb89e to your computer and use it in GitHub Desktop.
Save xavierzwirtz/490f9ee424f658ebb89e to your computer and use it in GitHub Desktop.
[{
"Name": "Startrac",
"Children": [{
"Name": "Spinners",
"Children": [{
"Name": "Elite 9-7080",
"Children": [{
"Name": "SG800-7080",
"Fields": {
"model_id": 1249
},
"Parts": [{
"Item_No": "SG800-4030",
"OEM_Vendor_No": "1234",
"OEM_VendorItem.Vend_Item_No": 800-4030,
"ShortDescription": "This is a Bottom Bracket Kit W/ Bolts",
"LongDescription": "Here are excruciating details about the Bottom Bracket Kit W/ Bolts and \n newlines",
"VendorPrice": "64.13",
"Price": "43.29",
"UOM": "EA",
"OriginalPicture": "www.example.com/diagram_SG800-7080.png",
"Fields": {
"bubble_number": 13,
"revisions": "[A, B, E, G]",
"seen": "2015-04-28 07:38:02 +0200"
},
"WhereUsed": [
"StarTrac/Spinners/Other/1234",
"StarTrac/WeightsBenches/1234"
],
"BOMItems": [
//same schema here for bill of material items.
]
}]
}]
}]
}]
}]
@xavierzwirtz
Copy link
Author

Why does json not support comments? 😒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment