{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-assets-bulk-request-body-schema-schema.json",
  "title": "assets_bulk_request_body_schema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-assets-api-openapi.yml#/components/schemas/assets_bulk_request_body_schema",
  "type": "object",
  "properties": {
    "asset_ids": {
      "type": "array",
      "description": "IDs of all assets to be updated.",
      "items": {
        "type": "integer"
      }
    },
    "asset": {
      "type": "object",
      "properties": {
        "priority": {
          "type": "integer",
          "format": "int32"
        },
        "notes": {
          "type": "string"
        },
        "operating_system": {
          "type": "string"
        },
        "last_booted_at": {
          "type": "string",
          "format": "date-time"
        },
        "ipv6": {
          "type": "string"
        },
        "inactive": {
          "type": "boolean"
        },
        "owner": {
          "type": "string"
        },
        "reset_tags": {
          "type": "boolean"
        },
        "remove_tags": {
          "type": "array",
          "default": [],
          "items": {
            "type": "string"
          }
        },
        "tags": {
          "type": "array",
          "default": [],
          "items": {
            "type": "string"
          }
        },
        "last_seen_time": {
          "type": "string",
          "format": "date-time"
        },
        "remove_override": {
          "type": "boolean",
          "description": "Pass in this param to remove a manual override on the asset’s status. Automatic asset inactivity logic will be re-applied to assets in the background."
        }
      }
    },
    "realtime": {
      "type": "boolean",
      "description": "Assets will be updated synchronously if \"realtime\" is true. Please note that there is a limit of no more than 100 assets per realtime bulk update request.",
      "default": true
    }
  }
}