{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-list-topic-rules-response-schema.json",
  "title": "ListTopicRulesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-rules-api-openapi.yml#/components/schemas/ListTopicRulesResponse",
  "type": "object",
  "properties": {
    "rules": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TopicRuleListItem"
      },
      "description": "The rules."
    },
    "nextToken": {
      "type": "string",
      "description": "The token to use to get the next set of results, or null if there are no additional results."
    }
  },
  "$defs": {
    "TopicRuleListItem": {
      "type": "object",
      "properties": {
        "ruleArn": {
          "type": "string",
          "description": "The rule ARN."
        },
        "ruleName": {
          "type": "string",
          "description": "The name of the rule."
        },
        "topicPattern": {
          "type": "string",
          "description": "The pattern for the topic names that apply."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the rule was created."
        },
        "ruleDisabled": {
          "type": "boolean",
          "description": "Specifies whether the rule is disabled."
        }
      }
    }
  }
}