Skip to content

Instantly share code, notes, and snippets.

@Marginal
Last active January 23, 2016 03:09
Show Gist options
  • Save Marginal/1a5ae6afc66f68bad483 to your computer and use it in GitHub Desktop.
Save Marginal/1a5ae6afc66f68bad483 to your computer and use it in GitHub Desktop.
Example message in proposed commodities v3 schema
{
"$schemaRef": "http://schemas.elite-markets.net/eddn/commodity/3",
"header": {
"softwareName": "E:D Market Connector [Mac OS]",
"softwareVersion": "2.0.5.0",
"uploaderID": "Otis B. Driftwood"
},
"message": {
"commodities": [
{
"buyPrice": 0,
"demand": 185142,
"demandLevel": "Med",
"id": 128049204,
"name": "Explosives",
"sellPrice": 422,
"supply": 0
},
{
"buyPrice": 120,
"demand": 0,
"id": 128049202,
"name": "Hydrogen Fuel",
"sellPrice": 114,
"supply": 208975,
"supplyLevel": "Med"
},
{
"buyPrice": 0,
"demand": 0,
"demandLevel": "Low",
"id": 128049241,
"name": "Clothing",
"sellPrice": 316,
"supply": 0
},
{
"buyPrice": 0,
"demand": 5543,
"demandLevel": "Low",
"id": 128049240,
"name": "Consumer Technology",
"sellPrice": 6995,
"supply": 0
},
{
"buyPrice": 420,
"demand": 0,
"id": 128049238,
"name": "Domestic Appliances",
"sellPrice": 399,
"supply": 40370,
"supplyLevel": "Med"
},
{
"buyPrice": 0,
"demand": 462385,
"demandLevel": "Med",
"id": 128049177,
"name": "Algae",
"sellPrice": 249,
"supply": 0
},
{
"buyPrice": 0,
"demand": 11064,
"demandLevel": "Low",
"id": 128049182,
"name": "Animal Meat",
"sellPrice": 1388,
"supply": 0
},
{
"buyPrice": 0,
"demand": 6332,
"demandLevel": "Med",
"id": 128049189,
"name": "Coffee",
"sellPrice": 1601,
"supply": 0
},
{
"buyPrice": 0,
"demand": 63474,
"demandLevel": "Med",
"id": 128049183,
"name": "Fish",
"sellPrice": 558,
"supply": 0
},
{
"buyPrice": 45,
"demand": 0,
"id": 128049184,
"name": "Food Cartridges",
"sellPrice": 34,
"supply": 532280,
"supplyLevel": "High"
},
{
"buyPrice": 0,
"demand": 768,
"demandLevel": "Low",
"id": 128049178,
"name": "Fruit And Vegetables",
"sellPrice": 316,
"supply": 0
},
{
"buyPrice": 0,
"demand": 5123,
"demandLevel": "Low",
"id": 128049180,
"name": "Grain",
"sellPrice": 208,
"supply": 0
},
{
"buyPrice": 0,
"demand": 495,
"demandLevel": "Low",
"id": 128049185,
"name": "Synthetic Meat",
"sellPrice": 253,
"supply": 0
},
{
"buyPrice": 0,
"demand": 28816,
"demandLevel": "High",
"id": 128049188,
"name": "Tea",
"sellPrice": 1906,
"supply": 0
},
{
"buyPrice": 0,
"demand": 784077,
"demandLevel": "High",
"id": 128672302,
"name": "Ceramic Composites",
"sellPrice": 326,
"supply": 0
},
{
"buyPrice": 0,
"demand": 808,
"demandLevel": "High",
"id": 128672701,
"name": "Meta-Alloys",
"sellPrice": 91315,
"supply": 0
},
{
"buyPrice": 0,
"demand": 1399717,
"demandLevel": "Med",
"id": 128049197,
"name": "Polymers",
"sellPrice": 261,
"supply": 0
},
{
"buyPrice": 0,
"demand": 1410261,
"demandLevel": "High",
"id": 128049199,
"name": "Semiconductors",
"sellPrice": 1230,
"supply": 0
},
{
"buyPrice": 0,
"demand": 83376,
"demandLevel": "Med",
"id": 128049200,
"name": "Superconductors",
"sellPrice": 7215,
"supply": 0
},
{
"buyPrice": 297,
"demand": 0,
"id": 128064028,
"name": "Atmospheric Processors",
"sellPrice": 281,
"supply": 97854,
"supplyLevel": "Med"
},
{
"buyPrice": 853,
"demand": 0,
"id": 128672309,
"name": "Building Fabricators",
"sellPrice": 825,
"supply": 457030,
"supplyLevel": "High"
},
{
"buyPrice": 2026,
"demand": 0,
"id": 128049222,
"name": "Crop Harvesters",
"sellPrice": 1987,
"supply": 478413,
"supplyLevel": "High"
},
{
"buyPrice": 1499,
"demand": 0,
"id": 128672307,
"name": "Geological Equipment",
"sellPrice": 1452,
"supply": 6460,
"supplyLevel": "High"
},
{
"buyPrice": 4281,
"demand": 0,
"id": 128049223,
"name": "Marine Equipment",
"sellPrice": 4201,
"supply": 21162,
"supplyLevel": "Med"
},
{
"buyPrice": 520,
"demand": 0,
"id": 128049221,
"name": "Mineral Extractors",
"sellPrice": 495,
"supply": 296281,
"supplyLevel": "Med"
},
{
"buyPrice": 435,
"demand": 0,
"id": 128049217,
"name": "Power Generators",
"sellPrice": 414,
"supply": 13414,
"supplyLevel": "Med"
},
{
"buyPrice": 744,
"demand": 0,
"id": 128672313,
"name": "Skimmer Components",
"sellPrice": 719,
"supply": 6730,
"supplyLevel": "High"
},
{
"buyPrice": 182,
"demand": 0,
"id": 128672308,
"name": "Thermal Cooling Units",
"sellPrice": 169,
"supply": 29877,
"supplyLevel": "High"
},
{
"buyPrice": 182,
"demand": 0,
"id": 128049218,
"name": "Water Purifiers",
"sellPrice": 169,
"supply": 1674290,
"supplyLevel": "High"
},
{
"buyPrice": 218,
"demand": 0,
"id": 128049210,
"name": "Basic Medicines",
"sellPrice": 202,
"supply": 63735,
"supplyLevel": "Med"
},
{
"buyPrice": 0,
"demand": 22559,
"demandLevel": "High",
"id": 128049209,
"name": "Performance Enhancers",
"sellPrice": 7861,
"supply": 0
},
{
"buyPrice": 0,
"demand": 3079,
"demandLevel": "Low",
"id": 128049669,
"name": "Progenitor Cells",
"sellPrice": 6995,
"supply": 0
},
{
"buyPrice": 0,
"demand": 307808,
"demandLevel": "Med",
"id": 128049176,
"name": "Aluminium",
"sellPrice": 400,
"supply": 0
},
{
"buyPrice": 0,
"demand": 160364,
"demandLevel": "Med",
"id": 128049168,
"name": "Beryllium",
"sellPrice": 8896,
"supply": 0
},
{
"buyPrice": 589,
"demand": 0,
"id": 128049162,
"name": "Cobalt",
"sellPrice": 561,
"supply": 577465,
"supplyLevel": "Med"
},
{
"buyPrice": 0,
"demand": 9366,
"demandLevel": "Low",
"id": 128049175,
"name": "Copper",
"sellPrice": 473,
"supply": 0
},
{
"buyPrice": 0,
"demand": 45670,
"demandLevel": "Med",
"id": 128049170,
"name": "Gallium",
"sellPrice": 5490,
"supply": 0
},
{
"buyPrice": 0,
"demand": 134615,
"demandLevel": "Med",
"id": 128049154,
"name": "Gold",
"sellPrice": 9992,
"supply": 0
},
{
"buyPrice": 0,
"demand": 91104,
"demandLevel": "Med",
"id": 128049169,
"name": "Indium",
"sellPrice": 6335,
"supply": 0
},
{
"buyPrice": 0,
"demand": 933898,
"demandLevel": "Med",
"id": 128049173,
"name": "Lithium",
"sellPrice": 1909,
"supply": 0
},
{
"buyPrice": 0,
"demand": 202731,
"demandLevel": "Med",
"id": 128671118,
"name": "Osmium",
"sellPrice": 7431,
"supply": 0
},
{
"buyPrice": 0,
"demand": 110584,
"demandLevel": "Med",
"id": 128049153,
"name": "Palladium",
"sellPrice": 13931,
"supply": 0
},
{
"buyPrice": 0,
"demand": 9044,
"demandLevel": "Med",
"id": 128049152,
"name": "Platinum",
"sellPrice": 19573,
"supply": 0
},
{
"buyPrice": 0,
"demand": 0,
"demandLevel": "Low",
"id": 128049155,
"name": "Silver",
"sellPrice": 4715,
"supply": 0
},
{
"buyPrice": 0,
"demand": 447212,
"demandLevel": "Med",
"id": 128049171,
"name": "Tantalum",
"sellPrice": 4462,
"supply": 0
},
{
"buyPrice": 0,
"demand": 752305,
"demandLevel": "Med",
"id": 128049174,
"name": "Titanium",
"sellPrice": 1217,
"supply": 0
},
{
"buyPrice": 0,
"demand": 484736,
"demandLevel": "Med",
"id": 128049172,
"name": "Uranium",
"sellPrice": 3073,
"supply": 0
},
{
"buyPrice": 67,
"demand": 0,
"id": 128049165,
"name": "Bauxite",
"sellPrice": 55,
"supply": 316220,
"supplyLevel": "Med"
},
{
"buyPrice": 2248,
"demand": 0,
"id": 128049156,
"name": "Bertrandite",
"sellPrice": 2205,
"supply": 9399,
"supplyLevel": "Med"
},
{
"buyPrice": 1205,
"demand": 0,
"id": 128049159,
"name": "Coltan",
"sellPrice": 1166,
"supply": 14910,
"supplyLevel": "Med"
},
{
"buyPrice": 1704,
"demand": 0,
"id": 128049158,
"name": "Gallite",
"sellPrice": 1671,
"supply": 11504,
"supplyLevel": "Med"
},
{
"buyPrice": 1956,
"demand": 0,
"id": 128049157,
"name": "Indite",
"sellPrice": 1918,
"supply": 10371,
"supplyLevel": "Med"
},
{
"buyPrice": 466,
"demand": 0,
"id": 128049161,
"name": "Lepidolite",
"sellPrice": 443,
"supply": 3078,
"supplyLevel": "Med"
},
{
"buyPrice": 0,
"demand": 2175,
"demandLevel": "High",
"id": 128668550,
"name": "Painite",
"sellPrice": 35533,
"supply": 0
},
{
"buyPrice": 231,
"demand": 0,
"id": 128049163,
"name": "Rutile",
"sellPrice": 214,
"supply": 53809,
"supplyLevel": "Med"
},
{
"buyPrice": 742,
"demand": 0,
"id": 128049160,
"name": "Uraninite",
"sellPrice": 717,
"supply": 213784,
"supplyLevel": "Med"
},
{
"buyPrice": 0,
"demand": 72766,
"demandLevel": "Med",
"id": 128049214,
"name": "Beer",
"sellPrice": 258,
"supply": 0
},
{
"buyPrice": 0,
"demand": 1154,
"demandLevel": "High",
"id": 128672306,
"name": "Bootleg Liquor",
"sellPrice": 665,
"supply": 0
},
{
"buyPrice": 0,
"demand": 576,
"demandLevel": "Med",
"id": 128049216,
"name": "Liquor",
"sellPrice": 674,
"supply": 0
},
{
"buyPrice": 0,
"demand": 99069,
"demandLevel": "Med",
"id": 128049215,
"name": "Wine",
"sellPrice": 364,
"supply": 0
},
{
"buyPrice": 16608,
"demand": 0,
"id": 128667728,
"name": "Imperial Slaves",
"sellPrice": 16479,
"supply": 23436,
"supplyLevel": "Med"
},
{
"buyPrice": 0,
"demand": 15047,
"demandLevel": "Low",
"id": 128049228,
"name": "Auto-Fabricators",
"sellPrice": 3864,
"supply": 0
},
{
"buyPrice": 0,
"demand": 194988,
"demandLevel": "High",
"id": 128049672,
"name": "Bioreducing Lichen",
"sellPrice": 1295,
"supply": 0
},
{
"buyPrice": 407,
"demand": 0,
"id": 128049225,
"name": "Computer Components",
"sellPrice": 387,
"supply": 3798,
"supplyLevel": "Med"
},
{
"buyPrice": 0,
"demand": 248962,
"demandLevel": "Med",
"id": 128049226,
"name": "H.E. Suits",
"sellPrice": 355,
"supply": 0
},
{
"buyPrice": 0,
"demand": 39366,
"demandLevel": "Low",
"id": 128049227,
"name": "Robotics",
"sellPrice": 1899,
"supply": 0
},
{
"buyPrice": 0,
"demand": 806828,
"demandLevel": "Med",
"id": 128049190,
"name": "Leather",
"sellPrice": 284,
"supply": 0
},
{
"buyPrice": 0,
"demand": 301629,
"demandLevel": "Med",
"id": 128049191,
"name": "Natural Fabrics",
"sellPrice": 565,
"supply": 0
},
{
"buyPrice": 0,
"demand": 5082304,
"demandLevel": "Med",
"id": 128049193,
"name": "Synthetic Fabrics",
"sellPrice": 305,
"supply": 0
},
{
"buyPrice": 17,
"demand": 0,
"id": 128049244,
"name": "Biowaste",
"sellPrice": 13,
"supply": 9513,
"supplyLevel": "Med"
},
{
"buyPrice": 31,
"demand": 0,
"id": 128049248,
"name": "Scrap",
"sellPrice": 26,
"supply": 131847,
"supplyLevel": "High"
},
{
"buyPrice": 0,
"demand": 13,
"demandLevel": "Low",
"id": 128049236,
"name": "Non-Lethal Weapons",
"sellPrice": 1770,
"supply": 0
},
{
"buyPrice": 0,
"demand": 466,
"demandLevel": "Low",
"id": 128049235,
"name": "Reactive Armour",
"sellPrice": 2158,
"supply": 0
}
],
"station": {
"id": 3222840320,
"name": "Godel Dock"
},
"system": {
"address": 2690553710955,
"id": 62675,
"name": "Quivira"
},
"timestamp": "2016-01-23T03:08:33Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment