From 32378ce7781c3aba0ca2ac6fd4fff4a0d2d29d62 Mon Sep 17 00:00:00 2001 From: Ben C Date: Mon, 21 Nov 2022 05:08:52 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index f84505df..40f37269 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -989,6 +989,13 @@ "$ref": "#/definitions/SignalInfo" } }, + "shuttles": { + "type": "array", + "description": "Add shuttles to this planet", + "items": { + "$ref": "#/definitions/ShuttleInfo" + } + }, "remotes": { "type": "array", "description": "Add projection pools/platforms, whiteboards, and stones to this planet", @@ -1881,6 +1888,36 @@ } } }, + "ShuttleInfo": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "description": "The unique shuttle id" + }, + "position": { + "description": "The location of this shuttle.", + "$ref": "#/definitions/MVector3" + }, + "rotation": { + "description": "The rotation of this shuttle.", + "$ref": "#/definitions/MVector3" + }, + "parentPath": { + "type": "string", + "description": "The relative path from the planet to the parent of this object. Optional (will default to the root sector)." + }, + "isRelativeToParent": { + "type": "boolean", + "description": "Whether the positional and rotational coordinates are relative to parent instead of the root planet object." + }, + "rename": { + "type": "string", + "description": "An optional rename of this object" + } + } + }, "RemoteInfo": { "type": "object", "additionalProperties": false,