{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aura-historia-com/json-schema/aura-historia-com-watchlist-product-patch-schema.json",
  "title": "WatchlistProductPatch",
  "description": "Patch object for updating watchlist product settings",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aura-historia-com-watchlist-api-openapi.yml#/components/schemas/WatchlistProductPatch",
  "type": "object",
  "properties": {
    "notifications": {
      "type": "boolean",
      "description": "Whether to enable or disable notifications for this watchlist product"
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/$defs/PatchResourceStateData"
        }
      ],
      "description": "Optional, non-null activation state update for this watchlist entry.\n`ACTIVE` reactivates the entry if the user's current tier still has watchlist quota.\n`INACTIVE_BY_USER` manually disables the entry.\nOmit to leave the current state unchanged.\n"
    }
  },
  "$defs": {
    "PatchResourceStateData": {
      "type": "string",
      "description": "Client-settable activation state for resources that support manual activation toggles.\nClients may reactivate a resource with `ACTIVE` or manually disable it with `INACTIVE_BY_USER`.\n`INACTIVE_BY_RESTRICTED_PLAN` is managed internally by the backend and is never accepted from clients.\n",
      "enum": [
        "ACTIVE",
        "INACTIVE_BY_USER"
      ]
    }
  }
}