{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tyk/json-schema/tyk-audit-logs-schema.json",
  "title": "AuditLogs",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tyk-audit-logs-api-openapi.yml#/components/schemas/AuditLogs",
  "properties": {
    "pages": {
      "type": "integer"
    },
    "audit_logs": {
      "items": {
        "$ref": "#/$defs/AuditLog"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "AuditLog": {
      "properties": {
        "_id": {
          "type": "string"
        },
        "req_id": {
          "type": "string"
        },
        "org_id": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "timestamp": {
          "type": "integer"
        },
        "ip": {
          "type": "string"
        },
        "user": {
          "type": "string"
        },
        "action": {
          "type": "string"
        },
        "method": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "status": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}