mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-20 18:47:39 +03:00
Added examples JSON for both schemas
This commit is contained in:
parent
3c91042e34
commit
fd9e596552
18
examples/commodity-v0.1.json
Normal file
18
examples/commodity-v0.1.json
Normal 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"
|
||||
}
|
||||
}
|
32
examples/commodity-v2.0-draft.json
Normal file
32
examples/commodity-v2.0-draft.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user