I have installed this tool from PyPi, and something is wrong with recognizing date-time format.
Other tools do not have such problems.
Json
{ "Begin": "test" }
Schema
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "Begin": { "type": "string", "format": "date-time" } } }
Command
jsonschema --instance example.json schema.json
This does not throw any errors, but date is in the wrong format. Why?
I have installed this tool from PyPi, and something is wrong with recognizing date-time format.
Other tools do not have such problems.
Json
{ "Begin": "test" }Schema
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "Begin": { "type": "string", "format": "date-time" } } }Command
jsonschema --instance example.json schema.jsonThis does not throw any errors, but date is in the wrong format. Why?