{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/replynodes-com/json-schema/replynodes-com-watch-update-request-schema.json",
  "title": "WatchUpdateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/replynodes-com-watches-api-openapi.yml#/components/schemas/WatchUpdateRequest",
  "type": "object",
  "properties": {
    "topics": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WatchTopic"
      }
    },
    "requested_frequency": {
      "$ref": "#/$defs/WatchFrequency"
    },
    "status": {
      "$ref": "#/$defs/WatchStatus"
    },
    "webhook": {
      "$ref": "#/$defs/WatchWebhook"
    }
  },
  "required": [],
  "additionalProperties": false,
  "$defs": {
    "WatchFrequency": {
      "type": "string",
      "enum": [
        "24h",
        "6h"
      ]
    },
    "WatchStatus": {
      "type": "string",
      "enum": [
        "active",
        "paused",
        "archived"
      ]
    },
    "WatchTopic": {
      "type": "string",
      "enum": [
        "pricing",
        "product",
        "integrations",
        "customers",
        "positioning"
      ]
    },
    "WatchWebhook": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "secret": {
          "type": "string",
          "writeOnly": true
        }
      },
      "required": [
        "url",
        "secret"
      ],
      "additionalProperties": false
    }
  }
}