api-docs/models/ShipyardShip.json
2023-10-22 12:51:47 -07:00

77 lines
1.3 KiB
JSON

{
"description": "",
"type": "object",
"properties": {
"type": {
"$ref": "./ShipType.json"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"supply": {
"type": "string",
"description": "A rough estimate of the total supply of this good in the marketplace.",
"enum": [
"SCARCE",
"LIMITED",
"MODERATE",
"ABUNDANT"
]
},
"purchasePrice": {
"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"
]
}
},
"required": [
"symbol",
"name",
"description",
"supply",
"purchasePrice",
"frame",
"reactor",
"engine",
"modules",
"mounts",
"crew"
]
}