Skip to content

Commit

Permalink
Additions for 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Marginal committed Sep 14, 2017
1 parent fa753ab commit 38076c9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions schemas/commodity-v3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
}
}
}
}
Expand Down

0 comments on commit 38076c9

Please sign in to comment.