mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
54 lines
1.0 KiB
JSON
54 lines
1.0 KiB
JSON
|
{
|
||
|
"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"
|
||
|
},
|
||
|
"thrusters": {
|
||
|
"$ref": "./ShipThrusters.json"
|
||
|
},
|
||
|
"modules": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "./ShipModule.json"
|
||
|
}
|
||
|
},
|
||
|
"mounts": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "./ShipMount.json"
|
||
|
}
|
||
|
},
|
||
|
"cargo": {
|
||
|
"$ref": "./ShipCargo.json"
|
||
|
},
|
||
|
"fuel": {
|
||
|
"$ref": "./ShipFuel.json"
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"symbol"
|
||
|
]
|
||
|
}
|