{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-associate-ops-item-related-item-request-schema.json",
  "title": "AssociateOpsItemRelatedItemRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-ops-item-related-item-api-openapi.yml#/components/schemas/AssociateOpsItemRelatedItemRequest",
  "type": "object",
  "properties": {
    "OpsItemId": {
      "type": "string",
      "description": "The ID of the OpsItem to which you want to associate a resource as a related item."
    },
    "AssociationType": {
      "type": "string",
      "description": "The type of association that you want to create between an OpsItem and a resource. OpsCenter supports IsParentOf and RelatesTo association types."
    },
    "ResourceType": {
      "type": "string",
      "description": "The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types: AWS::SSMIncidents::IncidentRecord: an Incident Manager incident. AWS::SSM::Document: a Systems Manager (SSM) document."
    },
    "ResourceUri": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem."
    }
  },
  "required": [
    "OpsItemId",
    "AssociationType",
    "ResourceType",
    "ResourceUri"
  ]
}