api-docs/models/Ship.json

60 lines
1.1 KiB
JSON
Raw Normal View History

2022-09-18 17:49:41 +02:00
{
"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]`",
2022-10-16 06:34:08 +02:00
"minLength": 8
2022-09-18 17:49:41 +02:00
},
"registration": {
"$ref": "./ShipRegistration.json"
},
"nav": {
"$ref": "./ShipNav.json"
},
"crew": {
"$ref": "./ShipCrew.json"
},
"frame": {
"$ref": "./ShipFrame.json"
},
"reactor": {
"$ref": "./ShipReactor.json"
},
2022-10-06 01:42:15 +02:00
"engine": {
"$ref": "./ShipEngine.json"
2022-09-18 17:49:41 +02:00
},
"modules": {
"type": "array",
"items": {
"$ref": "./ShipModule.json"
}
},
"mounts": {
"type": "array",
"items": {
"$ref": "./ShipMount.json"
}
},
"cargo": {
"$ref": "./ShipCargo.json"
},
"fuel": {
"$ref": "./ShipFuel.json"
}
},
"required": [
2022-10-22 18:05:01 +02:00
"symbol",
"registration",
"nav",
"crew",
"frame",
"reactor",
"engine",
"modules",
"mounts",
"cargo",
"fuel"
2022-09-18 17:49:41 +02:00
]
}