{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blumira/main/json-schema/blumira-action-catalog-schema.json",
  "title": "action_catalog",
  "x-generated": "2026-09-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blumira-openapi.yml#/components/schemas/action_catalog",
  "properties": {
    "actions": {
      "items": {
        "properties": {
          "action": {
            "description": "Response action name",
            "type": "string"
          },
          "os": {
            "description": "Operating systems this action supports",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "parameters": {
            "description": "Parameters accepted by this action",
            "items": {
              "properties": {
                "name": {
                  "description": "Parameter name",
                  "type": "string"
                },
                "required": {
                  "description": "Whether the parameter is required",
                  "type": "boolean"
                },
                "type": {
                  "description": "Parameter type",
                  "type": "string"
                }
              },
              "required": [
                "name",
                "type",
                "required"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "reversible": {
            "description": "Whether the action can be reversed",
            "type": "boolean"
          },
          "risk_tier": {
            "description": "Risk classification of the action",
            "enum": [
              "reversible",
              "destructive"
            ],
            "type": "string"
          }
        },
        "required": [
          "action",
          "risk_tier",
          "reversible",
          "parameters",
          "os"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "actions"
  ],
  "type": "object"
}