Skip to content

Validation of uuid format not working #198

@stv0g

Description

@stv0g

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions