mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
36 lines
823 B
JSON
36 lines
823 B
JSON
|
{
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"symbol": {
|
||
|
"type": "string",
|
||
|
"description": "The symbol of the trade good."
|
||
|
},
|
||
|
"type": {
|
||
|
"type": "string",
|
||
|
"description": "The type of transaction.",
|
||
|
"enum": [
|
||
|
"PURCHASE",
|
||
|
"SELL"
|
||
|
]
|
||
|
},
|
||
|
"units": {
|
||
|
"type": "integer",
|
||
|
"description": "The number of units of the transaction.",
|
||
|
"minimum": 1
|
||
|
},
|
||
|
"pricePerUnit": {
|
||
|
"type": "integer",
|
||
|
"description": "The price per unit of the transaction.",
|
||
|
"minimum": 1
|
||
|
},
|
||
|
"shipSymbol": {
|
||
|
"type": "string",
|
||
|
"description": "The symbol of the ship that made the transaction."
|
||
|
},
|
||
|
"timestamp": {
|
||
|
"type": "string",
|
||
|
"format": "date-time",
|
||
|
"description": "The timestamp of the transaction."
|
||
|
}
|
||
|
}
|
||
|
}
|