add waypoint data to chart endpoint

This commit is contained in:
Space Admiral 2022-12-23 10:25:46 -05:00
parent f9defdd086
commit 0e97d330af
2 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,9 @@
"type": "object", "type": "object",
"description": "The chart of a system or waypoint, which makes the location visible to other agents.", "description": "The chart of a system or waypoint, which makes the location visible to other agents.",
"properties": { "properties": {
"waypointSymbol": {
"type": "string"
},
"submittedBy": { "submittedBy": {
"type": "string" "type": "string"
}, },

View File

@ -1220,10 +1220,14 @@
"properties": { "properties": {
"chart": { "chart": {
"$ref": "../models/Chart.json" "$ref": "../models/Chart.json"
},
"waypoint": {
"$ref": "../models/Waypoint.json"
} }
}, },
"required": [ "required": [
"chart" "chart",
"waypoint"
], ],
"type": "object" "type": "object"
} }