api-docs/models/ShipyardTransaction.json
2023-12-05 14:00:24 -08:00

34 lines
804 B
JSON

{
"type": "object",
"description": "Results of a transaction with a shipyard.",
"properties": {
"waypointSymbol": {
"$ref": "./WaypointSymbol.json"
},
"shipSymbol": {
"type": "string",
"description": "The symbol of the ship that was the subject of the transaction."
},
"price": {
"type": "integer",
"description": "The price of the transaction.",
"minimum": 0
},
"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",
"price",
"agentSymbol",
"timestamp"
]
}