Merge branch 'main' into more-schema-work

This commit is contained in:
Keith Jackson 2023-12-19 13:42:58 -08:00
commit f826d4f338
4 changed files with 15 additions and 4 deletions

View File

@ -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"
] ]
} }

View File

@ -5,9 +5,6 @@
"destination": { "destination": {
"$ref": "./ShipNavRouteWaypoint.json" "$ref": "./ShipNavRouteWaypoint.json"
}, },
"departure": {
"$ref": "./ShipNavRouteWaypointDeprecated.json"
},
"origin": { "origin": {
"$ref": "./ShipNavRouteWaypoint.json" "$ref": "./ShipNavRouteWaypoint.json"
}, },

View File

@ -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"

View File

@ -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"
} }