Add item_descriptor and use it in acceptable places (#115)

* Add item_descriptor and use it in acceptable places

* Rename descriptor

* Fix refs

* Fix refs

* Add descriptor to 3 more components
This commit is contained in:
Piotr Brzozowski
2022-10-01 19:34:08 +02:00
committed by GitHub
parent 393e7191dd
commit dcd9877aa7
15 changed files with 74 additions and 30 deletions

View File

@@ -33,21 +33,22 @@
{
"type": "array",
"items": {
"$ref": "../../../../general/item/identifier.json"
}
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"growth": {
"type": "number"
},
"item": {
"oneOf": [
{
"$ref": "../../../../general/item/identifier.json"
},
{
"type": "object",
"properties": {
"growth": {
"type": "number"
},
"item": {
"$ref": "../../../../general/item/identifier.json"
}
}
}
}
]
}
},
{