mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
fix transaction response on ship install / remove
This commit is contained in:
parent
7685727af7
commit
15be27fd58
35
models/ShipModificationTransaction.json
Normal file
35
models/ShipModificationTransaction.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"waypointSymbol": {
|
||||
"type": "string",
|
||||
"description": "The symbol of the waypoint where the transaction took place."
|
||||
},
|
||||
"shipSymbol": {
|
||||
"type": "string",
|
||||
"description": "The symbol of the ship that made the transaction."
|
||||
},
|
||||
"tradeSymbol": {
|
||||
"type": "string",
|
||||
"description": "The symbol of the trade good."
|
||||
},
|
||||
"totalPrice": {
|
||||
"type": "integer",
|
||||
"description": "The total price of the transaction.",
|
||||
"minimum": 0
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "The timestamp of the transaction."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"waypointSymbol",
|
||||
"shipSymbol",
|
||||
"tradeSymbol",
|
||||
"totalPrice",
|
||||
"timestamp"
|
||||
],
|
||||
"description": "Result of a transaction for a ship modification, such as installing a mount or a module."
|
||||
}
|
@ -3030,7 +3030,7 @@
|
||||
"$ref": "../models/ShipCargo.json"
|
||||
},
|
||||
"transaction": {
|
||||
"$ref": "../models/ShipyardTransaction.json"
|
||||
"$ref": "../models/ShipModificationTransaction.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3120,7 +3120,7 @@
|
||||
"$ref": "../models/ShipCargo.json"
|
||||
},
|
||||
"transaction": {
|
||||
"$ref": "../models/ShipyardTransaction.json"
|
||||
"$ref": "../models/ShipModificationTransaction.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user