mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-26 06:38:06 +01:00
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"description": "",
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"description": "The symbol of the shipyard. The symbol is the same as the waypoint where the shipyard is located.",
|
|
"minLength": 1
|
|
},
|
|
"shipTypes": {
|
|
"type": "array",
|
|
"description": "The list of ship types available for purchase at this shipyard.",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"$ref": "./ShipType.json"
|
|
}
|
|
},
|
|
"required": [
|
|
"type"
|
|
]
|
|
}
|
|
},
|
|
"transactions": {
|
|
"type": "array",
|
|
"description": "The list of recent transactions at this shipyard.",
|
|
"items": {
|
|
"$ref": "./ShipyardTransaction.json"
|
|
}
|
|
},
|
|
"ships": {
|
|
"type": "array",
|
|
"description": "The ships that are currently available for purchase at the shipyard.",
|
|
"items": {
|
|
"$ref": "./ShipyardShip.json"
|
|
}
|
|
},
|
|
"modificationsFee": {
|
|
"type": "integer",
|
|
"description": "The fee to modify a ship at this shipyard. This includes installing or removing modules and mounts on a ship. In the case of mounts, the fee is a flat rate per mount. In the case of modules, the fee is per slot the module occupies."
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"shipTypes",
|
|
"modificationsFee"
|
|
]
|
|
} |