{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-assured-workloads/json-schema/google-cloud-assured-workloads-google-cloud-assuredworkloads-v1-acknowledge-violation-request-schema.json",
  "title": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest",
  "description": "Request message for acknowledging a violation.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-assured-workloads-organizations-api-openapi.yml#/components/schemas/GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest",
  "type": "object",
  "properties": {
    "acknowledgeType": {
      "type": "string",
      "enum": [
        "ACKNOWLEDGE_TYPE_UNSPECIFIED",
        "SINGLE_VIOLATION",
        "EXISTING_CHILD_RESOURCE_VIOLATIONS"
      ],
      "description": "Optional. The scope of the acknowledgement for the specified violation. If not specified, `SINGLE_VIOLATION` is used."
    },
    "comment": {
      "type": "string",
      "description": "Required. The business justification for acknowledging the violation. The comment can't be empty or contain only whitespace characters."
    },
    "nonCompliantOrgPolicy": {
      "description": "Optional. Deprecated: This field is deprecated and will be removed in a future version of the API. The service identifies the violation to acknowledge by `name`, and ignores this field. Don't set this field. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`",
      "type": "string",
      "deprecated": true
    },
    "view": {
      "type": "string",
      "enum": [
        "VIOLATION_VIEW_UNSPECIFIED",
        "VIOLATION_VIEW_ASSURED_WORKLOADS",
        "VIOLATION_VIEW_DATA_BOUNDARY"
      ],
      "description": "Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used."
    }
  }
}