{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-audit-log-ui-response-schema.json",
  "title": "AuditLogUiResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-audit-log-api-openapi.yml#/components/schemas/AuditLogUiResponse",
  "type": "object",
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AuditLogEntry"
      }
    },
    "total": {
      "type": "integer",
      "format": "int64"
    }
  },
  "$defs": {
    "AuditLogEntry": {
      "type": "object",
      "properties": {
        "action": {
          "type": "string"
        },
        "actor": {
          "$ref": "#/$defs/LogEntryActor"
        },
        "id": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "meta": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "timestamp": {
          "type": "integer",
          "format": "int64"
        }
      },
      "required": [
        "action",
        "actor",
        "id",
        "message",
        "meta"
      ]
    },
    "LogEntryActor": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "USER",
            "API_TOKEN",
            "POLICY"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "type"
      ]
    }
  }
}