{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-ad-hoc-command-list-request-schema.json",
  "title": "AdHocCommandListRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-ad-hoc-commands-api-openapi.yml#/components/schemas/AdHocCommandListRequest",
  "type": "object",
  "properties": {
    "execution_environment": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The container image to be used for execution."
    },
    "job_type": {
      "enum": [
        "run",
        "check",
        null
      ],
      "type": [
        "string",
        "null"
      ],
      "description": "* `run` - Run\n* `check` - Check",
      "x-spec-enum-id": "726608a431c1f104",
      "default": "run"
    },
    "inventory": {
      "type": [
        "integer",
        "null"
      ]
    },
    "limit": {
      "type": [
        "string",
        "null"
      ],
      "default": ""
    },
    "credential": {
      "type": [
        "integer",
        "null"
      ]
    },
    "module_name": {
      "enum": [
        "command",
        "shell",
        "yum",
        "apt",
        "apt_key",
        "apt_repository",
        "apt_rpm",
        "service",
        "group",
        "user",
        "mount",
        "ping",
        "selinux",
        "setup",
        "win_ping",
        "win_service",
        "win_updates",
        "win_group",
        "win_user"
      ],
      "type": "string",
      "description": "* `command` - command\n* `shell` - shell\n* `yum` - yum\n* `apt` - apt\n* `apt_key` - apt_key\n* `apt_repository` - apt_repository\n* `apt_rpm` - apt_rpm\n* `service` - service\n* `group` - group\n* `user` - user\n* `mount` - mount\n* `ping` - ping\n* `selinux` - selinux\n* `setup` - setup\n* `win_ping` - win_ping\n* `win_service` - win_service\n* `win_updates` - win_updates\n* `win_group` - win_group\n* `win_user` - win_user",
      "x-spec-enum-id": "857230cdbb58eda2",
      "default": "command"
    },
    "module_args": {
      "type": [
        "string",
        "null"
      ],
      "default": ""
    },
    "forks": {
      "type": "integer",
      "maximum": 9223372036854775807,
      "minimum": 0,
      "format": "int64",
      "default": 0
    },
    "verbosity": {
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5
      ],
      "type": "integer",
      "description": "* `0` - 0 (Normal)\n* `1` - 1 (Verbose)\n* `2` - 2 (More Verbose)\n* `3` - 3 (Debug)\n* `4` - 4 (Connection Debug)\n* `5` - 5 (WinRM Debug)",
      "x-spec-enum-id": "8cfb81af905b865a",
      "default": 0,
      "minimum": 0,
      "maximum": 9223372036854775807
    },
    "extra_vars": {
      "type": [
        "string",
        "null"
      ],
      "default": ""
    },
    "become_enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "default": false
    },
    "diff_mode": {
      "type": [
        "boolean",
        "null"
      ],
      "default": false
    }
  }
}