{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-indexing-filter-schema.json",
  "title": "IndexingFilter",
  "description": "Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set <code>namedShadowIndexingMode</code> to be <code>ON</code> and specify your shadow names in <code>filter</code>.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-indexing-api-openapi.yml#/components/schemas/IndexingFilter",
  "type": "object",
  "properties": {
    "namedShadowNames": {
      "allOf": [
        {
          "$ref": "#/$defs/NamedShadowNamesFilter"
        },
        {
          "description": "The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits\">Amazon Web Services IoT Device Management Quotas</a> in the <i>Amazon Web Services General Reference</i>. "
        }
      ]
    }
  },
  "$defs": {
    "NamedShadowNamesFilter": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ShadowName"
      }
    },
    "ShadowName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 64
    }
  }
}