diff --git a/examples/commodity-v0.1.json b/examples/commodity-v0.1.json new file mode 100644 index 0000000..dfea54f --- /dev/null +++ b/examples/commodity-v0.1.json @@ -0,0 +1,18 @@ +{ + "$schemaRef": "http://schemas.elite-markets.net/eddn/commodity/1", + "header": { + "uploaderID": "abcdef0123456789", + "softwareName": "My Awesome Market Uploader", + "softwareVersion": "v3.14" + }, + "message": { + "systemName": "Eranin", + "stationName": "Azeban Orbital", + "itemName": "Gold", + "buyPrice": 1024, + "stationStock": 7, + "sellPrice": 1138, + "demand": 42, + "timestamp": "2014-11-17T12:34:56+00:00" + } +} \ No newline at end of file diff --git a/examples/commodity-v2.0-draft.json b/examples/commodity-v2.0-draft.json new file mode 100644 index 0000000..5ec2081 --- /dev/null +++ b/examples/commodity-v2.0-draft.json @@ -0,0 +1,32 @@ +{ + "$schemaRef": "http://schemas.elite-markets.net/eddn/commodity/2", + "header": { + "uploaderID": "abcdef0123456789", + "softwareName": "My Awesome Market Uploader", + "softwareVersion": "v3.14" + }, + "message": { + "systemName": "Eranin", + "stationName": "Azeban Orbital", + "timestamp": "2014-11-17T12:34:56+00:00" + "commodities" : [ + { + "name": "Gold", + "buyPrice": 1024, + "supply": 7, + "supplyLevel": "Low", + "sellPrice": 1138, + "demand": 42, + "demandLevel": "Med" + }, + { + "name": "Explosives", + "buyPrice": 999, + "supply": 1500, + "supplyLevel": "Low", + "sellPrice": 0, + "demand": 0 + } + ] + } +} \ No newline at end of file