From 03052562d6d19a635c37de8eeb66514544157ab2 Mon Sep 17 00:00:00 2001 From: Space Admiral Date: Wed, 23 Mar 2022 08:57:02 -0700 Subject: [PATCH] add stats to ship --- models/Ship.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/models/Ship.yaml b/models/Ship.yaml index 40a50be..2ad4179 100644 --- a/models/Ship.yaml +++ b/models/Ship.yaml @@ -110,6 +110,19 @@ properties: type: number engine: type: number + stats: + type: object + required: + - fuelTank + - cargoLimit + - jumpRange + properties: + fuelTank: + type: integer + cargoLimit: + type: integer + jumpRange: + type: integer status: type: string minLength: 1