{"action":"created","issue":{"url":"https://api.github.com/repos/fge/json-schema-validator/issues/179","repository_url":"https://api.github.com/repos/fge/json-schema-validator","labels_url":"https://api.github.com/repos/fge/json-schema-validator/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/fge/json-schema-validator/issues/179/comments","events_url":"https://api.github.com/repos/fge/json-schema-validator/issues/179/events","html_url":"https://github.com/fge/json-schema-validator/issues/179","id":138528794,"number":179,"title":"strictProperties for date-time formatMinimum and formatMaximum","user":{"login":"MosleyWilliams","id":17504053,"avatar_url":"https://avatars.githubusercontent.com/u/17504053?v=3","gravatar_id":"","url":"https://api.github.com/users/MosleyWilliams","html_url":"https://github.com/MosleyWilliams","followers_url":"https://api.github.com/users/MosleyWilliams/followers","following_url":"https://api.github.com/users/MosleyWilliams/following{/other_user}","gists_url":"https://api.github.com/users/MosleyWilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/MosleyWilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MosleyWilliams/subscriptions","organizations_url":"https://api.github.com/users/MosleyWilliams/orgs","repos_url":"https://api.github.com/users/MosleyWilliams/repos","events_url":"https://api.github.com/users/MosleyWilliams/events{/privacy}","received_events_url":"https://api.github.com/users/MosleyWilliams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-04T17:12:05Z","updated_at":"2016-03-07T18:34:22Z","closed_at":null,"body":"I'm having problems with Json Schema Validator when I'm trying to validate date-time value between interval of time [2013-11-17T00:00Z, 2015-11-17T00:00Z] I have this Json Schema:\r\n\r\n```\r\n{\r\n  \"strictProperties\": true ,\r\n  \"type\": \"object\",\r\n  \"properties\": {\r\n    \"data\": {\r\n      \"type\": \"object\",\r\n      \"properties\": {\r\n        \"exampleDate\": {\r\n          \"format\": \"date-time\",\r\n          \"formatMinimum\": \"2013-11-17T00:00Z\",\r\n          \"formatMaximum\": \"2015-11-17T00:00Z\"\r\n        }\r\n      }\r\n    }\r\n  },\r\n  \"required\": [\r\n    \"data\"\r\n  ]\r\n}\r\n```\r\nAnd with this json always out is as valid json:\r\n\r\n```\r\n{\r\n    \"data\": {\r\n        \"exampleDate\": \"2010-11-17T00:00:00Z\"\r\n    }\r\n}\r\n```\r\nBut as you can see, this json is not valid because of the date, it is out of valid range.\r\n\r\nI've tested in online tools http://www.jsonschemavalidator.net/, http://jsonschemalint.com/draft4/# and with com.github.fge:json-schema-validator:2.2.6. I thougth in order to enable v5 options, should be enough put strictProperties as true (as here https://github.com/fge/json-schema-validator/wiki/v5:-strictProperties), but is not working. Could someone help me please? Maybe I missing some configuration besides strictProperties? some step?. Thanks in advance =)"},"comment":{"url":"https://api.github.com/repos/fge/json-schema-validator/issues/comments/193385493","html_url":"https://github.com/fge/json-schema-validator/issues/179#issuecomment-193385493","issue_url":"https://api.github.com/repos/fge/json-schema-validator/issues/179","id":193385493,"user":{"login":"Zilev","id":9355851,"avatar_url":"https://avatars.githubusercontent.com/u/9355851?v=3","gravatar_id":"","url":"https://api.github.com/users/Zilev","html_url":"https://github.com/Zilev","followers_url":"https://api.github.com/users/Zilev/followers","following_url":"https://api.github.com/users/Zilev/following{/other_user}","gists_url":"https://api.github.com/users/Zilev/gists{/gist_id}","starred_url":"https://api.github.com/users/Zilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zilev/subscriptions","organizations_url":"https://api.github.com/users/Zilev/orgs","repos_url":"https://api.github.com/users/Zilev/repos","events_url":"https://api.github.com/users/Zilev/events{/privacy}","received_events_url":"https://api.github.com/users/Zilev/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T18:34:22Z","updated_at":"2016-03-07T18:34:22Z","body":"@fge but as 2016-03-05 as 20160305 are considered invalid and both are expressed according to ISO 8601. Isn't it true?"}}