Updated Schemas

This commit is contained in:
github-actions[bot] 2022-05-23 12:46:27 +00:00
parent 88258a6be7
commit 942371bc40

View File

@ -513,55 +513,6 @@
} }
}, },
"FunnelModule": { "FunnelModule": {
"allOf": [
{
"$ref": "#/definitions/VariableSizeModule"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"target": {
"type": "string",
"description": "The planet the funnel will flow to"
},
"tint": {
"description": "Tint of the funnel",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
},
"type": {
"description": "Type of fluid the funnel transfers",
"oneOf": [
{
"$ref": "#/definitions/FunnelType"
}
]
}
}
}
]
},
"FunnelType": {
"type": "string",
"description": "",
"x-enumNames": [
"Sand",
"Water",
"Lava",
"Star"
],
"enum": [
"Sand",
"Water",
"Lava",
"Star"
]
},
"VariableSizeModule": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
@ -571,6 +522,26 @@
"items": { "items": {
"$ref": "#/definitions/TimeValuePair" "$ref": "#/definitions/TimeValuePair"
} }
},
"target": {
"type": "string",
"description": "The planet the funnel will flow to"
},
"tint": {
"description": "Tint of the funnel",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
},
"type": {
"description": "Type of fluid the funnel transfers",
"oneOf": [
{
"$ref": "#/definitions/FunnelType"
}
]
} }
} }
}, },
@ -588,6 +559,22 @@
} }
} }
}, },
"FunnelType": {
"type": "string",
"description": "",
"x-enumNames": [
"Sand",
"Water",
"Lava",
"Star"
],
"enum": [
"Sand",
"Water",
"Lava",
"Star"
]
},
"HeightMapModule": { "HeightMapModule": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
@ -623,30 +610,30 @@
} }
}, },
"LavaModule": { "LavaModule": {
"allOf": [ "type": "object",
{ "additionalProperties": false,
"$ref": "#/definitions/VariableSizeModule" "properties": {
}, "Curve": {
{ "type": "array",
"type": "object", "description": "Scale this module over time",
"additionalProperties": false, "items": {
"properties": { "$ref": "#/definitions/TimeValuePair"
"size": {
"type": "number",
"description": "Size of the lava sphere",
"format": "float"
},
"tint": {
"description": "Tint of the lava",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
}
} }
},
"size": {
"type": "number",
"description": "Size of the lava sphere",
"format": "float"
},
"tint": {
"description": "Tint of the lava",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
} }
] }
}, },
"OrbitModule": { "OrbitModule": {
"type": "object", "type": "object",
@ -1476,63 +1463,63 @@
} }
}, },
"RingModule": { "RingModule": {
"allOf": [ "type": "object",
{ "additionalProperties": false,
"$ref": "#/definitions/VariableSizeModule" "properties": {
}, "Curve": {
{ "type": "array",
"type": "object", "description": "Scale this module over time",
"additionalProperties": false, "items": {
"properties": { "$ref": "#/definitions/TimeValuePair"
"fluidType": {
"description": "Fluid type for sounds/effects when colliding with this ring.",
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/CloudFluidType2"
}
]
},
"inclination": {
"type": "number",
"description": "Angle between the rings and the equatorial plane of the planet.",
"format": "float"
},
"innerRadius": {
"type": "number",
"description": "Inner radius of the disk",
"format": "float",
"minimum": 0.0
},
"longitudeOfAscendingNode": {
"type": "number",
"description": "Angle defining the point where the rings rise up from the planet's equatorial plane if inclination is nonzero.",
"format": "float"
},
"outerRadius": {
"type": "number",
"description": "Outer radius of the disk",
"format": "float",
"minimum": 0.0
},
"rotationSpeed": {
"type": "number",
"description": "Allows the rings to rotate.",
"format": "float"
},
"texture": {
"type": "string",
"description": "Relative filepath to the texture used for the rings."
},
"unlit": {
"type": "boolean",
"description": "Should this ring be unlit?"
}
} }
},
"fluidType": {
"description": "Fluid type for sounds/effects when colliding with this ring.",
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/CloudFluidType2"
}
]
},
"inclination": {
"type": "number",
"description": "Angle between the rings and the equatorial plane of the planet.",
"format": "float"
},
"innerRadius": {
"type": "number",
"description": "Inner radius of the disk",
"format": "float",
"minimum": 0.0
},
"longitudeOfAscendingNode": {
"type": "number",
"description": "Angle defining the point where the rings rise up from the planet's equatorial plane if inclination is nonzero.",
"format": "float"
},
"outerRadius": {
"type": "number",
"description": "Outer radius of the disk",
"format": "float",
"minimum": 0.0
},
"rotationSpeed": {
"type": "number",
"description": "Allows the rings to rotate.",
"format": "float"
},
"texture": {
"type": "string",
"description": "Relative filepath to the texture used for the rings."
},
"unlit": {
"type": "boolean",
"description": "Should this ring be unlit?"
} }
] }
}, },
"CloudFluidType2": { "CloudFluidType2": {
"type": "integer", "type": "integer",
@ -1553,30 +1540,30 @@
] ]
}, },
"SandModule": { "SandModule": {
"allOf": [ "type": "object",
{ "additionalProperties": false,
"$ref": "#/definitions/VariableSizeModule" "properties": {
}, "Curve": {
{ "type": "array",
"type": "object", "description": "Scale this module over time",
"additionalProperties": false, "items": {
"properties": { "$ref": "#/definitions/TimeValuePair"
"Size": {
"type": "number",
"description": "Size of the sand",
"format": "float"
},
"Tint": {
"description": "Tint of the sand",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
}
} }
},
"Size": {
"type": "number",
"description": "Size of the sand",
"format": "float"
},
"Tint": {
"description": "Tint of the sand",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
} }
] }
}, },
"ShipLogModule": { "ShipLogModule": {
"type": "object", "type": "object",
@ -1837,52 +1824,52 @@
} }
}, },
"SingularityModule": { "SingularityModule": {
"allOf": [ "type": "object",
{ "additionalProperties": false,
"$ref": "#/definitions/VariableSizeModule" "properties": {
}, "Curve": {
{ "type": "array",
"type": "object", "description": "Scale this module over time",
"additionalProperties": false, "items": {
"properties": { "$ref": "#/definitions/TimeValuePair"
"makeZeroGVolume": {
"type": "boolean",
"description": "Only for White Holes. Should this white hole repel the player from it.",
"default": true
},
"pairedSingularity": {
"type": "string",
"description": "The name of the white hole or black hole that is paired to this one. If you don't set a value, entering will kill\nthe player"
},
"position": {
"description": "Position of the singularity",
"oneOf": [
{
"$ref": "#/definitions/MVector3"
}
]
},
"size": {
"type": "number",
"description": "Radius of the singularity. Note that this isn't the same as the event horizon, but includes the entire volume that\nhas warped effects in it.",
"format": "float",
"minimum": 0.0
},
"targetStarSystem": {
"type": "string",
"description": "If you want a black hole to load a new star system scene, put its name here."
},
"type": {
"description": "Type of singularity (white hole or black hole)",
"oneOf": [
{
"$ref": "#/definitions/SingularityType"
}
]
}
} }
},
"makeZeroGVolume": {
"type": "boolean",
"description": "Only for White Holes. Should this white hole repel the player from it.",
"default": true
},
"pairedSingularity": {
"type": "string",
"description": "The name of the white hole or black hole that is paired to this one. If you don't set a value, entering will kill\nthe player"
},
"position": {
"description": "Position of the singularity",
"oneOf": [
{
"$ref": "#/definitions/MVector3"
}
]
},
"size": {
"type": "number",
"description": "Radius of the singularity. Note that this isn't the same as the event horizon, but includes the entire volume that\nhas warped effects in it.",
"format": "float",
"minimum": 0.0
},
"targetStarSystem": {
"type": "string",
"description": "If you want a black hole to load a new star system scene, put its name here."
},
"type": {
"description": "Type of singularity (white hole or black hole)",
"oneOf": [
{
"$ref": "#/definitions/SingularityType"
}
]
} }
] }
}, },
"SingularityType": { "SingularityType": {
"type": "string", "type": "string",
@ -1939,99 +1926,99 @@
} }
}, },
"StarModule": { "StarModule": {
"allOf": [ "type": "object",
{ "additionalProperties": false,
"$ref": "#/definitions/VariableSizeModule" "properties": {
}, "Curve": {
{ "type": "array",
"type": "object", "description": "Scale this module over time",
"additionalProperties": false, "items": {
"properties": { "$ref": "#/definitions/TimeValuePair"
"endTint": {
"description": "Colour of the star at the end of its life.",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
},
"goSupernova": {
"type": "boolean",
"description": "Should this star explode after 22 minutes?",
"default": true
},
"hasAtmosphere": {
"type": "boolean",
"description": "The default sun has its own atmosphere that is different from regular planets. If you want that, set this to\n`true`.",
"default": true
},
"lightTint": {
"description": "Colour of the light given off.",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
},
"size": {
"type": "number",
"description": "Radius of the star.",
"format": "float",
"default": 2000.0,
"minimum": 0.0
},
"solarLuminosity": {
"type": "number",
"description": "Relative strength of the light compared to the sun.",
"format": "float",
"default": 1.0,
"minimum": 0.0
},
"supernovaTint": {
"description": "The tint of the supernova this star creates when it dies.",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
},
"tint": {
"description": "Colour of the star.",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
}
} }
},
"endTint": {
"description": "Colour of the star at the end of its life.",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
},
"goSupernova": {
"type": "boolean",
"description": "Should this star explode after 22 minutes?",
"default": true
},
"hasAtmosphere": {
"type": "boolean",
"description": "The default sun has its own atmosphere that is different from regular planets. If you want that, set this to\n`true`.",
"default": true
},
"lightTint": {
"description": "Colour of the light given off.",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
},
"size": {
"type": "number",
"description": "Radius of the star.",
"format": "float",
"default": 2000.0,
"minimum": 0.0
},
"solarLuminosity": {
"type": "number",
"description": "Relative strength of the light compared to the sun.",
"format": "float",
"default": 1.0,
"minimum": 0.0
},
"supernovaTint": {
"description": "The tint of the supernova this star creates when it dies.",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
},
"tint": {
"description": "Colour of the star.",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
} }
] }
}, },
"WaterModule": { "WaterModule": {
"allOf": [ "type": "object",
{ "additionalProperties": false,
"$ref": "#/definitions/VariableSizeModule" "properties": {
}, "Curve": {
{ "type": "array",
"type": "object", "description": "Scale this module over time",
"additionalProperties": false, "items": {
"properties": { "$ref": "#/definitions/TimeValuePair"
"size": {
"type": "number",
"description": "Size of the water sphere",
"format": "float"
},
"tint": {
"description": "Tint of the water",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
}
} }
},
"size": {
"type": "number",
"description": "Size of the water sphere",
"format": "float"
},
"tint": {
"description": "Tint of the water",
"oneOf": [
{
"$ref": "#/definitions/MColor"
}
]
} }
] }
} }
} }
} }