Skip to content

const number type throws error #2516

Open
@jonnytest1

Description

@jonnytest1

this schema doesnt work
(in my other example there was also type:"number" but it had the same effect)

{
    "type": "object",
    "properties": {
        "delay": {
            "const": 10
        }
    },
    "$schema": "http://json-schema.org/draft-07/schema#"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions