{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-list-action-step-response-schema.json",
  "title": "listActionStepResponse",
  "description": "response containing list of action steps",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-action-api-openapi.yml#/components/schemas/listActionStepResponse",
  "properties": {
    "actionSteps": {
      "description": "list of action step objects",
      "items": {
        "$ref": "#/$defs/actionStep"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "actionOperation": {
      "description": "action operation",
      "enum": [
        "EXECUTE",
        "UNDO"
      ],
      "type": "string"
    },
    "actionStep": {
      "description": "action step object",
      "properties": {
        "actionOperation": {
          "$ref": "#/$defs/actionOperation"
        },
        "apiMetadata": {
          "$ref": "#/$defs/actionStepAPIMetadata"
        },
        "completedAt": {
          "description": "execution completion timestamp",
          "format": "date-time",
          "type": "string"
        },
        "createdAt": {
          "description": "action step creation timestamp",
          "format": "date-time",
          "type": "string"
        },
        "description": {
          "description": "description for action step",
          "type": "string"
        },
        "executedAt": {
          "description": "execution start timestamp",
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "description": "unique identifier of action step",
          "type": "string"
        },
        "parentActionId": {
          "description": "id of parent action",
          "type": "string"
        },
        "result": {
          "description": "result of action step execution",
          "format": "byte",
          "type": "string"
        },
        "retryConfig": {
          "description": "retry details",
          "format": "byte",
          "type": "string"
        },
        "sequenceNumber": {
          "description": "sequence number of action step",
          "type": "integer"
        },
        "status": {
          "$ref": "#/$defs/actionStepStatus"
        },
        "type": {
          "$ref": "#/$defs/actionStepType"
        },
        "updatedAt": {
          "description": "action step update timestamp",
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object"
    },
    "actionStepAPIMetadata": {
      "description": "all details to trigger action step of type API",
      "properties": {
        "endpoint": {
          "description": "endpoint of the API",
          "type": "string"
        },
        "headers": {
          "description": "headers for the API request",
          "type": "object"
        },
        "method": {
          "description": "http method for API",
          "type": "string"
        },
        "payload": {
          "description": "payload for the API request",
          "format": "byte",
          "type": "string"
        }
      },
      "type": "object"
    },
    "actionStepStatus": {
      "default": "UNKNOWN",
      "description": "status of action step",
      "enum": [
        "UNKNOWN",
        "CREATED",
        "EXECUTION_IN_PROGRESS",
        "EXECUTION_COMPLETE",
        "EXECUTION_FAILED",
        "EXECUTION_CANCELLED"
      ],
      "type": "string"
    },
    "actionStepType": {
      "default": "DEFAULT",
      "description": "action step type",
      "enum": [
        "DEFAULT",
        "API"
      ],
      "type": "string"
    }
  }
}