{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Bolt Inventory",
  "description": "Bolt Inventory inventory.yaml Schema",
  "additionalProperties": false,
  "definitions": {
    "alias": {
      "description": "A unique alias to refer to the target. Aliases cannot conflict with the name of a group, the name of a target, or another alias.",
      "oneOf": [
        {
          "type": [
            "string",
            "array"
          ],
          "uniqueItems": true,
          "items": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/definitions/_plugin"
              }
            ]
          }
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "config": {
      "description": "A map of configuration options.",
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "transport": {
              "description": "The default transport to use when the transport for a target is not specified in the URI.",
              "oneOf": [
                {
                  "type": "string",
                  "enum": [
                    "choria",
                    "docker",
                    "jail",
                    "local",
                    "lxd",
                    "podman",
                    "remote",
                    "ssh",
                    "winrm"
                  ]
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "choria": {
              "description": "A map of configuration options for the choria transport.",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "broker-timeout": {
                      "description": "How long to wait in seconds for the initial TCP connection to a Choria broker. If the connection cannot be made within this time, the operation fails.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "brokers": {
                      "description": "One or more Choria broker addresses in host or host:port format. Port defaults to 4222 if omitted. Do not use the nats:// prefix. Overrides the middleware hosts from the Choria client configuration file. Can be a single string or an array.",
                      "oneOf": [
                        {
                          "type": [
                            "string",
                            "array"
                          ],
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "cleanup": {
                      "description": "Whether to clean up temporary files created on targets. When running commands on a target, OpenBolt might create temporary files. After completing the command, these files are automatically deleted. This value can be set to 'false' if you wish to leave these temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "collective": {
                      "description": "The Choria collective to target. Overrides the main_collective from the Choria client configuration file.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "command-timeout": {
                      "description": "How long to wait in seconds for commands and scripts to complete when using the Choria transport.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "config-file": {
                      "description": "The path to the Choria or MCollective client configuration file.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "file-transfer-timeout": {
                      "description": "How long to wait in seconds for targets to respond to a file transfer request. Default is 300, and the wait is never shorter than the agent's DDL timeout of 120 seconds.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "host": {
                      "description": "The target's hostname.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "interpreters": {
                      "description": "A map of an extension name to the absolute path of an executable,  enabling you to override the shebang defined in a task executable. The extension can optionally be specified with the `.` character (`.py` and `py` both map to a task executable `task.py`) and the extension is case sensitive. When a target's name is `localhost`, Ruby tasks run with the OpenBolt Ruby interpreter by default.",
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": [
                              "string",
                              "array"
                            ]
                          },
                          "propertyNames": {
                            "pattern": "^.?[a-zA-Z0-9]+$"
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "mcollective-certname": {
                      "description": "Override the MCollective certname used for Choria client identity. The choria-mcorpc-support library identifies non-root clients as '<username>.mcollective'. Set this when authenticating with a certificate whose CN differs from that default (e.g. the host's Puppet cert).",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "message-data-size": {
                      "description": "The file content in one Choria RPC message, in kibibytes, for uploads, downloads and directory listings. Default is 512, half the broker's 1 MiB message limit.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "puppet-environment": {
                      "description": "The Puppet environment to use when constructing task file URIs for the Choria bolt_tasks agent.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "rpc-timeout": {
                      "description": "How long to wait in seconds for nodes to respond to an RPC request. Used for lightweight operations like agent discovery, shell.start, and shell.list polling. Distinct from command-timeout and task-timeout which govern the overall duration of commands and tasks.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "ssl-ca": {
                      "description": "The path to the CA certificate for Choria TLS connections. Overrides the CA from the Choria client configuration file.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "ssl-cert": {
                      "description": "The path to the client certificate for Choria TLS connections. Overrides the certificate from the Choria client configuration file.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "ssl-key": {
                      "description": "The path to the client private key for Choria TLS connections. Overrides the key from the Choria client configuration file.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "task-agent": {
                      "description": "Which Choria agent to use for task execution. Defaults to 'bolt_tasks' (downloads task files from a Puppet Server). Set to 'shell' for tasks not available on the Puppet Server.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "task-timeout": {
                      "description": "How long to wait in seconds for tasks to complete when using the Choria transport.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tmpdir": {
                      "description": "The directory to upload and execute temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "upload-batch-size": {
                      "description": "How many targets one chunk request is published to at a time. Default is 256.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "docker": {
              "description": "A map of configuration options for the docker transport.",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "cleanup": {
                      "description": "Whether to clean up temporary files created on targets. When running commands on a target, OpenBolt might create temporary files. After completing the command, these files are automatically deleted. This value can be set to 'false' if you wish to leave these temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "host": {
                      "description": "The target's hostname.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "interpreters": {
                      "description": "A map of an extension name to the absolute path of an executable,  enabling you to override the shebang defined in a task executable. The extension can optionally be specified with the `.` character (`.py` and `py` both map to a task executable `task.py`) and the extension is case sensitive. When a target's name is `localhost`, Ruby tasks run with the OpenBolt Ruby interpreter by default.",
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": [
                              "string",
                              "array"
                            ]
                          },
                          "propertyNames": {
                            "pattern": "^.?[a-zA-Z0-9]+$"
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as": {
                      "description": "The user to run commands as after login. The run-as user must be different than the login user.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as-command": {
                      "description": "The command to elevate permissions. OpenBolt appends the user and command strings to the configured `run-as-command` before running it on the target. This command must not require an interactive password prompt, and the `sudo-password` option is ignored when `run-as-command` is specified. The `run-as-command` must be specified as an array.",
                      "oneOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "service-url": {
                      "description": "The URL of the host used for API requests.",
                      "oneOf": [
                        {
                          "type": "string",
                          "format": "uri"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "shell-command": {
                      "description": "A shell command to wrap any exec commands in, such as `bash -lc`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-executable": {
                      "description": "The executable to use when escalating to the configured `run-as` user. This is useful when you want to escalate using the configured `sudo-password`, since `run-as-command` does not use `sudo-password` or support prompting. The command executed on the target is `<sudo-executable> -S -u <user> -p custom_bolt_prompt <command>`. **This option is experimental.**",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-password": {
                      "description": "The password to use when changing users via `run-as`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tmpdir": {
                      "description": "The directory to upload and execute temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tty": {
                      "description": "Whether to enable tty on exec commands.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "jail": {
              "description": "A map of configuration options for the jail transport.",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "cleanup": {
                      "description": "Whether to clean up temporary files created on targets. When running commands on a target, OpenBolt might create temporary files. After completing the command, these files are automatically deleted. This value can be set to 'false' if you wish to leave these temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "host": {
                      "description": "The target's hostname.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "interpreters": {
                      "description": "A map of an extension name to the absolute path of an executable,  enabling you to override the shebang defined in a task executable. The extension can optionally be specified with the `.` character (`.py` and `py` both map to a task executable `task.py`) and the extension is case sensitive. When a target's name is `localhost`, Ruby tasks run with the OpenBolt Ruby interpreter by default.",
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": [
                              "string",
                              "array"
                            ]
                          },
                          "propertyNames": {
                            "pattern": "^.?[a-zA-Z0-9]+$"
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as": {
                      "description": "The user to run commands as after login. The run-as user must be different than the login user.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as-command": {
                      "description": "The command to elevate permissions. OpenBolt appends the user and command strings to the configured `run-as-command` before running it on the target. This command must not require an interactive password prompt, and the `sudo-password` option is ignored when `run-as-command` is specified. The `run-as-command` must be specified as an array.",
                      "oneOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "shell-command": {
                      "description": "A shell command to wrap any exec commands in, such as `bash -lc`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-executable": {
                      "description": "The executable to use when escalating to the configured `run-as` user. This is useful when you want to escalate using the configured `sudo-password`, since `run-as-command` does not use `sudo-password` or support prompting. The command executed on the target is `<sudo-executable> -S -u <user> -p custom_bolt_prompt <command>`. **This option is experimental.**",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-password": {
                      "description": "The password to use when changing users via `run-as`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tmpdir": {
                      "description": "The directory to upload and execute temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "user": {
                      "description": "The user name to login as.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "local": {
              "description": "A map of configuration options for the local transport. The set of available options is platform dependent.",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "bundled-ruby": {
                      "description": "Whether to use the Ruby bundled with OpenBolt packages for local targets.",
                      "type": "boolean"
                    },
                    "cleanup": {
                      "description": "Whether to clean up temporary files created on targets. When running commands on a target, OpenBolt might create temporary files. After completing the command, these files are automatically deleted. This value can be set to 'false' if you wish to leave these temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "extensions": {
                      "description": "A list of file extensions that are accepted for scripts or tasks on Windows. Scripts with these file extensions rely on the target's file type association to run. For example, if Python is installed on the system, a `.py` script runs with `python.exe`. The extensions `.ps1`, `.rb`, and `.pp` are always allowed and run via hard-coded executables.",
                      "oneOf": [
                        {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "interpreters": {
                      "description": "A map of an extension name to the absolute path of an executable,  enabling you to override the shebang defined in a task executable. The extension can optionally be specified with the `.` character (`.py` and `py` both map to a task executable `task.py`) and the extension is case sensitive. When a target's name is `localhost`, Ruby tasks run with the OpenBolt Ruby interpreter by default.",
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": [
                              "string",
                              "array"
                            ]
                          },
                          "propertyNames": {
                            "pattern": "^.?[a-zA-Z0-9]+$"
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as": {
                      "description": "The user to run commands as after login. The run-as user must be different than the login user.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as-command": {
                      "description": "The command to elevate permissions. OpenBolt appends the user and command strings to the configured `run-as-command` before running it on the target. This command must not require an interactive password prompt, and the `sudo-password` option is ignored when `run-as-command` is specified. The `run-as-command` must be specified as an array.",
                      "oneOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-executable": {
                      "description": "The executable to use when escalating to the configured `run-as` user. This is useful when you want to escalate using the configured `sudo-password`, since `run-as-command` does not use `sudo-password` or support prompting. The command executed on the target is `<sudo-executable> -S -u <user> -p custom_bolt_prompt <command>`. **This option is experimental.**",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-password": {
                      "description": "The password to use when changing users via `run-as`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tmpdir": {
                      "description": "The directory to upload and execute temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "lxd": {
              "description": "A map of configuration options for the LXD transport. The LXD transport is experimental and might include breaking changes between minor versions.",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "cleanup": {
                      "description": "Whether to clean up temporary files created on targets. When running commands on a target, OpenBolt might create temporary files. After completing the command, these files are automatically deleted. This value can be set to 'false' if you wish to leave these temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "interpreters": {
                      "description": "A map of an extension name to the absolute path of an executable,  enabling you to override the shebang defined in a task executable. The extension can optionally be specified with the `.` character (`.py` and `py` both map to a task executable `task.py`) and the extension is case sensitive. When a target's name is `localhost`, Ruby tasks run with the OpenBolt Ruby interpreter by default.",
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": [
                              "string",
                              "array"
                            ]
                          },
                          "propertyNames": {
                            "pattern": "^.?[a-zA-Z0-9]+$"
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "remote": {
                      "type": "string",
                      "description": "The LXD remote host to use."
                    },
                    "run-as": {
                      "description": "The user to run commands as after login. The run-as user must be different than the login user.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as-command": {
                      "description": "The command to elevate permissions. OpenBolt appends the user and command strings to the configured `run-as-command` before running it on the target. This command must not require an interactive password prompt, and the `sudo-password` option is ignored when `run-as-command` is specified. The `run-as-command` must be specified as an array.",
                      "oneOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "shell-command": {
                      "description": "A shell command to wrap any exec commands in, such as `bash -lc`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-executable": {
                      "description": "The executable to use when escalating to the configured `run-as` user. This is useful when you want to escalate using the configured `sudo-password`, since `run-as-command` does not use `sudo-password` or support prompting. The command executed on the target is `<sudo-executable> -S -u <user> -p custom_bolt_prompt <command>`. **This option is experimental.**",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-password": {
                      "description": "The password to use when changing users via `run-as`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tmpdir": {
                      "description": "The directory to upload and execute temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tty": {
                      "description": "Whether to enable tty on exec commands.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "podman": {
              "description": "A map of configuration options for the podman transport.",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "cleanup": {
                      "description": "Whether to clean up temporary files created on targets. When running commands on a target, OpenBolt might create temporary files. After completing the command, these files are automatically deleted. This value can be set to 'false' if you wish to leave these temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "host": {
                      "description": "The target's hostname.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "interpreters": {
                      "description": "A map of an extension name to the absolute path of an executable,  enabling you to override the shebang defined in a task executable. The extension can optionally be specified with the `.` character (`.py` and `py` both map to a task executable `task.py`) and the extension is case sensitive. When a target's name is `localhost`, Ruby tasks run with the OpenBolt Ruby interpreter by default.",
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": [
                              "string",
                              "array"
                            ]
                          },
                          "propertyNames": {
                            "pattern": "^.?[a-zA-Z0-9]+$"
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as": {
                      "description": "The user to run commands as after login. The run-as user must be different than the login user.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as-command": {
                      "description": "The command to elevate permissions. OpenBolt appends the user and command strings to the configured `run-as-command` before running it on the target. This command must not require an interactive password prompt, and the `sudo-password` option is ignored when `run-as-command` is specified. The `run-as-command` must be specified as an array.",
                      "oneOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "shell-command": {
                      "description": "A shell command to wrap any exec commands in, such as `bash -lc`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-executable": {
                      "description": "The executable to use when escalating to the configured `run-as` user. This is useful when you want to escalate using the configured `sudo-password`, since `run-as-command` does not use `sudo-password` or support prompting. The command executed on the target is `<sudo-executable> -S -u <user> -p custom_bolt_prompt <command>`. **This option is experimental.**",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-password": {
                      "description": "The password to use when changing users via `run-as`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tmpdir": {
                      "description": "The directory to upload and execute temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tty": {
                      "description": "Whether to enable tty on exec commands.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "remote": {
              "description": "A map of configuration options for the remote transport.",
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "run-on": {
                      "description": "The proxy target that the task executes on.",
                      "oneOf": [
                        {
                          "type": "string",
                          "format": "uri"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "ssh": {
              "description": "A map of configuration options for the ssh transport.",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "cleanup": {
                      "description": "Whether to clean up temporary files created on targets. When running commands on a target, OpenBolt might create temporary files. After completing the command, these files are automatically deleted. This value can be set to 'false' if you wish to leave these temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "connect-timeout": {
                      "description": "How long to wait in seconds when establishing connections. Set this value higher if you frequently encounter connection timeout errors when running OpenBolt.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "disconnect-timeout": {
                      "description": "How long to wait in seconds before force-closing a connection.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "encryption-algorithms": {
                      "description": "A list of encryption algorithms to use when establishing a connection to a target. Supported algorithms are defined by the Ruby net-ssh library and can be viewed [here](https://github.com/net-ssh/net-ssh#supported-algorithms). All supported, non-deprecated algorithms are available by default when this option is not used. To reference all default algorithms using this option, add 'defaults' to the list of supported algorithms.",
                      "oneOf": [
                        {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "extensions": {
                      "description": "A list of file extensions that are accepted for scripts or tasks on Windows. Scripts with these file extensions rely on the target's file type association to run. For example, if Python is installed on the system, a `.py` script runs with `python.exe`. The extensions `.ps1`, `.rb`, and `.pp` are always allowed and run via hard-coded executables.",
                      "oneOf": [
                        {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "host": {
                      "description": "The target's hostname.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "host-key-algorithms": {
                      "description": "A list of host key algorithms to use when establishing a connection to a target. Supported algorithms are defined by the Ruby net-ssh library and can be viewed [here](https://github.com/net-ssh/net-ssh#supported-algorithms). All supported, non-deprecated algorithms are available by default when this option is not used. To reference all default algorithms using this option, add 'defaults' to the list of supported algorithms.",
                      "oneOf": [
                        {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "host-key-check": {
                      "description": "Whether to perform host key validation when connecting.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "interpreters": {
                      "description": "A map of an extension name to the absolute path of an executable,  enabling you to override the shebang defined in a task executable. The extension can optionally be specified with the `.` character (`.py` and `py` both map to a task executable `task.py`) and the extension is case sensitive. When a target's name is `localhost`, Ruby tasks run with the OpenBolt Ruby interpreter by default.",
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": [
                              "string",
                              "array"
                            ]
                          },
                          "propertyNames": {
                            "pattern": "^.?[a-zA-Z0-9]+$"
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "kex-algorithms": {
                      "description": "A list of key exchange algorithms to use when establishing a connection to a target. Supported algorithms are defined by the Ruby net-ssh library and can be viewed [here](https://github.com/net-ssh/net-ssh#supported-algorithms). All supported, non-deprecated algorithms are available by default when this option is not used. To reference all default algorithms using this option, add 'defaults' to the list of supported algorithms.",
                      "oneOf": [
                        {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "load-config": {
                      "description": "Whether to load system SSH configuration from '~/.ssh/config' and '/etc/ssh_config'.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "login-shell": {
                      "description": "Which login shell OpenBolt should expect on the target. Supported shells are sh, bash, zsh, dash, ksh, powershell. **This option is experimental.**",
                      "oneOf": [
                        {
                          "type": "string",
                          "enum": [
                            "sh",
                            "bash",
                            "zsh",
                            "dash",
                            "ksh",
                            "powershell"
                          ]
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "mac-algorithms": {
                      "description": "List of message authentication code algorithms to use when establishing a connection to a target. Supported algorithms are defined by the Ruby net-ssh library and can be viewed [here](https://github.com/net-ssh/net-ssh#supported-algorithms). All supported, non-deprecated algorithms are available by default when this option is not used. To reference all default algorithms using this option, add 'defaults' to the list of supported algorithms.",
                      "oneOf": [
                        {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "password": {
                      "description": "The password to use to login.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "port": {
                      "description": "The port to use when connecting to the target.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 0
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "private-key": {
                      "description": "Either the path to the private key file to use for authentication, or a hash with the key `key-data` and the contents of the private key. Note that the key cannot be encrypted if using the `key-data` hash.",
                      "oneOf": [
                        {
                          "type": [
                            "object",
                            "string"
                          ],
                          "required": [
                            "key-data"
                          ],
                          "properties": {
                            "key-data": {
                              "description": "The contents of the private key.",
                              "oneOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "$ref": "#/definitions/_plugin"
                                }
                              ]
                            }
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "proxyjump": {
                      "description": "A jump host to proxy connections through, and an optional user to connect with.",
                      "oneOf": [
                        {
                          "type": "string",
                          "format": "uri"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as": {
                      "description": "The user to run commands as after login. The run-as user must be different than the login user.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "run-as-command": {
                      "description": "The command to elevate permissions. OpenBolt appends the user and command strings to the configured `run-as-command` before running it on the target. This command must not require an interactive password prompt, and the `sudo-password` option is ignored when `run-as-command` is specified. The `run-as-command` must be specified as an array.",
                      "oneOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "script-dir": {
                      "description": "The subdirectory of the tmpdir to use in place of a randomized subdirectory for uploading and executing temporary files on the target. It's expected that this directory already exists as a subdir of tmpdir, which is either configured or defaults to `/tmp`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-executable": {
                      "description": "The executable to use when escalating to the configured `run-as` user. This is useful when you want to escalate using the configured `sudo-password`, since `run-as-command` does not use `sudo-password` or support prompting. The command executed on the target is `<sudo-executable> -S -u <user> -p custom_bolt_prompt <command>`. **This option is experimental.**",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "sudo-password": {
                      "description": "The password to use when changing users via `run-as`.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tmpdir": {
                      "description": "The directory to upload and execute temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tty": {
                      "description": "Whether to enable tty on exec commands.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "user": {
                      "description": "The user name to login as.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "batch-mode": {
                      "description": "Whether to disable password querying. When set to `false`, SSH will fall back to prompting for a password if key authentication fails. This might cause OpenBolt to hang. To prevent OpenBolt from hanging, you can configure `ssh-command` to use an SSH utility such as sshpass that supports providing a password non-interactively. For more information, see [Providing a password non-interactively using `native-ssh`](troubleshooting.md#providing-a-password-non-interactively-using-native-ssh).",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "copy-command": {
                      "description": "The command to use when copying files using native SSH. OpenBolt runs `<copy-command> <src> <dest>`. This option is used when you need support for features or algorithms that are not supported by the net-ssh Ruby library. **This option is experimental.** You can read more about this option in [Native SSH transport](experimental_features.md#native-ssh-transport).",
                      "oneOf": [
                        {
                          "type": [
                            "array",
                            "string"
                          ],
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "native-ssh": {
                      "description": "This enables the native SSH transport, which shells out to SSH instead of using the net-ssh Ruby library",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "ssh-command": {
                      "description": "The command and options to use when SSHing. This option is used when you need support for features or algorithms that are not supported by the net-ssh Ruby library. **This option is experimental.** You can read more about this  option in [Native SSH transport](experimental_features.md#native-ssh-transport).",
                      "oneOf": [
                        {
                          "type": [
                            "array",
                            "string"
                          ],
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            },
            "winrm": {
              "description": "A map of configuration options for the winrm transport.",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "basic-auth-only": {
                      "description": "Whether to force basic authentication. This option is only available when using SSL.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "cacert": {
                      "description": "The path to the CA certificate.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "cleanup": {
                      "description": "Whether to clean up temporary files created on targets. When running commands on a target, OpenBolt might create temporary files. After completing the command, these files are automatically deleted. This value can be set to 'false' if you wish to leave these temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "connect-timeout": {
                      "description": "How long to wait in seconds when establishing connections. Set this value higher if you frequently encounter connection timeout errors when running OpenBolt.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 1
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "extensions": {
                      "description": "A list of file extensions that are accepted for scripts or tasks on Windows. Scripts with these file extensions rely on the target's file type association to run. For example, if Python is installed on the system, a `.py` script runs with `python.exe`. The extensions `.ps1`, `.rb`, and `.pp` are always allowed and run via hard-coded executables.",
                      "oneOf": [
                        {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "oneOf": [
                              {
                                "type": "string"
                              },
                              {
                                "$ref": "#/definitions/_plugin"
                              }
                            ]
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "file-protocol": {
                      "description": "Which file transfer protocol to use. Either `winrm` or `smb`. Using `smb` is recommended for large file transfers.",
                      "oneOf": [
                        {
                          "type": "string",
                          "enum": [
                            "smb",
                            "winrm"
                          ]
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "host": {
                      "description": "The target's hostname.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "interpreters": {
                      "description": "A map of an extension name to the absolute path of an executable,  enabling you to override the shebang defined in a task executable. The extension can optionally be specified with the `.` character (`.py` and `py` both map to a task executable `task.py`) and the extension is case sensitive. When a target's name is `localhost`, Ruby tasks run with the OpenBolt Ruby interpreter by default.",
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": [
                              "string",
                              "array"
                            ]
                          },
                          "propertyNames": {
                            "pattern": "^.?[a-zA-Z0-9]+$"
                          }
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "password": {
                      "description": "The password to use to login.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "port": {
                      "description": "The port to use when connecting to the target.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 0
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "realm": {
                      "description": "The Kerberos realm (Active Directory domain) to authenticate against.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "smb-port": {
                      "description": "The port to use when connecting to the target when file-protocol is set to 'smb'.",
                      "oneOf": [
                        {
                          "type": "integer",
                          "minimum": 0
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "ssl": {
                      "description": "Whether to use secure https connections for WinRM.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "ssl-verify": {
                      "description": "Whether to verify that the target's certificate matches the cacert.",
                      "oneOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "tmpdir": {
                      "description": "The directory to upload and execute temporary files on the target.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    },
                    "user": {
                      "description": "The user name to login as.",
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "$ref": "#/definitions/_plugin"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            }
          }
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "facts": {
      "description": "A map of system information, also known as facts, for the target.",
      "oneOf": [
        {
          "type": "object"
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "features": {
      "description": "A list of available features for the target.",
      "oneOf": [
        {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/definitions/_plugin"
              }
            ]
          }
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "groups": {
      "description": "A list of groups and their associated configuration.",
      "oneOf": [
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "config": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/config"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "facts": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/facts"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "features": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/features"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "groups": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/groups"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "name": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/name"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "plugin_hooks": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/plugin_hooks"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "targets": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/targets"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "vars": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/vars"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  }
                }
              },
              {
                "$ref": "#/definitions/_plugin"
              }
            ]
          }
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "name": {
      "description": "A human-readable name to refer to the group or target. Names cannot conflict with the name of a group, the name of a target, or the alias of a target. A name is required for a group and is required for a target unless the uri option is set.",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "plugin_hooks": {
      "description": "Configuration for the Puppet library plugin used to install the Puppet agent on the target. For more information, see [plugin hooks](writing_plugins.md#plugin-hooks).",
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "puppet_library": {
              "description": "Configuration for the Puppet library plugin.",
              "oneOf": [
                {
                  "type": "object"
                },
                {
                  "$ref": "#/definitions/_plugin"
                }
              ]
            }
          }
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "targets": {
      "description": "A list of targets and their associated configuration.",
      "oneOf": [
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "object"
                ],
                "properties": {
                  "alias": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/alias"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "config": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/config"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "facts": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/facts"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "features": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/features"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "name": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/name"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "plugin_hooks": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/plugin_hooks"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "uri": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/uri"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  },
                  "vars": {
                    "oneOf": [
                      {
                        "$ref": "#/definitions/vars"
                      },
                      {
                        "$ref": "#/definitions/_plugin"
                      }
                    ]
                  }
                }
              },
              {
                "$ref": "#/definitions/_plugin"
              }
            ]
          }
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "uri": {
      "description": "The URI of the target. This option is required unless the name option is set.",
      "oneOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "vars": {
      "description": "A map of variables for the group or target.",
      "oneOf": [
        {
          "type": "object"
        },
        {
          "$ref": "#/definitions/_plugin"
        }
      ]
    },
    "version": {
      "description": "The version of the inventory file.",
      "type": "integer"
    }
  },
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "config": {
          "oneOf": [
            {
              "$ref": "#/definitions/config"
            },
            {
              "$ref": "#/definitions/_plugin"
            }
          ]
        },
        "facts": {
          "oneOf": [
            {
              "$ref": "#/definitions/facts"
            },
            {
              "$ref": "#/definitions/_plugin"
            }
          ]
        },
        "features": {
          "oneOf": [
            {
              "$ref": "#/definitions/features"
            },
            {
              "$ref": "#/definitions/_plugin"
            }
          ]
        },
        "groups": {
          "oneOf": [
            {
              "$ref": "#/definitions/groups"
            },
            {
              "$ref": "#/definitions/_plugin"
            }
          ]
        },
        "plugin_hooks": {
          "oneOf": [
            {
              "$ref": "#/definitions/plugin_hooks"
            },
            {
              "$ref": "#/definitions/_plugin"
            }
          ]
        },
        "targets": {
          "oneOf": [
            {
              "$ref": "#/definitions/targets"
            },
            {
              "$ref": "#/definitions/_plugin"
            }
          ]
        },
        "vars": {
          "oneOf": [
            {
              "$ref": "#/definitions/vars"
            },
            {
              "$ref": "#/definitions/_plugin"
            }
          ]
        },
        "version": {
          "oneOf": [
            {
              "$ref": "#/definitions/version"
            },
            {
              "$ref": "#/definitions/_plugin"
            }
          ]
        }
      }
    },
    {
      "$ref": "#/definitions/_plugin"
    }
  ]
}