You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can see, jsonschema-rs relies on the chrono for any time related format validation, but it is currently missing a way to parse and validate ISO8601 Durations.
There was some work on this at some point but it seems it has not moved forward in a while (PR Discussion on the implementation in chrono here)
I've tried to look for an already battle-tested Rust parser for ISO8601 Durations, but I did not manage to find one thus far. So implementing the duration format would also entail implementing a proper parser which could prove tricky since I expect jsonschema-rs should be able to deal with untrusted input.
Since I spent some time researching this I wanted to share it here, which can hopefully clarify the issue a little.
No description provided.
The text was updated successfully, but these errors were encountered: