From 52a0e8a3b5f8b9a3136698e645d2bb415fb70205 Mon Sep 17 00:00:00 2001 From: Leaf <59538202+AroLeaf@users.noreply.github.com> Date: Sat, 30 Dec 2023 10:19:00 +0100 Subject: [PATCH 1/2] fix: typo in ActivityLevel.json --- models/ActivityLevel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/ActivityLevel.json b/models/ActivityLevel.json index 2a8d4b8..c1495d0 100644 --- a/models/ActivityLevel.json +++ b/models/ActivityLevel.json @@ -11,6 +11,6 @@ "WEAK": "Indicates very low production or consumption activity. This may suggest a surplus in supply or a lack of demand.", "GROWING": "Represents increasing activity in production or consumption, suggesting a developing market.", "STRONG": "Signifies high levels of production or consumption. Indicates a healthy and active market with high demand or supply.", - "RESTRICTED": "Reflects a bottlneck in production or consumption, possibly due to a lack of supply or demand in related goods." + "RESTRICTED": "Reflects a bottleneck in production or consumption, possibly due to a lack of supply or demand in related goods." } -} \ No newline at end of file +} From 3ff410cbfe2ab9f05b73a7d1d92cca0593480018 Mon Sep 17 00:00:00 2001 From: SpaceAdmiral Date: Sun, 10 Mar 2024 12:15:53 -0700 Subject: [PATCH 2/2] fix: add events to extract/survey endpoint --- reference/SpaceTraders.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index a34c111..d153461 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -2353,12 +2353,23 @@ }, "cargo": { "$ref": "../models/ShipCargo.json" + }, + "events": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "../models/ShipConditionEvent.json" + } + ] + } } }, "required": [ "extraction", "cooldown", - "cargo" + "cargo", + "events" ], "type": "object" }