mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
46 lines
858 B
JSON
46 lines
858 B
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"size": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"inventory": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"examples": [
|
|
"ORE_COPPER",
|
|
"MICROPROCESSORS",
|
|
"FOOD"
|
|
]
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"examples": [
|
|
"Copper Ore",
|
|
"Microprocessors",
|
|
"Food"
|
|
]
|
|
},
|
|
"units": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"name",
|
|
"units"
|
|
]
|
|
},
|
|
"required": [
|
|
"size",
|
|
"inventory"
|
|
]
|
|
}
|
|
}
|
|
} |