{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-access-analyzer/json-schema/amazon-iam-access-analyzer-list-archive-rules-response-schema.json",
  "title": "ListArchiveRulesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-access-analyzer-archive-rule-api-openapi.yml#/components/schemas/ListArchiveRulesResponse",
  "type": "object",
  "properties": {
    "archiveRules": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ArchiveRuleSummary"
      },
      "description": "A list of archive rules created for the specified analyzer."
    },
    "nextToken": {
      "type": "string",
      "description": "A token used for pagination of results returned."
    }
  },
  "required": [
    "archiveRules"
  ],
  "$defs": {
    "ArchiveRuleSummary": {
      "type": "object",
      "properties": {
        "ruleName": {
          "type": "string",
          "description": "The name of the archive rule."
        },
        "filter": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/Criterion"
          },
          "description": "A filter used to define the archive rule."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the archive rule was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the archive rule was last updated."
        }
      },
      "required": [
        "ruleName",
        "filter",
        "createdAt",
        "updatedAt"
      ]
    },
    "Criterion": {
      "type": "object",
      "properties": {
        "eq": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An \"equals\" operator to match for the filter used to create the rule."
        },
        "neq": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A \"not equals\" operator to match for the filter used to create the rule."
        },
        "contains": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A \"contains\" operator to match for the filter used to create the rule."
        },
        "exists": {
          "type": "boolean",
          "description": "An \"exists\" operator to match for the filter used to create the rule."
        }
      }
    }
  }
}