mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
61 lines
1.2 KiB
JSON
61 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"
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"registration",
|
|
"nav",
|
|
"crew",
|
|
"frame",
|
|
"reactor",
|
|
"engine",
|
|
"modules",
|
|
"mounts",
|
|
"cargo",
|
|
"fuel"
|
|
]
|
|
} |