{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "watches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Citation watch identifier."
          },
          "workspace_id": {
            "type": "string",
            "description": "Workspace that owns the watch."
          },
          "project_id": {
            "type": "string",
            "description": "Project that owns the watch."
          },
          "engine_identity": {
            "type": "string",
            "description": "Engine and provider identity."
          },
          "prompt_id": {
            "type": "string",
            "description": "Source prompt identifier."
          },
          "target_key": {
            "type": "string",
            "description": "Target scope identity."
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "paused"
            ],
            "description": "Watch lifecycle; imported mirrors start paused."
          }
        },
        "required": [
          "id",
          "workspace_id",
          "project_id",
          "engine_identity",
          "prompt_id",
          "target_key",
          "status"
        ],
        "additionalProperties": {}
      }
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "watches",
    "cursor"
  ],
  "additionalProperties": {}
}
