{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/invoicepdfs-com/json-schema/invoicepdfs-com-audit-event-response-schema.json",
  "title": "AuditEventResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/invoicepdfs-com-audit-log-api-openapi.yml#/components/schemas/AuditEventResponse",
  "properties": {
    "data": {
      "$ref": "#/$defs/AuditEventOut"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "AuditEventOut": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "actor": {
          "type": "string",
          "title": "Actor"
        },
        "action": {
          "type": "string",
          "title": "Action"
        },
        "resource_type": {
          "type": "string",
          "title": "Resource Type"
        },
        "resource_id": {
          "type": "string",
          "title": "Resource Id"
        },
        "workspace_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Workspace Id"
        },
        "ip_address": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ip Address"
        },
        "user_agent": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "User Agent"
        },
        "request_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Request Id"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Summary"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "actor",
        "action",
        "resource_type",
        "resource_id",
        "created_at"
      ],
      "title": "AuditEventOut"
    }
  }
}