Skip to content

Add CIDR Schema Type #342

@JolianGof

Description

@JolianGof

Hello,

I am using Valibot for validating data schemas in my project and I find it very useful. However, currently, there is no schema type available specifically for CIDR (Classless Inter-Domain Routing), similar to the IPv4 schema type.

CIDR is a method for allocating IP addresses and routing Internet Protocol packets. It is widely used in network design and management, and having a specific schema type for it would greatly enhance the functionality of Valibot.

Here's a simple example of how a CIDR schema type might work:

{
"type": "cidr",
"value": "192.0.2.0/24"
}

Metadata

Metadata

Labels

enhancementNew feature or requestworkaroundWorkaround fixes problem

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions