krg7880 / json-schema-generator

Generates draft v4 schema from a local file or a remote JSON url.
MIT License
174 stars 53 forks source link

how to differenciate between date and string? #23

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi, if I am passing JSON like this:- { "name":"tst1", "date":"2012-04-30T02:15:12.356Z" } how its know it is type of date not a string?