{
  "description": "ClusterGenerator represents a cluster-wide generator",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "generator": {
          "description": "Generator the spec for this generator, must match the kind.",
          "properties": {
            "passwordSpec": {
              "description": "PasswordSpec controls the behavior of the password generator.",
              "properties": {
                "allowRepeat": {
                  "default": false,
                  "description": "set allowRepeat to true to allow repeating characters.",
                  "type": "boolean"
                },
                "digits": {
                  "description": "digits specifies the number of digits in the generated\npassword. If omitted it defaults to 25% of the length of the password",
                  "type": "integer"
                },
                "length": {
                  "default": 24,
                  "description": "Length of the password to be generated.\nDefaults to 24",
                  "type": "integer"
                },
                "noUpper": {
                  "default": false,
                  "description": "Set noUpper to disable uppercase characters",
                  "type": "boolean"
                },
                "symbolCharacters": {
                  "description": "symbolCharacters specifies the special characters that should be used\nin the generated password.",
                  "type": "string"
                },
                "symbols": {
                  "description": "symbols specifies the number of symbol characters in the generated\npassword. If omitted it defaults to 25% of the length of the password",
                  "type": "integer"
                }
              },
              "type": "object",
              "additionalProperties": false
            },
            "uuidSpec": {
              "description": "UUIDSpec controls the behavior of the uuid generator.",
              "type": "object"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "kind": {
          "description": "Kind the kind of this generator.",
          "enum": [
            "Password",
            "UUID"
          ],
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
