mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-19 18:17:37 +03:00
Merge pull request #68 from Marginal/master
Add "economies" and "prohibited" properties
This commit is contained in:
commit
d1db9a8e3e
@ -49,6 +49,7 @@
|
||||
"commodities": {
|
||||
"type" : "array",
|
||||
"minItems" : 1,
|
||||
"description" : "Commodities returned by the Companion API, with illegal commodities omitted",
|
||||
"items" : {
|
||||
"type" : "object",
|
||||
"additionalProperties" : false,
|
||||
@ -57,7 +58,7 @@
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"minLength" : 1,
|
||||
"description" : "Commodity name as returned by the Companion API, misspellings and all"
|
||||
"description" : "Symbolic name as returned by the Companion API"
|
||||
},
|
||||
"meanPrice": {
|
||||
"type" : "integer"
|
||||
@ -93,6 +94,32 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"economies": {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "object",
|
||||
"additionalProperties" : false,
|
||||
"required" : [ "name", "proportion" ],
|
||||
"properties" : {
|
||||
"name": {
|
||||
"type" : "string",
|
||||
"minLength" : 1,
|
||||
"description" : "Economy type as returned by the Companion API"
|
||||
},
|
||||
"proportion": {
|
||||
"type" : "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"prohibited": {
|
||||
"type" : "array",
|
||||
"uniqueItems" : true,
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"minLength" : 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user