{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mapsharvest-com/json-schema/mapsharvest-com-scheduled-scrape-request-schema.json",
  "title": "ScheduledScrapeRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mapsharvest-com-openapi.yml#/components/schemas/ScheduledScrapeRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "default": "My Schedule"
    },
    "query": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "title": "Query"
    },
    "states": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "title": "States"
    },
    "cities": {
      "type": "string",
      "maxLength": 5000,
      "title": "Cities"
    },
    "preset": {
      "type": "string",
      "maxLength": 64,
      "title": "Preset",
      "default": "core"
    },
    "max_results_per_city": {
      "type": "integer",
      "maximum": 500.0,
      "minimum": 1.0,
      "title": "Max Results Per City",
      "default": 60
    },
    "cron_expr": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Cron Expr"
    },
    "timezone": {
      "type": "string",
      "maxLength": 60,
      "title": "Timezone",
      "default": "America/New_York"
    },
    "enabled": {
      "type": "boolean",
      "title": "Enabled",
      "default": true
    },
    "min_rating": {
      "type": "number",
      "title": "Min Rating"
    },
    "min_reviews": {
      "type": "integer",
      "title": "Min Reviews"
    },
    "max_reviews": {
      "type": "integer",
      "title": "Max Reviews"
    },
    "require_website": {
      "type": "boolean",
      "title": "Require Website",
      "default": false
    },
    "require_phone": {
      "type": "boolean",
      "title": "Require Phone",
      "default": false
    },
    "country": {
      "type": "string",
      "maxLength": 20,
      "title": "Country",
      "default": "us"
    },
    "webhook_url": {
      "type": "string",
      "maxLength": 2048,
      "title": "Webhook Url"
    }
  },
  "type": "object",
  "required": [
    "query",
    "states",
    "cron_expr"
  ]
}