Extendiing properties

This commit is contained in:
DaanV2
2023-04-22 16:00:43 +02:00
parent fab30ccb4f
commit 0c8fd98887

View File

@@ -132,13 +132,16 @@
"type": "object",
"additionalProperties": {
"title": "Property",
"type": ["string", "number", "integer", "boolean"]
"type": ["string", "number", "integer", "boolean"],
"description": "The value to set the property to.",
"examples": [false, 0, 0.0, "math.random(0, 10)"]
},
"examples": [
{ "example:property": false },
{ "example:property": 0 },
{ "example:property": 0.0 },
{ "example:property": "one" }
{ "example:property": "one" },
{ "example:property": "math.random(0, 10)" }
]
}
}