api-docs/models/Ship.json
2023-07-16 16:44:28 +00:00

65 lines
1.2 KiB
JSON

{
"description": "Ship details.",
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The globally unique identifier of the ship in the following format: `[AGENT_SYMBOL]-[HEX_ID]`"
},
"registration": {
"$ref": "./ShipRegistration.json"
},
"nav": {
"$ref": "./ShipNav.json"
},
"crew": {
"$ref": "./ShipCrew.json"
},
"frame": {
"$ref": "./ShipFrame.json"
},
"reactor": {
"$ref": "./ShipReactor.json"
},
"engine": {
"$ref": "./ShipEngine.json"
},
"modules": {
"type": "array",
"description": "Modules installed in this ship.",
"items": {
"$ref": "./ShipModule.json"
}
},
"mounts": {
"type": "array",
"description": "Mounts installed in this ship.",
"items": {
"$ref": "./ShipMount.json"
}
},
"cargo": {
"$ref": "./ShipCargo.json"
},
"fuel": {
"$ref": "./ShipFuel.json"
},
"cooldown": {
"$ref": "./Cooldown.json"
}
},
"required": [
"symbol",
"registration",
"nav",
"crew",
"frame",
"reactor",
"engine",
"modules",
"mounts",
"cargo",
"fuel",
"cooldown"
]
}