Additions for 2.4

This commit is contained in:
Jonathan Harris 2017-09-14 16:17:03 +01:00
parent fa753ab84d
commit 38076c98bf

View File

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