{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fastcrw-com/json-schema/fastcrw-com-map-request-schema.json",
  "title": "MapRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fastcrw-com-map-api-openapi.yml#/components/schemas/MapRequest",
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "maxDepth": {
      "type": "integer",
      "minimum": 0,
      "description": "Maximum link-follow depth from the start URL"
    },
    "useSitemap": {
      "type": "boolean",
      "default": true,
      "description": "Fetch and parse sitemap.xml first"
    },
    "crawlFallback": {
      "type": "boolean",
      "default": true,
      "description": "Fall back to BFS crawl when sitemap is missing or sparse"
    },
    "timeout": {
      "type": "integer",
      "description": "Custom timeout in seconds (default: 120)"
    }
  }
}