api-docs/models/ScannedShip.json

73 lines
1.4 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"
}
},
"required": [
"symbol"
]
},
"reactor": {
"type": "object",
"description": "The reactor of the ship.",
"properties": {
"symbol": {
"type": "string"
}
},
"required": [
"symbol"
]
},
"engine": {
"type": "object",
"description": "The engine of the ship.",
"properties": {
"symbol": {
"type": "string"
}
},
"required": [
"symbol"
]
},
"mounts": {
"type": "array",
"items": {
"type": "object",
"description": "A mount on the ship.",
"properties": {
"symbol": {
"type": "string"
}
},
"required": [
"symbol"
]
}
}
},
"required": [
"symbol",
"registration",
"nav",
"engine"
]
}