{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-access-analyzer/json-schema/amazon-iam-access-analyzer-create-archive-rule-request-schema.json",
  "title": "CreateArchiveRuleRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-access-analyzer-analyzer-api-openapi.yml#/components/schemas/CreateArchiveRuleRequest",
  "type": "object",
  "properties": {
    "analyzerName": {
      "type": "string",
      "description": "The name of the created analyzer."
    },
    "ruleName": {
      "type": "string",
      "description": "The name of the rule to create."
    },
    "filter": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/Criterion"
      },
      "description": "The criteria for the rule."
    },
    "clientToken": {
      "type": "string",
      "description": "A client token."
    }
  },
  "required": [
    "analyzerName",
    "ruleName",
    "filter"
  ],
  "$defs": {
    "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."
        }
      }
    }
  }
}