This appears to be valid, even though the date-time is wrong:
var json = { "dateModified" : "blah"};
var schema = {
"name":"Summary",
"properties":{
"dateModified":{
"type":"string",
"format" : "date-time",
"description":"Date the event was last modified",
"required":true
}
}
};
var result = env.validate(json, schema);
This appears to be valid, even though the date-time is wrong:
Is "date-time" format validated?
Thanks!