not able to validate a date using the json schema

You will have to look at the implementation you are using.

format is an annotation only, meaning by default it does nothing in terms of validation.

Anything it does do in terms of validation is implementation specific.

If it DOES do something, JSON Schema spec does specify what that should be. “date” is the “full-date” production from RFC3339, which is date-fullyear "-" date-month "-" date-mday. Your date doesn’t start with the year.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top