{
    "$id": "../observables/mac-addr.json",
    "$schema": "http://json-schema.org/draft-06/schema#",
    "title": "mac-addr",
    "description": "The MAC Address Object represents a single Media Access Control (MAC) address.",
    "type": "object",
    "allOf": [
        {
            "$ref": "../common/cyber-observable-core.json"
        },
        {
            "properties": {
                "type": {
                    "type": "string",
                    "description": "The value of this property MUST be `mac-addr`.",
                    "const": "mac-addr"
                },
                "value": {
                    "type": "string",
                    "pattern": "^([0-9a-f]{2}[:]){5}([0-9a-f]{2})$",
                    "description": "Specifies one or more mac addresses expressed using CIDR notation."
                }
            },
            "required": [
                "value"
            ]
        }
    ]
}