Skip to content

IPv4 Format not correctly supporting CIDR notations #1653

@dgmorrisjr

Description

@dgmorrisjr

Per the documentation here (https://json-schema.org/understanding-json-schema/reference/type), the "ipv4": IPv4 address, according to dotted-quad ABNF syntax as defined in [RFC 2673, section 3.2](http://tools.ietf.org/html/rfc2673#section-3.2)

Reading the RFC spec: "The <bit-spec> is either a dotted quad or a base indicator and a
sequence of digits appropriate to that base, optionally followed by a slash and a length." indicates a CIDR range?

currently the python library is failing validation on CIDRs when using the ipv4 format constraint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions