mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
65 lines
1.2 KiB
JSON
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"
|
|
]
|
|
} |