From 486032d3d1b76931fd20eeb372552985531bc301 Mon Sep 17 00:00:00 2001 From: Ben C Date: Fri, 17 Mar 2023 19:17:41 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 238 ++++++++++++++------------- 1 file changed, 121 insertions(+), 117 deletions(-) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 82696e36..26710fec 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -2034,6 +2034,22 @@ "type": "object", "additionalProperties": false, "properties": { + "position": { + "description": "Position of the prop", + "$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" + }, "audio": { "type": "string", "description": "The audio to use. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." @@ -2068,10 +2084,6 @@ "description": "`false` if the player can hear the signal without equipping the signal-scope.", "default": true }, - "position": { - "description": "Position of the signal's source", - "$ref": "#/definitions/MVector3" - }, "reveals": { "type": "string", "description": "A ship log fact to reveal when the signal is identified.", @@ -2082,14 +2094,6 @@ "description": "Radius of the sphere giving off the signal.", "format": "float", "default": 1.0 - }, - "parentPath": { - "type": "string", - "description": "The relative path from the planet to the parent of this signal. 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." } } }, @@ -2854,27 +2858,27 @@ "format": "int32", "default": 1 }, - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "audio": { "type": "string", @@ -2989,27 +2993,27 @@ "type": "boolean", "description": "Whether this volume only affects the player and ship." }, - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "deathType": { "description": "The type of death the player will have if they enter this volume.", @@ -3072,27 +3076,27 @@ "format": "int32", "default": 1 }, - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "density": { "type": "number", @@ -3145,27 +3149,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "type": { "description": "The type of hazard for this volume.", @@ -3235,26 +3239,26 @@ "additionalProperties": false, "properties": { "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", + "description": "Position of the prop", "$ref": "#/definitions/MVector3" }, - "radius": { - "type": "number", - "description": "The radius of this volume.", - "format": "float", - "default": 1.0 - }, "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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" + }, + "radius": { + "type": "number", + "description": "The radius of this volume.", + "format": "float", + "default": 1.0 } } }, @@ -3262,27 +3266,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "target": { "description": "What the notification will show for.", @@ -3333,27 +3337,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "treeVolume": { "type": "boolean", @@ -3390,27 +3394,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "maxAngle": { "type": "number", @@ -3513,27 +3517,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "minImpactSpeed": { "type": "number", @@ -3553,27 +3557,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "overrideProbeSpeed": { "type": "boolean", @@ -3603,27 +3607,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "thrustLimit": { "type": "number", @@ -3647,27 +3651,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "speedLimit": { "type": "number", @@ -3719,27 +3723,27 @@ "format": "int32", "default": 1 }, - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "frostRate": { "type": "number", @@ -3773,27 +3777,27 @@ "format": "int32", "default": 1 }, - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "dropletRate": { "type": "number", @@ -3813,27 +3817,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "layer": { "type": "integer", @@ -3853,27 +3857,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "targetStarSystem": { "type": "string", @@ -3886,27 +3890,27 @@ "type": "object", "additionalProperties": false, "properties": { - "position": { - "description": "The location of this volume. Optional (will default to 0,0,0).", - "$ref": "#/definitions/MVector3" - }, "radius": { "type": "number", "description": "The radius of this volume.", "format": "float", "default": 1.0 }, + "position": { + "description": "Position of the prop", + "$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 coordinates are relative to parent instead of the root planet object." + "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 volume." + "description": "An optional rename of this object" }, "creditsType": { "default": "fast",