Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of uuid format not working #198

Open
stv0g opened this issue Jul 26, 2023 · 0 comments
Open

Validation of uuid format not working #198

stv0g opened this issue Jul 26, 2023 · 0 comments

Comments

@stv0g
Copy link

stv0g commented Jul 26, 2023

The following schema is not properly checking if the string is an UUID:

{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "id": {
            "type": "string",
            "format": "uuid"
        }
    }
}

Related to: microsoft/vscode#77765

We are missing the respective regex here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant