See [python-jsonschema: Validating Format](https://python-jsonschema.readthedocs.org/en/latest/validate/#validating-formats). With this we can enforce valid hostnames, ipv4, ipv6, and probably ipv4 and ipv6 networks too.
Activity
[schema] Validate general hostname format #42
[schema] Validate interface ipv4 address format #42
[OpenWrt] Validate ntp server hostname format #42
[tests] Fixed invalid hostnames in various tests #42
[schema] Validate dns_search hostname format #42
[schema] Remove "format" definition from gateway #42
jack17529 commentedon Mar 16, 2017
@nemesisdesign is this issu still open to work?
nemesifier commentedon Mar 16, 2017
There''s more design decision needed, this extra validation can make the library too hard to work with web uis