api-docs/models/ShipyardShip.json

77 lines
1.3 KiB
JSON
Raw Normal View History

2022-10-06 01:42:15 +02:00
{
"description": "",
"type": "object",
"properties": {
"type": {
"$ref": "./ShipType.json"
2022-12-04 17:38:00 +01:00
},
"name": {
"type": "string"
},
"description": {
"type": "string"
2022-10-06 01:42:15 +02:00
},
2023-10-22 21:51:47 +02:00
"supply": {
"type": "string",
"description": "A rough estimate of the total supply of this good in the marketplace.",
"enum": [
"SCARCE",
"LIMITED",
"MODERATE",
"ABUNDANT"
]
},
2022-10-22 18:05:01 +02:00
"purchasePrice": {
2022-10-06 01:42:15 +02:00
"type": "integer"
},
"frame": {
"$ref": "./ShipFrame.json"
},
"reactor": {
"$ref": "./ShipReactor.json"
},
"engine": {
"$ref": "./ShipEngine.json"
},
"modules": {
"type": "array",
"items": {
"$ref": "./ShipModule.json"
}
},
"mounts": {
"type": "array",
"items": {
"$ref": "./ShipMount.json"
}
},
"crew": {
"type": "object",
"properties": {
"required": {
"type": "integer"
},
"capacity": {
"type": "integer"
}
},
"required": [
"required",
"capacity"
]
2022-10-06 01:42:15 +02:00
}
2022-10-22 18:05:01 +02:00
},
"required": [
"symbol",
2022-12-04 17:38:00 +01:00
"name",
"description",
2023-10-22 21:51:47 +02:00
"supply",
2022-10-22 18:05:01 +02:00
"purchasePrice",
"frame",
"reactor",
"engine",
"modules",
"mounts",
"crew"
2022-10-22 18:05:01 +02:00
]
2022-10-06 01:42:15 +02:00
}