mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
a27432248e
- rename ship symbol to ship type - update ship modules and engines w/ new types
50 lines
809 B
JSON
50 lines
809 B
JSON
{
|
|
"description": "",
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"$ref": "./ShipType.json"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"purchasePrice": {
|
|
"type": "integer"
|
|
},
|
|
"frame": {
|
|
"$ref": "./ShipFrame.json"
|
|
},
|
|
"reactor": {
|
|
"$ref": "./ShipReactor.json"
|
|
},
|
|
"engine": {
|
|
"$ref": "./ShipEngine.json"
|
|
},
|
|
"modules": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "./ShipModule.json"
|
|
}
|
|
},
|
|
"mounts": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "./ShipMount.json"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"name",
|
|
"description",
|
|
"purchasePrice",
|
|
"frame",
|
|
"reactor",
|
|
"engine",
|
|
"modules",
|
|
"mounts"
|
|
]
|
|
} |