{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smartcrawler-io/json-schema/smartcrawler-io-scrape-request-schema.json",
  "title": "ScrapeRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smartcrawler-io-openapi.json#/components/schemas/ScrapeRequest",
  "properties": {
    "url": {
      "type": "string",
      "title": "Url",
      "description": "URL to scrape."
    },
    "formats": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Formats",
      "description": "markdown / structured / html / links",
      "default": [
        "markdown",
        "structured"
      ]
    },
    "only_main_content": {
      "type": "boolean",
      "title": "Only Main Content",
      "default": true
    },
    "wait_for": {
      "type": "integer",
      "title": "Wait For",
      "description": "Extra wait in milliseconds.",
      "default": 0
    },
    "timeout": {
      "type": "integer",
      "title": "Timeout",
      "description": "Timeout in milliseconds.",
      "default": 30000
    },
    "force_live": {
      "type": "boolean",
      "title": "Force Live",
      "description": "Bypass warehouse cache.",
      "default": false
    },
    "mode": {
      "type": "string",
      "title": "Mode",
      "description": "standard / advanced (browser_pool rendered scrape).",
      "default": "standard"
    }
  },
  "type": "object",
  "required": [
    "url"
  ]
}