I use middy as validator package which is based on ajv, I set jsonschema like follows my request is ilke this,this is basically aligned with date-time But it returned following error response. I totally confused what is the wrong point of that. If someone has opinion ,please let me know. Thanks I found follow…
Tag: ajv
Validate UTC date/date-time with ajv but allow empty strings
I need to validate string schema format: “date” or format: “date-time” to accept only ISO 8601 but also allow empty string “” (the “” requirement should be separately checked using the required schema). However, the native ajv format parser does not allow empty …