{
  "type": "object",
  "properties": {
    "ip": {
      "type": "string",
      "description": "The request's IP address, IPv4 or IPv6"
    },
    "user_agent": {
      "description": "The User-Agent header it sent",
      "type": "string",
      "maxLength": 1000
    },
    "signature": {
      "description": "Web Bot Auth headers to check (RFC 9421 signatures): verified by the agent's published key from any address.",
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri",
          "description": "The https URL the request was sent to (its host is the signed @authority)"
        },
        "signature_input": {
          "type": "string",
          "maxLength": 4096,
          "description": "The Signature-Input header"
        },
        "signature": {
          "type": "string",
          "maxLength": 4096,
          "description": "The Signature header"
        },
        "signature_agent": {
          "type": "string",
          "maxLength": 512,
          "description": "The Signature-Agent header, as sent (a quoted string, e.g. \"https://chatgpt.com\")"
        }
      },
      "required": [
        "url",
        "signature_input",
        "signature",
        "signature_agent"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ip"
  ],
  "additionalProperties": false
}