Hello,
It looks like the JObject validation (JObject.IsValid) is ignoring the format (
http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23) information. For example, the following object:
{ 'Age': 23, 'DOB': '1sdfs' }
Is considered valid by the following schema
{
"type": "object",
"properties": {
"Age": {
"required": true,
"type": "integer"
},
"DOB": {
"required": true,
"type": "string",
"format": "date-time"
}
}
}
How can I make sure the format is actually not ignored?
Thanks,
Pedro