{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/capepartners-fr/json-schema/capepartners-fr-watchlist-request-schema.json",
  "title": "WatchlistRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/capepartners-fr-dealflow-api-openapi.yml#/components/schemas/WatchlistRequest",
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "format": "uuid"
    },
    "entity_type": {
      "type": "string",
      "enum": [
        "seller",
        "buyer"
      ]
    },
    "entity_id": {
      "type": "integer"
    },
    "action": {
      "type": "string",
      "enum": [
        "add",
        "remove"
      ],
      "default": "add"
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "session_id",
    "entity_type",
    "entity_id"
  ]
}