{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-paginated-audit-rule-list-list-schema.json",
  "title": "PaginatedAuditRuleListList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-audit-rules-api-openapi.yml#/components/schemas/PaginatedAuditRuleListList",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "page_size": {
      "type": [
        "integer",
        "null"
      ]
    },
    "page": {
      "type": [
        "integer",
        "null"
      ]
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AuditRuleList"
      }
    }
  },
  "$defs": {
    "AuditRuleList": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "ID of the fired rule"
        },
        "name": {
          "type": "string",
          "description": "Name of the fired rule"
        },
        "status": {
          "type": "string",
          "description": "Status of the fired rule"
        },
        "activation_instance": {
          "type": "object",
          "properties": {
            "id": {
              "type": [
                "integer",
                "null"
              ]
            },
            "name": {
              "type": "string"
            }
          },
          "readOnly": true
        },
        "organization": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            }
          },
          "readOnly": true
        },
        "fired_at": {
          "type": "string",
          "format": "date-time",
          "description": "The fired timestamp of the rule"
        }
      },
      "required": [
        "activation_instance",
        "fired_at",
        "id",
        "name",
        "organization"
      ]
    }
  }
}