Skip to content

Add Defined Format: MAC Address #49

Open
@JLLeitschuh

Description

@JLLeitschuh

Proposal: Add a defined format for Mac Address.
The schema already has support for IPv4 and IPv6 data types. It would be useful to have support for the colon delimited MAC address format in the base schema.

Something similar to the following:

"mac_address": {
  "type": "string",
  "description": "Represents a MAC Address in the standard colon delimited format. Eg. `01:23:45:67:89:0A`",
  "pattern": "^([A-F0-9]{2}:){5}[A-F0-9]{2}$"
}

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