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