From 3ff410cbfe2ab9f05b73a7d1d92cca0593480018 Mon Sep 17 00:00:00 2001 From: SpaceAdmiral Date: Sun, 10 Mar 2024 12:15:53 -0700 Subject: [PATCH] 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" }