From 0e97d330af4894b31ff773c5574e81d794c04ec4 Mon Sep 17 00:00:00 2001 From: Space Admiral Date: Fri, 23 Dec 2022 10:25:46 -0500 Subject: [PATCH] add waypoint data to chart endpoint --- models/Chart.json | 3 +++ reference/SpaceTraders.json | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/models/Chart.json b/models/Chart.json index d2879d9..7e0da01 100644 --- a/models/Chart.json +++ b/models/Chart.json @@ -2,6 +2,9 @@ "type": "object", "description": "The chart of a system or waypoint, which makes the location visible to other agents.", "properties": { + "waypointSymbol": { + "type": "string" + }, "submittedBy": { "type": "string" }, diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index ad22593..7d3a42e 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -1220,10 +1220,14 @@ "properties": { "chart": { "$ref": "../models/Chart.json" + }, + "waypoint": { + "$ref": "../models/Waypoint.json" } }, "required": [ - "chart" + "chart", + "waypoint" ], "type": "object" }