From 48e2ee72f58be8430f6b3e87af44f3067db67c81 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" }