[
    {
        "description": "type checks",
        "schema": {
            "$comment": "on some architectures, some of these values may decode to strings",
            "type": "integer"
        },
        "tests": [
            {
                "description": "beyond int64 lower boundary",
                "data": -9223372036854775809,
                "valid": true
            },
            {
                "description": "int64 lower boundary",
                "data": -9223372036854775808,
                "valid": true
            },
            {
                "description": "beyond int32 lower boundary",
                "data": -2147483649,
                "valid": true
            },
            {
                "description": "int32 lower boundary",
                "data": -2147483648,
                "valid": true
            },
            {
                "description": "zero",
                "data": 0,
                "valid": true
            },
            {
                "description": "int32 upper boundary",
                "data": 2147483647,
                "valid": true
            },
            {
                "description": "beyond int32 upper boundary",
                "data": 2147483648,
                "valid": true
            },
            {
                "description": "int64 upper boundary",
                "data": 9223372036854775807,
                "valid": true
            },
            {
                "description": "beyond int64 upper boundary",
                "data": 9223372036854775808,
                "valid": true
            }
        ]
    },
    {
        "description": "int32 format",
        "schema": {
            "$schema": "https://spec.openapis.org/oas/3.1/dialect/latest",
            "format": "int32"
        },
        "tests": [
            {
                "description": "string",
                "data": "hello",
                "valid": true
            },
            {
                "description": "beyond lower boundary",
                "data": -2147483649,
                "valid": false
            },
            {
                "description": "lower boundary",
                "data": -2147483648,
                "valid": true
            },
            {
                "description": "zero",
                "data": 0,
                "valid": true
            },
            {
                "description": "upper boundary",
                "data": 2147483647,
                "valid": true
            },
            {
                "description": "beyond upper boundary",
                "data": 2147483648,
                "valid": false
            },
            {
                "description": "not an integer",
                "data": 0.1,
                "valid": false
            }
        ]
    },
    {
        "description": "int64 format",
        "schema": {
            "$schema": "https://spec.openapis.org/oas/3.1/dialect/latest",
            "format": "int64"
        },
        "tests": [
            {
                "description": "string",
                "data": "hello",
                "valid": true
            },
            {
                "description": "beyond lower boundary",
                "data": -9223372036854775809,
                "valid": false
            },
            {
                "description": "lower boundary",
                "data": -9223372036854775808,
                "valid": true
            },
            {
                "description": "zero",
                "data": 0,
                "valid": true
            },
            {
                "description": "upper boundary",
                "data": 9223372036854775807,
                "valid": true
            },
            {
                "description": "beyond upper boundary",
                "data": 9223372036854775808,
                "valid": false
            },
            {
                "description": "not an integer",
                "data": 0.1,
                "valid": false
            }
        ]
    },
    {
        "description": "float format",
        "schema": {
            "$schema": "https://spec.openapis.org/oas/3.1/dialect/latest",
            "format": "float"
        },
        "tests": [
            {
                "description": "string",
                "data": "hello",
                "valid": true
            },
            {
                "description": "beyond int32 lower boundary",
                "data": -2147483649,
                "valid": true
            },
            {
                "description": "int32 lower boundary",
                "data": -2147483648,
                "valid": true
            },
            {
                "description": "zero",
                "data": 0,
                "valid": true
            },
            {
                "description": "π",
                "data": 3.14159265358979,
                "valid": true
            },
            {
                "description": "int32 upper boundary",
                "data": 2147483647,
                "valid": true
            },
            {
                "description": "beyond int32 upper boundary",
                "data": 2147483648,
                "valid": true
            }
        ]
    },
    {
        "description": "double format",
        "schema": {
            "$schema": "https://spec.openapis.org/oas/3.1/dialect/latest",
            "format": "double"
        },
        "tests": [
            {
                "description": "string",
                "data": "hello",
                "valid": true
            },
            {
                "description": "beyond int32 lower boundary",
                "data": -2147483649,
                "valid": true
            },
            {
                "description": "int32 lower boundary",
                "data": -2147483648,
                "valid": true
            },
            {
                "description": "zero",
                "data": 0,
                "valid": true
            },
            {
                "description": "π",
                "data": 3.14159265358979,
                "valid": true
            },
            {
                "description": "int32 upper boundary",
                "data": 2147483647,
                "valid": true
            },
            {
                "description": "beyond int32 upper boundary",
                "data": 2147483648,
                "valid": true
            }
        ]
    },
    {
        "description": "password format",
        "schema": {
            "$schema": "https://spec.openapis.org/oas/3.1/dialect/latest",
            "format": "password"
        },
        "tests": [
            {
                "description": "number",
                "data": 123,
                "valid": true
            },
            {
                "description": "a string",
                "data": "hunter2",
                "valid": true
            }
        ]
    }
]