api-docs/models/Ship.json

61 lines
1.2 KiB
JSON
Raw 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"
}
},
"required": [
2022-10-22 18:05:01 +02:00
"symbol",
"registration",
"nav",
"crew",
"frame",
"reactor",
"engine",
"modules",
"mounts",
"cargo",
"fuel"
2022-09-18 17:49:41 +02:00
]
}