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
Hi,
Just wondering if there is a way to extend the FormatChecker that is passed to the validator? I can't seem to find anything in the documentation.
Basically, I am trying to check if a string value is a valid timezone. I'm using pytz for the timezone side. But, I need to check the provided json string property is contained within that list.
The only other way I can think of is to extract the list as an enum field in the schema. But, it's a huge list and seems a pretty clunky way of doing it.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
b069ac352 Add tests for non-relative URI anchor referencing
7950d9e05 Merge pull request #674 from jmigual/feature/alah
e6a089ae9 Changed description about `main` branch
b3c074773 Add comment about live at head philosophy
ab4bd012f Merge pull request #671 from marksparkza/schemaloc-fragment
e7aba0972 Include fragment in schemaLocation
git-subtree-dir: json
git-subtree-split: b069ac352c3dc1fae71f6f177dafe97001c97920
Hi,
Just wondering if there is a way to extend the FormatChecker that is passed to the validator? I can't seem to find anything in the documentation.
Basically, I am trying to check if a string value is a valid timezone. I'm using pytz for the timezone side. But, I need to check the provided json string property is contained within that list.
The only other way I can think of is to extract the list as an enum field in the schema. But, it's a huge list and seems a pretty clunky way of doing it.
Thanks in advance.
The text was updated successfully, but these errors were encountered: