...

Text file src/github.com/qri-io/jsonschema/testdata/draft3/optional/zeroTerminatedFloats.json

Documentation: github.com/qri-io/jsonschema/testdata/draft3/optional

     1[
     2    {
     3        "description": "some languages do not distinguish between different types of numeric value",
     4        "schema": {
     5            "type": "integer"
     6        },
     7        "tests": [
     8            {
     9                "description": "a float is not an integer even without fractional part",
    10                "data": 1.0,
    11                "valid": false
    12            }
    13        ]
    14    }
    15]

View as plain text