api-docs/models/Ship.json

54 lines
1.0 KiB
JSON
Raw Normal View History

2022-09-18 17:49:41 +02:00
{
"description": "A ship",
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The globally unique identifier of the ship in the following format: `[AGENT_SYMBOL]_[HEX_ID]`",
"minLength": 8,
"examples": [
"FALCON_0A1",
"FALCON_00A"
]
},
"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",
"items": {
"$ref": "./ShipModule.json"
}
},
"mounts": {
"type": "array",
"items": {
"$ref": "./ShipMount.json"
}
},
"cargo": {
"$ref": "./ShipCargo.json"
},
"fuel": {
"$ref": "./ShipFuel.json"
}
},
"required": [
"symbol"
]
}