{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-asset-request-body-schema-schema.json",
  "title": "asset_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/asset_request_body_schema",
  "type": "object",
  "properties": {
    "asset": {
      "type": "object",
      "properties": {
        "application": {
          "type": "string",
          "description": "The application name.  Either `application` or `application_id` may be specified."
        },
        "application_id": {
          "type": "string",
          "description": "The application locator of the asset.  Either `application_id` or `application` may be specified."
        },
        "external_id": {
          "type": "string",
          "description": "The external_id of the asset"
        },
        "database": {
          "type": "string",
          "description": "The database name of the asset"
        },
        "ec2": {
          "type": "string",
          "description": "The ec2 name of the asset"
        },
        "file": {
          "type": "string",
          "description": "The Fully Qualified path of the file"
        },
        "fqdn": {
          "type": "string",
          "description": "The Fully Qualified Domain Name of the asset"
        },
        "hostname": {
          "type": "string",
          "description": "The hostname of the asset"
        },
        "inactive": {
          "type": "boolean",
          "description": "A boolean value to set the asset inactive"
        },
        "ip_address": {
          "type": "string",
          "description": "The IP address of the asset"
        },
        "ipv6": {
          "type": "string",
          "description": "The asset's ipv6 address"
        },
        "last_booted_at": {
          "type": "string",
          "description": "A datetime (as an iso8601 timestamp) identifying when the asset was last booted",
          "format": "date-time"
        },
        "last_seen_time": {
          "type": "string",
          "description": "A datetime (as an iso8601 timestamp) identifying when the asset was last seen",
          "format": "date-time"
        },
        "mac_address": {
          "type": "string",
          "description": "The MAC address of the asset"
        },
        "netbios": {
          "type": "string",
          "description": "The NetBIOS address of the asset"
        },
        "notes": {
          "type": "string",
          "description": "Strings may be used to store plain english notes about an asset. Maximum 50,000 characters allowed."
        },
        "operating_system": {
          "type": "string",
          "description": "The operating system of the asset"
        },
        "owner": {
          "type": "string",
          "description": "The name of the owner of an asset."
        },
        "primary_locator": {
          "type": "string",
          "description": "The primary_locator field is deprecated. It is accepted for backward compatibility, but it's calculated by our back-end system and it is ignored."
        },
        "priority": {
          "type": "integer",
          "description": "The priority of the asset; an integer between 1 (low) to 10 (high)",
          "format": "int32"
        },
        "remove_override": {
          "type": "boolean",
          "description": "Update only: pass in this param to remove a manual override on an existing asset’s status. Automatic asset inactivity logic will immediately be re-applied to this asset."
        },
        "url": {
          "type": "string",
          "description": "The URL of the asset"
        }
      }
    }
  }
}