api-docs/models/Ship.json

65 lines
1.2 KiB
JSON
Raw Permalink Normal View History

2022-09-18 17:49:41 +02:00
{
2023-06-09 22:50:36 +02:00
"description": "Ship details.",
2022-09-18 17:49:41 +02:00
"type": "object",
"properties": {
"symbol": {
"type": "string",
2023-06-09 22:50:36 +02:00
"description": "The globally unique identifier of the ship in the following format: `[AGENT_SYMBOL]-[HEX_ID]`"
2022-09-18 17:49:41 +02:00
},
"registration": {
"$ref": "./ShipRegistration.json"
},
"nav": {
"$ref": "./ShipNav.json"
},
"crew": {
"$ref": "./ShipCrew.json"
},
"frame": {
"$ref": "./ShipFrame.json"
},
"reactor": {
"$ref": "./ShipReactor.json"
},
2022-10-06 01:42:15 +02:00
"engine": {
"$ref": "./ShipEngine.json"
2022-09-18 17:49:41 +02:00
},
"modules": {
"type": "array",
2023-06-09 22:50:36 +02:00
"description": "Modules installed in this ship.",
2022-09-18 17:49:41 +02:00
"items": {
"$ref": "./ShipModule.json"
}
},
"mounts": {
"type": "array",
2023-06-09 22:50:36 +02:00
"description": "Mounts installed in this ship.",
2022-09-18 17:49:41 +02:00
"items": {
"$ref": "./ShipMount.json"
}
},
"cargo": {
"$ref": "./ShipCargo.json"
},
"fuel": {
"$ref": "./ShipFuel.json"
2023-07-16 17:58:41 +02:00
},
"cooldown": {
"$ref": "./Cooldown.json"
2022-09-18 17:49:41 +02:00
}
},
"required": [
2022-10-22 18:05:01 +02:00
"symbol",
"registration",
"nav",
"crew",
"frame",
"reactor",
"engine",
"modules",
"mounts",
"cargo",
2023-07-16 18:44:28 +02:00
"fuel",
"cooldown"
2022-09-18 17:49:41 +02:00
]
}