mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-07 19:03:10 +03:00
Merge pull request #6 from AnthorNet/master
Default gateway settings now include a /test variant of v2 commodity schema.
This commit is contained in:
commit
13e5cb4360
@ -9,7 +9,7 @@
|
|||||||
"systemName": "Eranin",
|
"systemName": "Eranin",
|
||||||
"stationName": "Azeban Orbital",
|
"stationName": "Azeban Orbital",
|
||||||
"timestamp": "2014-11-17T12:34:56+00:00"
|
"timestamp": "2014-11-17T12:34:56+00:00"
|
||||||
"commodities" : [
|
"commodities": [
|
||||||
{
|
{
|
||||||
"name": "Gold",
|
"name": "Gold",
|
||||||
"buyPrice": 1024,
|
"buyPrice": 1024,
|
||||||
|
@ -36,7 +36,8 @@ class _Settings(object):
|
|||||||
GATEWAY_JSON_SCHEMAS = {
|
GATEWAY_JSON_SCHEMAS = {
|
||||||
"http://schemas.elite-markets.net/eddn/commodity/1": "schemas/commodity-v0.1.json",
|
"http://schemas.elite-markets.net/eddn/commodity/1": "schemas/commodity-v0.1.json",
|
||||||
"http://schemas.elite-markets.net/eddn/commodity/1/test": "schemas/commodity-v0.1.json",
|
"http://schemas.elite-markets.net/eddn/commodity/1/test": "schemas/commodity-v0.1.json",
|
||||||
"http://schemas.elite-markets.net/eddn/commodity/2": "schemas/commodity-v2.0-draft.json"
|
"http://schemas.elite-markets.net/eddn/commodity/2": "schemas/commodity-v2.0-draft.json",
|
||||||
|
"http://schemas.elite-markets.net/eddn/commodity/2/test": "schemas/commodity-v2.0-draft.json"
|
||||||
}
|
}
|
||||||
|
|
||||||
def loadFrom(self, fileName):
|
def loadFrom(self, fileName):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user