mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
ccbbedd73f
* Typo and descriptions * Remove $ref suiblings. * missed one when refactoring ShipNavRouteWaypointDeprecated to keep deprecated flag. * Agent.shipCount always seems to be returned. Why would this be optional?
34 lines
804 B
JSON
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"
|
|
]
|
|
} |