{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beatapi/json-schema/beatapi-web-map-request-schema.json",
  "title": "WebMapRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beatapi-web-search-api-openapi.yml#/components/schemas/WebMapRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "pattern": "^https?://",
      "description": "The page to start from. It must be a public `http` or `https` URL without a\nuser name or password, and not `localhost` or a private-network IP address.\n"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 50,
      "description": "At most this many URLs are returned. Each URL returned is billed."
    },
    "max_depth": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "default": 1,
      "description": "How many links away from the starting page to follow."
    },
    "include_external": {
      "type": "boolean",
      "default": false,
      "description": "Also list links that leave the site."
    },
    "select_paths": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "description": "Regular expressions over the URL path, such as `/docs/.*`. Only matching\nURLs are listed. An expression that does not compile is rejected with `400`.\n"
    },
    "exclude_paths": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "description": "Regular expressions over the URL path. Matching URLs are left out."
    }
  }
}