mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40: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"
|
|
]
|
|
} |