{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "watchId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Identifier of the watch returned by its create or list operation."
    },
    "workspaceId": {
      "description": "Identifier of the workspace returned by its create or list operation.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "projectId": {
      "description": "Identifier of the project returned by its create or list operation.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "action": {
      "type": "string",
      "enum": [
        "correct",
        "revoke",
        "concern"
      ],
      "description": "The action value; allowed values and bounds are specified in this schema."
    },
    "occurrenceId": {
      "type": "string",
      "pattern": "^sha256:[a-f0-9]{64}$",
      "description": "Identifier of the occurrence returned by its create or list operation."
    },
    "captureId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Identifier of the capture returned by its create or list operation."
    },
    "evidenceHash": {
      "type": "string",
      "pattern": "^sha256:[a-f0-9]{64}$",
      "description": "The evidence hash value; allowed values and bounds are specified in this schema."
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Revision last read by the caller; mismatches reject concurrent updates."
    },
    "axis": {
      "description": "The axis value; allowed values and bounds are specified in this schema.",
      "type": "string",
      "enum": [
        "page_surface",
        "link_role",
        "region_inferred",
        "relevance",
        "risk_cues",
        "acquisition"
      ]
    },
    "value": {
      "description": "The value value; allowed values and bounds are specified in this schema.",
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "reason": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "The reason value; allowed values and bounds are specified in this schema."
    }
  },
  "required": [
    "watchId",
    "action",
    "occurrenceId",
    "captureId",
    "evidenceHash",
    "expectedRevision",
    "reason"
  ],
  "additionalProperties": false
}
