{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pentest-tools-com/json-schema/pentest-tools-com-http-logger-data-schema.json",
  "title": "HttpLoggerData",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pentest-tools-com-openapi.yml#/components/schemas/HttpLoggerData",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "the unique identifier of the data entry"
    },
    "ip_address": {
      "type": "string",
      "format": "ipv4",
      "description": "The source IP of the request"
    },
    "request_method": {
      "type": "string",
      "description": "The HTTP method used to make the request. [Here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) is a list of possible values"
    },
    "url_params": {
      "type": "string",
      "description": "The parameters used in the request"
    },
    "user_agent": {
      "type": "string",
      "description": "The user agent used in the request"
    },
    "os": {
      "type": "string",
      "description": "The OS of the user who did the request"
    },
    "http_headers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of HTTP headers used in the request"
    },
    "request_body_type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "binary",
        "text",
        null
      ],
      "description": "The type of data held in the request body. This is `null` for empty bodies"
    },
    "request_body_base64": {
      "type": "string",
      "description": "The body of the request, base64 encoded. This is an empty string for empty bodies"
    },
    "request_date": {
      "type": "string",
      "format": "date-time"
    }
  }
}