mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
41 lines
877 B
JSON
41 lines
877 B
JSON
{
|
|
"description": "The ship that was scanned. Details include information about the ship that could be detected by the scanner.",
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"description": "The globally unique identifier of the ship in the following format: `[AGENT_SYMBOL]_[HEX_ID]`",
|
|
"minLength": 8
|
|
},
|
|
"registration": {
|
|
"$ref": "./ShipRegistration.json"
|
|
},
|
|
"nav": {
|
|
"$ref": "./ShipNav.json"
|
|
},
|
|
"frame": {
|
|
"$ref": "./ShipFrame.json"
|
|
},
|
|
"reactor": {
|
|
"$ref": "./ShipReactor.json"
|
|
},
|
|
"engine": {
|
|
"$ref": "./ShipEngine.json"
|
|
},
|
|
"mounts": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "./ShipMount.json"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"registration",
|
|
"nav",
|
|
"frame",
|
|
"reactor",
|
|
"engine",
|
|
"mounts"
|
|
]
|
|
} |