{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-incident-manager/refs/heads/main/json-structure/incident-manager-related-items-update-structure.json",
  "name": "RelatedItemsUpdate",
  "description": "Details about the related item you're adding.",
  "type": "object",
  "properties": {
    "itemToAdd": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RelatedItem"
        },
        {
          "description": "Details about the related item you're adding."
        }
      ]
    },
    "itemToRemove": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ItemIdentifier"
        },
        {
          "description": "Details about the related item you're deleting."
        }
      ]
    }
  }
}