diff --git a/schemas/commodity-v3.0.json b/schemas/commodity-v3.0.json index e829b815..37a2e427 100644 --- a/schemas/commodity-v3.0.json +++ b/schemas/commodity-v3.0.json @@ -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 + } } } }