{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-wan/json-schema/amazon-cloud-wan-list-core-network-routing-information-request-schema.json",
  "title": "ListCoreNetworkRoutingInformationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-wan-operations-api-openapi.yml#/components/schemas/ListCoreNetworkRoutingInformationRequest",
  "type": "object",
  "properties": {
    "CoreNetworkId": {
      "type": "string",
      "description": "The ID of the core network to retrieve routing information for."
    },
    "SegmentName": {
      "type": "string",
      "description": "The name of the segment to filter routing information by."
    },
    "EdgeLocation": {
      "type": "string",
      "description": "The edge location to filter routing information by."
    },
    "NextHopFilters": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": "Filters to apply based on next hop information. Each filter value must exactly match the corresponding next hop value. Values for the same filter are joined with OR, and different filters are joined with AND. The following filters are supported: core-network-attachment-id: The ID of the core network attachment for the next hop, for example attachment-0123456789abcdef0. segment-name: The name of the segment for the next hop. edge-location: The edge location for the next hop, for example us-east-1. resource-id: The ID of the resource for the next hop. resource-type: The type of resource for the "
    },
    "ExactPrefixMatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Exact prefix values to match when filtering routing information."
    },
    "LongestPrefixMatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Filters routing information based on the longest prefix that matches each provided IP address."
    },
    "SubnetOfMatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Prefix values to filter routing information whose prefix is a subnet of the prefixes provided."
    },
    "SupernetOfMatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Prefix values to filter routing information whose prefix is a supernet of the prefixes provided."
    },
    "LocalPreferenceMatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Local preference values to match when filtering routing information."
    },
    "ExactAsPathMatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Exact AS path values to match when filtering routing information."
    },
    "MedMatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Multi-Exit Discriminator (MED) values to match when filtering routing information."
    },
    "CommunityMatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "BGP community values to match when filtering routing information."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of routing information entries to return in a single page."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next page of results."
    }
  },
  "required": [
    "CoreNetworkId",
    "SegmentName",
    "EdgeLocation"
  ]
}