{
  "$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-audit-rule-detail-schema.json",
  "title": "AuditRuleDetail",
  "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/AuditRuleDetail",
  "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"
    },
    "ruleset_name": {
      "type": "string",
      "description": "Name of the related ruleset"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The created timestamp of the action"
    }
  },
  "required": [
    "activation_instance",
    "created_at",
    "fired_at",
    "id",
    "name",
    "organization"
  ]
}