{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ransack-tools/json-schema/ransack-tools-fetch-schema.json",
  "title": "Fetch",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ransack-tools-openapi.json#/components/schemas/Fetch",
  "properties": {
    "url": {
      "description": "URL to fetch and extract",
      "minLength": 1,
      "title": "Url",
      "type": "string"
    },
    "max_chars": {
      "default": 200000,
      "description": "Output size cap",
      "maximum": 5000000,
      "minimum": 100,
      "title": "Max Chars",
      "type": "integer"
    },
    "format": {
      "default": "markdown",
      "pattern": "^(markdown|json|hybrid)$",
      "title": "Format",
      "type": "string"
    },
    "must_contain": {
      "default": "",
      "description": "Post-fetch verdict probe for this phrase",
      "title": "Must Contain",
      "type": "string"
    }
  },
  "required": [
    "url"
  ],
  "type": "object"
}