{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algo-pw/json-schema/algo-pw-notice-request-schema.json",
  "title": "NoticeRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/algo-pw-openapi.json#/components/schemas/NoticeRequest",
  "required": [
    "campaignId",
    "subjectId",
    "eventId",
    "publicSummary"
  ],
  "type": "object",
  "properties": {
    "campaignId": {
      "type": "string",
      "format": "uuid"
    },
    "subjectId": {
      "type": "string",
      "format": "uuid"
    },
    "eventId": {
      "type": "string",
      "format": "uuid"
    },
    "publicSummary": {
      "type": "string"
    },
    "threadId": {
      "type": [
        "null",
        "string"
      ],
      "format": "uuid"
    },
    "assignmentId": {
      "type": [
        "null",
        "string"
      ],
      "format": "uuid"
    },
    "offerId": {
      "type": [
        "null",
        "string"
      ],
      "format": "uuid"
    },
    "taskId": {
      "type": [
        "null",
        "string"
      ],
      "format": "uuid"
    },
    "expectedResourceVersion": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ],
      "format": "int32"
    },
    "publicAmountConsent": {
      "type": "boolean",
      "default": false
    },
    "variant": {
      "type": "string",
      "default": "compact"
    }
  }
}