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,14 +513,16 @@
} }
}, },
"FunnelModule": { "FunnelModule": {
"allOf": [
{
"$ref": "#/definitions/VariableSizeModule"
},
{
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"Curve": {
"type": "array",
"description": "Scale this module over time",
"items": {
"$ref": "#/definitions/TimeValuePair"
}
},
"target": { "target": {
"type": "string", "type": "string",
"description": "The planet the funnel will flow to" "description": "The planet the funnel will flow to"
@ -542,8 +544,20 @@
] ]
} }
} }
},
"TimeValuePair": {
"type": "object",
"additionalProperties": false,
"properties": {
"Time": {
"type": "number",
"format": "float"
},
"Value": {
"type": "number",
"format": "float"
}
} }
]
}, },
"FunnelType": { "FunnelType": {
"type": "string", "type": "string",
@ -561,33 +575,6 @@
"Star" "Star"
] ]
}, },
"VariableSizeModule": {
"type": "object",
"additionalProperties": false,
"properties": {
"Curve": {
"type": "array",
"description": "Scale this module over time",
"items": {
"$ref": "#/definitions/TimeValuePair"
}
}
}
},
"TimeValuePair": {
"type": "object",
"additionalProperties": false,
"properties": {
"Time": {
"type": "number",
"format": "float"
},
"Value": {
"type": "number",
"format": "float"
}
}
},
"HeightMapModule": { "HeightMapModule": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
@ -623,14 +610,16 @@
} }
}, },
"LavaModule": { "LavaModule": {
"allOf": [
{
"$ref": "#/definitions/VariableSizeModule"
},
{
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"Curve": {
"type": "array",
"description": "Scale this module over time",
"items": {
"$ref": "#/definitions/TimeValuePair"
}
},
"size": { "size": {
"type": "number", "type": "number",
"description": "Size of the lava sphere", "description": "Size of the lava sphere",
@ -645,8 +634,6 @@
] ]
} }
} }
}
]
}, },
"OrbitModule": { "OrbitModule": {
"type": "object", "type": "object",
@ -1476,14 +1463,16 @@
} }
}, },
"RingModule": { "RingModule": {
"allOf": [
{
"$ref": "#/definitions/VariableSizeModule"
},
{
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"Curve": {
"type": "array",
"description": "Scale this module over time",
"items": {
"$ref": "#/definitions/TimeValuePair"
}
},
"fluidType": { "fluidType": {
"description": "Fluid type for sounds/effects when colliding with this ring.", "description": "Fluid type for sounds/effects when colliding with this ring.",
"oneOf": [ "oneOf": [
@ -1531,8 +1520,6 @@
"description": "Should this ring be unlit?" "description": "Should this ring be unlit?"
} }
} }
}
]
}, },
"CloudFluidType2": { "CloudFluidType2": {
"type": "integer", "type": "integer",
@ -1553,14 +1540,16 @@
] ]
}, },
"SandModule": { "SandModule": {
"allOf": [
{
"$ref": "#/definitions/VariableSizeModule"
},
{
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"Curve": {
"type": "array",
"description": "Scale this module over time",
"items": {
"$ref": "#/definitions/TimeValuePair"
}
},
"Size": { "Size": {
"type": "number", "type": "number",
"description": "Size of the sand", "description": "Size of the sand",
@ -1575,8 +1564,6 @@
] ]
} }
} }
}
]
}, },
"ShipLogModule": { "ShipLogModule": {
"type": "object", "type": "object",
@ -1837,14 +1824,16 @@
} }
}, },
"SingularityModule": { "SingularityModule": {
"allOf": [
{
"$ref": "#/definitions/VariableSizeModule"
},
{
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"Curve": {
"type": "array",
"description": "Scale this module over time",
"items": {
"$ref": "#/definitions/TimeValuePair"
}
},
"makeZeroGVolume": { "makeZeroGVolume": {
"type": "boolean", "type": "boolean",
"description": "Only for White Holes. Should this white hole repel the player from it.", "description": "Only for White Holes. Should this white hole repel the player from it.",
@ -1881,8 +1870,6 @@
] ]
} }
} }
}
]
}, },
"SingularityType": { "SingularityType": {
"type": "string", "type": "string",
@ -1939,14 +1926,16 @@
} }
}, },
"StarModule": { "StarModule": {
"allOf": [
{
"$ref": "#/definitions/VariableSizeModule"
},
{
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"Curve": {
"type": "array",
"description": "Scale this module over time",
"items": {
"$ref": "#/definitions/TimeValuePair"
}
},
"endTint": { "endTint": {
"description": "Colour of the star at the end of its life.", "description": "Colour of the star at the end of its life.",
"oneOf": [ "oneOf": [
@ -2004,18 +1993,18 @@
] ]
} }
} }
}
]
}, },
"WaterModule": { "WaterModule": {
"allOf": [
{
"$ref": "#/definitions/VariableSizeModule"
},
{
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"Curve": {
"type": "array",
"description": "Scale this module over time",
"items": {
"$ref": "#/definitions/TimeValuePair"
}
},
"size": { "size": {
"type": "number", "type": "number",
"description": "Size of the water sphere", "description": "Size of the water sphere",
@ -2031,7 +2020,5 @@
} }
} }
} }
]
}
} }
} }