api-docs/models/ShipyardTransaction.json

34 lines
804 B
JSON
Raw 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": {
"$ref": "./WaypointSymbol.json"
},
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"
]
}