{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-list-ops-item-related-items-request-schema.json",
  "title": "ListOpsItemRelatedItemsRequest",
  "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/ListOpsItemRelatedItemsRequest",
  "type": "object",
  "properties": {
    "OpsItemId": {
      "type": "string",
      "description": "The ID of the OpsItem for which you want to list all related-item resources."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OpsItemRelatedItemsFilter"
      },
      "description": "One or more OpsItem filters. Use a filter to return a more specific list of results."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of items to return. (You received this token from a previous call.)"
    }
  },
  "$defs": {
    "OpsItemRelatedItemsFilter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "enum": [
            "ResourceType",
            "AssociationId",
            "ResourceUri"
          ],
          "description": "The name of the filter key. Supported values include ResourceUri, ResourceType, or AssociationId."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The values for the filter."
        },
        "Operator": {
          "type": "string",
          "enum": [
            "Equal"
          ],
          "description": "The operator used by the filter call. The only supported operator is EQUAL."
        }
      },
      "required": [
        "Key",
        "Values",
        "Operator"
      ]
    }
  }
}