github.com/kaptinlin/jsonschema@v0.4.6/testdata/JSON-Schema-Test-Suite/tests/draft3/optional/format/ip-address.json (about) 1 [ 2 { 3 "description": "validation of IP addresses", 4 "schema": { "format": "ip-address" }, 5 "tests": [ 6 { 7 "description": "a valid IP address", 8 "data": "192.168.0.1", 9 "valid": true 10 }, 11 { 12 "description": "an IP address with too many components", 13 "data": "127.0.0.0.1", 14 "valid": false 15 }, 16 { 17 "description": "an IP address with out-of-range values", 18 "data": "256.256.256.256", 19 "valid": false 20 } 21 ] 22 } 23 ]