{
  "entity": {
    "name": "dhcpHost",
    "mainAttribute": "cn",
    "objectClass": ["top", "dhcpHost"],
    "singularName": "dhcpHost",
    "pluralName": "dhcpHosts",
    "base": "ou=dhcp,__ldap_base__"
  },
  "strict": false,
  "attributes": {
    "objectClass": {
      "type": "array",
      "items": {
        "type": "string",
        "test": "^[a-zA-Z][a-zA-Z0-9-]*$"
      },
      "default": ["top", "dhcpHost"],
      "required": true,
      "fixed": true
    },
    "cn": {
      "type": "string",
      "test": "^[a-zA-Z0-9._-]{1,255}$",
      "required": true,
      "role": "identifier"
    },
    "dhcpHWAddress": {
      "type": "string",
      "test": "^ethernet ([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$",
      "required": true
    },
    "dhcpStatements": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "required": false
    },
    "dhcpOption": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "required": false
    },
    "dhcpComments": {
      "type": "string",
      "required": false
    }
  }
}
