Skip to content

warning: format attribute "date" not supported #103

Closed
@hminds-ritesh

Description

@hminds-ritesh

Hi,

I have a JSON schema which has a property "BIRTH_DATE" with format as "date".

"BIRTH_DATE" : {
"description" : "BIRTH DATE",
"format" : "date",
"type" : "string"
},

Whenever I try to validate a json payload after this schema, the validator succeeds but shows up a warning:

warning: format attribute "date" not supported
level: "warning"
schema: {"loadingURI":"#","pointer":"/definitions/MemberDemographicJsSchema/properties/BIRTH_DATE"}
domain: "validation"
keyword: "format"
attribute: "date"

Am I doing anything wrong here? Or json validator does not support date format? If later, then how do I validate the date?

Regards,
Ritesh

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