mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
Merge branch 'main' into more-schema-work
This commit is contained in:
commit
f826d4f338
@ -2,6 +2,9 @@
|
||||
"type": "object",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"symbol": {
|
||||
"$ref": "./WaypointSymbol.json"
|
||||
},
|
||||
"connections": {
|
||||
"type": "array",
|
||||
"description": "All the gates that are connected to this waypoint.",
|
||||
@ -12,6 +15,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"symbol",
|
||||
"connections"
|
||||
]
|
||||
}
|
@ -5,9 +5,6 @@
|
||||
"destination": {
|
||||
"$ref": "./ShipNavRouteWaypoint.json"
|
||||
},
|
||||
"departure": {
|
||||
"$ref": "./ShipNavRouteWaypointDeprecated.json"
|
||||
},
|
||||
"origin": {
|
||||
"$ref": "./ShipNavRouteWaypoint.json"
|
||||
},
|
||||
|
@ -6,6 +6,11 @@
|
||||
"$ref": "./WaypointSymbol.json"
|
||||
},
|
||||
"shipSymbol": {
|
||||
"type": "string",
|
||||
"deprecated": true,
|
||||
"description": "The symbol of the ship that was the subject of the transaction."
|
||||
},
|
||||
"shipType": {
|
||||
"type": "string",
|
||||
"description": "The symbol of the ship that was the subject of the transaction."
|
||||
},
|
||||
@ -27,6 +32,7 @@
|
||||
"required": [
|
||||
"waypointSymbol",
|
||||
"shipSymbol",
|
||||
"shipType",
|
||||
"price",
|
||||
"agentSymbol",
|
||||
"timestamp"
|
||||
|
@ -2490,12 +2490,16 @@
|
||||
},
|
||||
"transaction": {
|
||||
"$ref": "../models/MarketTransaction.json"
|
||||
},
|
||||
"agent": {
|
||||
"$ref": "../models/Agent.json"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"nav",
|
||||
"cooldown",
|
||||
"transaction"
|
||||
"transaction",
|
||||
"agent"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user