From 26cc968eb30066d19c2a2404751a8ab082f272a9 Mon Sep 17 00:00:00 2001 From: Space Admiral Date: Sat, 21 Jan 2023 08:45:36 -0800 Subject: [PATCH] fix: update enums for factions and ship roles --- models/ShipRole.json | 18 +++++++++++++++++- reference/SpaceTraders.json | 7 +------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/models/ShipRole.json b/models/ShipRole.json index 23d7210..d6c3bb6 100644 --- a/models/ShipRole.json +++ b/models/ShipRole.json @@ -1,4 +1,20 @@ { "type": "string", - "description": "The registered role of the ship" + "description": "The registered role of the ship", + "enum": [ + "FABRICATOR", + "HARVESTER", + "HAULER", + "INTERCEPTOR", + "EXCAVATOR", + "TRANSPORT", + "REPAIR", + "SURVEYOR", + "COMMAND", + "CARRIER", + "PATROL", + "SATELLITE", + "EXPLORER", + "REFINERY" + ] } \ No newline at end of file diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index 042d0c8..f09236b 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -74,12 +74,7 @@ "VOID", "GALACTIC", "QUANTUM", - "DOMINION", - "ASTRO", - "CORSAIRS", - "UNITED", - "SOLITARY", - "COBALT" + "DOMINION" ] }, "symbol": {