{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openrush-com/json-schema/openrush-com-create-monitor-request-schema.json",
  "title": "CreateMonitorRequest",
  "description": "A template + its subject(s). See docs/monitoring-tools.md.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openrush-com-openapi.json#/components/schemas/CreateMonitorRequest",
  "properties": {
    "template": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "search_console",
            "website_analytics",
            "competitors",
            "site_health",
            "backlinks",
            "ai_visibility",
            "rankings",
            "ads"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Template"
    },
    "domain": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 253,
          "minLength": 2
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain"
    },
    "competitors": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 9,
      "title": "Competitors"
    },
    "keywords": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 100,
      "title": "Keywords"
    },
    "business_names": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 100,
      "title": "Business Names"
    },
    "location": {
      "type": "string",
      "title": "Location",
      "default": "United States"
    },
    "language": {
      "type": "string",
      "title": "Language",
      "default": "English"
    },
    "mode": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "index",
            "live"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Mode"
    },
    "max_pages": {
      "type": "integer",
      "maximum": 20.0,
      "minimum": 1.0,
      "title": "Max Pages",
      "default": 10
    },
    "website_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 36
        },
        {
          "type": "null"
        }
      ],
      "title": "Website Id"
    },
    "ad_account": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Ad Account"
    },
    "platform": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "Platform"
    },
    "cadence": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "daily",
            "weekly",
            "monthly"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Cadence"
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "first_check_now": {
      "type": "boolean",
      "title": "First Check Now",
      "default": true
    }
  },
  "type": "object"
}