{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ipwhois-net/json-schema/ipwhois-net-mac-result-schema.json",
  "title": "MacResult",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/ipwhois-net-api-openapi.json#/components/schemas/MacResult",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "mac": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "oui": {
      "type": "string"
    },
    "normalized": {
      "type": "string"
    },
    "is_multicast": {
      "type": "boolean"
    },
    "is_local": {
      "type": "boolean"
    },
    "is_randomized": {
      "type": "boolean"
    },
    "vendor": {
      "type": "object",
      "properties": {
        "company": {
          "type": "string"
        },
        "country_code": {
          "type": "string"
        },
        "short_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "website": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": "string"
        },
        "address": {
          "type": "string"
        },
        "industry": {
          "type": [
            "string",
            "null"
          ]
        },
        "founded": {
          "type": [
            "string",
            "null"
          ]
        },
        "headquarters": {
          "type": [
            "string",
            "null"
          ]
        },
        "total_ouis": {
          "type": "integer"
        }
      }
    },
    "block": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "MA-L, MA-M, MA-S or CID."
        },
        "start": {
          "type": "string"
        },
        "end": {
          "type": "string"
        },
        "size": {
          "type": "integer"
        }
      }
    },
    "device": {
      "type": "object",
      "properties": {
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "interface": {
          "type": [
            "string",
            "null"
          ]
        },
        "is_virtual_machine": {
          "type": "boolean"
        },
        "vm_platform": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "registry_updated": {
      "type": "string"
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "Meta": {
      "type": "object",
      "description": "Plan and quota of the key that made the call.",
      "properties": {
        "plan": {
          "type": "string"
        },
        "fields": {
          "type": "string",
          "enum": [
            "basic",
            "full"
          ]
        },
        "quota": {
          "type": "object",
          "properties": {
            "limit": {
              "type": "integer"
            },
            "used": {
              "type": "integer"
            },
            "remaining": {
              "type": "integer"
            },
            "period": {
              "type": "string",
              "enum": [
                "day",
                "month"
              ]
            },
            "resets_at": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      }
    }
  }
}