{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/virlo-ai/json-schema/virlo-ai-v1-update-comet-dto-schema.json",
  "title": "V1UpdateCometDto",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/virlo-ai-openapi.json#/components/schemas/V1UpdateCometDto",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the custom niche configuration"
    },
    "keywords": {
      "description": "Array of keywords to search for (1-20 keywords). Hashtag-style tokens are normalised: a leading \"#\" is stripped and whitespace collapsed, so \"#progressivehouse\" and \"progressivehouse\" are equivalent.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "platforms": {
      "type": "array",
      "description": "Platforms to scrape from",
      "items": {
        "type": "string",
        "enum": [
          "youtube",
          "tiktok",
          "instagram"
        ]
      }
    },
    "cadence": {
      "type": "string",
      "description": "Schedule cadence: \"daily\", \"weekly\", \"monthly\", or a cron expression (minimum daily)"
    },
    "min_views": {
      "type": "number",
      "description": "[Deprecated] Previously set the scrape-time minimum view threshold. Collection scope is now system-managed — recurring agents collect the widest relevant net each cycle so no content is missed, and you filter by views at READ time on GET /v1/comet/:comet_id/videos (`min_views`). Still accepted for backward compatibility but has NO effect on what gets collected.",
      "deprecated": true
    },
    "time_range": {
      "type": "string",
      "description": "[Deprecated] Previously set the scrape-time publish-date window. Collection scope is now system-managed and cadence-aware (a weekly agent scans the past week, a monthly agent the past month, etc.), and you filter by date at READ time on GET /v1/comet/:comet_id/videos (`start_date` / `end_date`). Still accepted for backward compatibility but has NO effect on what gets collected.",
      "enum": [
        "today",
        "this_week",
        "this_month",
        "this_year"
      ],
      "deprecated": true
    },
    "is_active": {
      "type": "boolean",
      "description": "Whether the configuration is active",
      "default": true
    },
    "meta_ads_enabled": {
      "type": "boolean",
      "description": "Enable Meta ads collection",
      "default": false
    },
    "exclude_keywords": {
      "description": "Noise terms to filter out — matched as WHOLE WORDS against captions + hashtags, so use the single word people actually type for the OTHER meaning (researching Apple the company, not the fruit? exclude `recipe`, `fruit`, `orchard`), not multi-word phrases like `apple the fruit` (which never match). Never exclude a word that is part of your own topic. Tip: suggest-keywords returns a ready exclude_keywords list you can pass straight in.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "exclude_keywords_strict": {
      "type": "boolean",
      "description": "If true, also match exclude_keywords against the video transcript (speech), not just the caption/hashtags — use when the noise word is spoken but rarely written. Default false.",
      "default": false
    },
    "intent": {
      "type": "string",
      "description": "Intent or purpose for this comet configuration"
    },
    "data_intelligence_enabled": {
      "type": "boolean",
      "description": "Enable per-video AI intelligence: 79 structured fields per analyzed video and 70 per analyzed slideshow, covering topics, hooks, sentiment, brand safety, on-screen people and AI provenance. Not every item is analyzed: content that is off-intent, more than a year old (unless among the run's top performers), or that got no more views than its creator has followers is skipped and returns `intelligence_status: \"skipped\"`. Adds $1.00 (100 credits) to the $0.50 base, so $1.50 per run in total.",
      "default": false
    },
    "english_only": {
      "type": "boolean",
      "description": "When true (default), only English-language content is collected. Set false to collect content in any language.",
      "default": true
    }
  }
}