Added examples JSON for both schemas

This commit is contained in:
AnthorNet 2015-04-16 09:50:57 +02:00
parent 3c91042e34
commit fd9e596552
2 changed files with 50 additions and 0 deletions

View File

@ -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"
}
}

View File

@ -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
}
]
}
}