{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pentonym-com/json-schema/pentonym-com-watch-request-schema.json",
  "title": "WatchRequest",
  "description": "Input. `extra=\"forbid\"` rejects unknown fields rather than silently\ndropping them — a caller who believes they constrained a watch by class must\nnot have that constraint quietly ignored.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pentonym-com-openapi.json#/components/schemas/WatchRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Name"
    },
    "classes": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Classes",
      "description": "Nice classes to scope the watch. A watch with no classes cannot be class-filtered, so every same/near mark is kept (identification controls over class, §1207.01(d)(v))."
    },
    "require_class_overlap": {
      "type": "boolean",
      "title": "Require Class Overlap",
      "description": "When true (default) a conflict must share a Nice class with the watch — unless the watch carries no classes at all.",
      "default": true
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "name"
  ]
}