Fixed float_property.json to the number value type. (#169)

Updated float_property.json to the value type "number" instead of "string"
This commit is contained in:
StealthyX
2023-03-20 11:10:14 -04:00
committed by GitHub
parent acb481b49c
commit 59af768ca0

View File

@@ -4,7 +4,7 @@
"title": "Float Property", "title": "Float Property",
"description": "Returns true when the float actor property matches the value provided.", "description": "Returns true when the float actor property matches the value provided.",
"required": ["value", "domain"], "required": ["value", "domain"],
"examples": [{ "test": "bool_property", "value": true }], "examples": [{ "test": "float_property", "value": 1.0 }],
"properties": { "properties": {
"test": { "test": {
"type": "string", "type": "string",
@@ -29,7 +29,7 @@
"title": "Subject" "title": "Subject"
}, },
"value": { "value": {
"type": "string", "type": "number",
"title": "Value", "title": "Value",
"description": "(Required) A floating point value." "description": "(Required) A floating point value."
} }