api-docs/models/ScannedShip.json
2023-06-09 23:50:36 +03:00

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"
]
}