Sha256: 4d5d625bda135464da2caadb6b830b11dc1bd10b23e65194f963001282eb48a5

Contents?: true

Size: 956 Bytes

Versions: 6

Compression:

Stored size: 956 Bytes

Contents

[
    {
        "description": "validation of IP addresses",
        "schema": {"format": "ipv4"},
        "tests": [
            {
                "description": "a valid IP address",
                "data": "192.168.0.1",
                "valid": true
            },
            {
                "description": "an IP address with too many components",
                "data": "127.0.0.0.1",
                "valid": false
            },
            {
                "description": "an IP address with out-of-range values",
                "data": "256.256.256.256",
                "valid": false
            },
            {
                "description": "an IP address without 4 components",
                "data": "127.0",
                "valid": false
            },
            {
                "description": "an IP address as an integer",
                "data": "0x7f000001",
                "valid": false
            }
        ]
    }
]

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
json_schemer-0.2.9 JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv4.json
json_schemer-0.2.9 JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv4.json
json_schemer-0.2.8 JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv4.json
json_schemer-0.2.8 JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv4.json
json_schemer-0.2.7 JSON-Schema-Test-Suite/tests/draft2019-08/optional/format/ipv4.json
json_schemer-0.2.7 JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv4.json