mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-26 06:38:06 +01:00
78 lines
1.7 KiB
JSON
78 lines
1.7 KiB
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."
|
|
},
|
|
"registration": {
|
|
"$ref": "./ShipRegistration.json"
|
|
},
|
|
"nav": {
|
|
"$ref": "./ShipNav.json"
|
|
},
|
|
"frame": {
|
|
"type": "object",
|
|
"description": "The frame of the ship.",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"description": "The symbol of the frame."
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol"
|
|
]
|
|
},
|
|
"reactor": {
|
|
"type": "object",
|
|
"description": "The reactor of the ship.",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"description": "The symbol of the reactor."
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol"
|
|
]
|
|
},
|
|
"engine": {
|
|
"type": "object",
|
|
"description": "The engine of the ship.",
|
|
"required": [
|
|
"symbol"
|
|
],
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"description": "The symbol of the engine."
|
|
}
|
|
}
|
|
},
|
|
"mounts": {
|
|
"type": "array",
|
|
"description": "List of mounts installed in the ship.",
|
|
"items": {
|
|
"type": "object",
|
|
"description": "A mount on the ship.",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"description": "The symbol of the mount."
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"registration",
|
|
"nav",
|
|
"engine"
|
|
]
|
|
} |