{
  "type": "object",
  "required": [
    "runtime_seconds",
    "system_info",
    "wsus",
    "updates",
    "result"
  ],
  "properties": {
    "runtime_seconds": {
      "type": "integer"
    },
    "system_info": {
      "type": "object",
      "required": [
        "wuinstall_version",
        "windows_version",
        "ubr",
        "windows_update_agent",
        "domain",
        "username",
        "computername",
        "processor_architecture",
        "wow64",
        "is_elevated"
      ],
      "properties": {
        "wuinstall_version": {
          "type": [
            "string",
            "null"
          ]
        },
        "windows_version": {
          "type": [
            "string",
            "null"
          ]
        },
        "ubr": {
          "type": "integer"
        },
        "windows_update_agent": {
          "type": [
            "string",
            "null"
          ]
        },
        "domain": {
          "type": [
            "string",
            "null"
          ]
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        },
        "computername": {
          "type": [
            "string",
            "null"
          ]
        },
        "processor_architecture": {
          "type": [
            "string",
            "null"
          ]
        },
        "wow64": {
          "type": "boolean"
        },
        "is_elevated": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "wsus": {
      "type": [
        "string",
        "null"
      ]
    },
    "updates": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "title",
          "update_id",
          "kb_article_ids",
          "msrc_severity",
          "classification",
          "product",
          "is_downloaded",
          "is_installed",
          "max_download_size",
          "download_result_code",
          "installation_result_code"
        ],
        "properties": {
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "update_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "kb_article_ids": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "msrc_severity": {
            "type": [
              "string",
              "null"
            ]
          },
          "classification": {
            "type": [
              "string",
              "null"
            ]
          },
          "product": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_downloaded": {
            "type": "boolean"
          },
          "is_installed": {
            "type": "boolean"
          },
          "max_download_size": {
            "type": "integer"
          },
          "download_result_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "installation_result_code": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "result": {
      "type": "object",
      "required": [
        "search_result",
        "return_code",
        "return_text",
        "reboot_required"
      ],
      "properties": {
        "search_result": {
          "type": [
            "string",
            "null"
          ]
        },
        "return_code": {
          "type": "integer"
        },
        "return_text": {
          "type": [
            "string",
            "null"
          ]
        },
        "reboot_required": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://wuinstall.com/automation/v1/report-3.0.4.schema.json",
  "title": "WuInstall 3.0.4 JSON report \u2014 source-derived website contract",
  "description": "Describes the 3.0.4 emitter. No schema_version is emitted by the executable. Validate newer releases separately; this is not a promise that every later version is identical."
}
