{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "Float predicate",
    "description": "Allows for testing of floating point values in different places in-game.",
    "type": [ "number", "object" ],
    "oneOf": [
        {
            "type": "number",
            "description": "Passes if the value is exactly this number."
        },
        {
            "type": "object",
            "properties": {
                "min": {
                    "type": "number",
                    "description": "Passes if the value is greater than or equal to this number."
                },
                "max": {
                    "type": "number",
                    "description": "Passes if the value is less than or equal to this number."
                }
            }
        }
    ]
}
