35 lines
962 B
JSON
35 lines
962 B
JSON
|
{
|
||
|
"title": "Inventory Slot",
|
||
|
"description": "Describes a list of inventory slots",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"inventory_slots": {
|
||
|
"description": "A list of inventory slots",
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"description": "A inventory slot object",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"description": "An integer id associated with this customization",
|
||
|
"type": "integer"
|
||
|
},
|
||
|
"item": {
|
||
|
"$ref": "./item.schema.json#/properties/items/items"
|
||
|
},
|
||
|
"quantity": {
|
||
|
"description": "How much of this item",
|
||
|
"type": "integer"
|
||
|
}
|
||
|
},
|
||
|
"additionalProperties": false,
|
||
|
"required": ["id", "item", "quantity"]
|
||
|
}
|
||
|
},
|
||
|
"inventory_slot_update": {
|
||
|
"$ref": "#/properties/inventory_slots/items"
|
||
|
}
|
||
|
},
|
||
|
"required": ["inventory_slots", "inventory_slot_update"]
|
||
|
}
|