{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mq/refs/heads/main/json-structure/mq-api-sanitization-warning-structure.json",
  "name": "SanitizationWarning",
  "type": "object",
  "description": "Returns information about the XML element or attribute that was sanitized in the configuration.",
  "properties": {
    "AttributeName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "xml": {
            "name": "attributeName"
          },
          "description": "The name of the XML attribute that has been sanitized."
        }
      ]
    },
    "ElementName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "xml": {
            "name": "elementName"
          },
          "description": "The name of the XML element that has been sanitized."
        }
      ]
    },
    "Reason": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SanitizationWarningReason"
        },
        {
          "xml": {
            "name": "reason"
          },
          "description": "Required. The reason for which the XML elements or attributes were sanitized."
        }
      ]
    }
  },
  "required": [
    "Reason"
  ]
}