api-docs/models/ShipyardTransaction.json

35 lines
874 B
JSON
Raw Permalink Normal View History

2022-10-22 18:05:01 +02:00
{
"type": "object",
2023-06-09 22:50:36 +02:00
"description": "Results of a transaction with a shipyard.",
2022-10-22 18:05:01 +02:00
"properties": {
"waypointSymbol": {
"type": "string",
"description": "The symbol of the waypoint where the transaction took place."
},
2022-12-10 17:11:53 +01:00
"shipSymbol": {
2022-10-22 18:05:01 +02:00
"type": "string",
2023-06-09 22:50:36 +02:00
"description": "The symbol of the ship that was the subject of the transaction."
2022-10-22 18:05:01 +02:00
},
"price": {
"type": "integer",
"description": "The price of the transaction.",
"minimum": 0
2022-10-22 18:05:01 +02:00
},
"agentSymbol": {
"type": "string",
"description": "The symbol of the agent that made the transaction."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "The timestamp of the transaction."
}
},
"required": [
"waypointSymbol",
"shipSymbol",
2022-10-22 18:05:01 +02:00
"price",
"agentSymbol",
"timestamp"
]
}