{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pure-storage/json-schema/pure-storage-active-directory-patch-2-schema.json",
  "title": "ActiveDirectoryPatch_2",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pure-storage-active-directory-api-openapi.yml#/components/schemas/ActiveDirectoryPatch_2",
  "allOf": [
    {
      "$ref": "#/$defs/ActiveDirectoryDirectoryServers"
    },
    {
      "type": "object",
      "properties": {
        "directory_servers": {
          "description": "A list of directory servers that will be used for lookups related to user authorization.\nAccepted server formats are IP address and DNS name.\nAll specified servers must be registered to the domain appropriately in the array's\nconfigured DNS and will only be communicated with over the secure LDAP (LDAPS) protocol.\nIf not specified, servers are resolved for the domain in DNS.\nThe specified list can have a maximum length of 5.\n",
          "type": "array",
          "maxItems": 5,
          "items": {
            "type": "string"
          }
        },
        "encryption_types": {
          "description": "The encryption types that will be supported for use by clients for Kerberos\nauthentication.\nValid values include `aes256-cts-hmac-sha1-96`, `aes128-cts-hmac-sha1-96`, and\n`arcfour-hmac`.\n",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fqdns": {
          "description": "A list of fully qualified domain names to use to register service principal\nnames for the machine account. If specified, every service principal that\nis supported by the array will be registered for each fully qualified domain\nname specified. If neither `fqdns` nor `service_principal_names` is specified,\nthe default `service_principal_names` are constructed using\nthe `computer_name` and `domain` fields.\nCannot be provided in combination with `service_principal_names`.\n",
          "type": "array",
          "maxItems": 32,
          "items": {
            "type": "string"
          }
        },
        "join_ou": {
          "description": "The relative distinguished name of the organizational unit in which the\ncomputer account should be created when joining the domain.\n",
          "type": "string"
        },
        "kerberos_servers": {
          "description": "A list of key distribution servers to use for Kerberos protocol.\nAccepted server formats are IP address and DNS name.\nAll specified servers must be registered to the domain appropriately in the array's\nconfigured DNS.\nIf not specified, servers are resolved for the domain in DNS.\nThe specified list can have a maximum length of 5.\n",
          "type": "array",
          "maxItems": 5,
          "items": {
            "type": "string"
          }
        },
        "service_principal_names": {
          "description": "A list of service principal names to register for the machine account,\nwhich can be used for the creation of keys for Kerberos authentication.\nIf neither `service_principal_names` nor `fqdns` is specified,\nthe default `service_principal_names` are constructed using\nthe `computer_name` and `domain` fields.\nCannot be provided in combination with `fqdns`.\n",
          "type": "array",
          "maxItems": 32,
          "items": {
            "pattern": "(service)/(fqdn)",
            "type": "string"
          }
        }
      }
    }
  ],
  "$defs": {
    "ActiveDirectoryDirectoryServers": {
      "type": "object",
      "properties": {
        "directory_servers": {
          "description": "A list of directory servers that will be used for lookups related to user authorization.\nAccepted server formats are IP address and DNS name with optional @domain suffix.\nIf the suffix is ommited, the joined domain is assumed.\nAll specified servers must be registered to the domain appropriately in the array's\nconfigured DNS and will only be communicated with over the secure LDAP (LDAPS) protocol.\nThe specified list can have a maximum length of 50.\n",
          "type": "array",
          "maxItems": 50,
          "items": {
            "type": "string"
          }
        },
        "global_catalog_servers": {
          "description": "A list of global catalog servers that will be used for lookups related to user authorization.\nAccepted server formats are IP address and DNS name with optional @domain suffix.\nIf the suffix is ommited, the joined domain is assumed.\nAll specified servers must be registered to the domain appropriately in the array's\nconfigured DNS and will only be communicated with over the secure LDAP (LDAPS) protocol.\nThe specified list can have a maximum length of 50.\n",
          "type": "array",
          "maxItems": 50,
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}