Skip to content

For keyword 'format' SHOULD offer an option to disable validation #810

@infisamk

Description

@infisamk

By specification https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.7.2 for keyword format:

7.2. Implementation requirements
Implementations MAY support the "format" keyword. Should they choose to do so:

they SHOULD implement validation for attributes defined below;
they SHOULD offer an option to disable validation for this keyword.

Implementations MAY add custom format attributes. Save for agreement between parties, schema authors SHALL NOT expect a peer implementation to support this keyword and/or custom format attributes.

I need disable validation for format, becouse date-time in my app use custom format (without T between date and time).

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