cpularp-manager-api/test/fixtures/schemas/schematic.schema.json

70 lines
2.1 KiB
JSON

{
"title": "Schematic",
"description": "Describes a list of schematics",
"type": "object",
"properties": {
"schematics": {
"description": "A list of schematics",
"type": "array",
"items": {
"description": "A schematic object",
"type": "object",
"properties": {
"id": {
"description": "An integer id associated with this schematic",
"type": "integer"
},
"material": {
"description": "A list of materials associated with this schematic",
"type": "array",
"items": {
"$ref": "./inventoryslot.schema.json#/properties/inventory_slots/items"
}
},
"tools": {
"description": "A list of tools associated with this schematic",
"type": "array",
"items": {
"$ref": "./inventoryslot.schema.json#/properties/inventory_slots/items"
}
},
"requirements": {
"description": "A list of requirements for this schematic",
"type": "array",
"items": {
"$ref": "./function.schema.json#/properties/functions/items"
}
},
"time_units": {
"description": "An amount of time units attributed to this schematic",
"type": "integer"
},
"result": {
"$ref": "./inventoryslot.schema.json#/properties/inventory_slots/items"
},
"visibility": {
"description": "A list of groups attributed to this schematic",
"type": "array",
"items": {
"$ref": "./group.schema.json#/properties/groups/items"
}
}
},
"additionalProperties": false,
"required": [
"id",
"material",
"tools",
"requirements",
"time_units",
"result",
"visibility"
]
}
},
"schematic_update": {
"$ref": "#/properties/schematics/items"
}
},
"required": ["schematics", "schematic_update"]
}