Apache OpenWhisk · Schema

Activation

Activation schema from Apache OpenWhisk

Cloud NativeEvent-DrivenFaaSServerlessApacheOpen SourceFunctions

Properties

Name Type Description
activationId string Unique activation identifier
namespace string
name string Name of invoked action/trigger
version string
subject string Subject who invoked the action
start integer Start time epoch ms
end integer End time epoch ms
duration integer Duration in milliseconds
response object
logs array Activation log output
annotations array
View JSON Schema on GitHub

JSON Schema

apache-openwhisk-activation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-openwhisk/refs/heads/main/json-schema/apache-openwhisk-activation-schema.json",
  "title": "Activation",
  "description": "Activation schema from Apache OpenWhisk",
  "type": "object",
  "properties": {
    "activationId": {
      "type": "string",
      "description": "Unique activation identifier",
      "example": "44794bd6aab74415b4e42a308d880727"
    },
    "namespace": {
      "type": "string",
      "example": "guest"
    },
    "name": {
      "type": "string",
      "description": "Name of invoked action/trigger",
      "example": "hello"
    },
    "version": {
      "type": "string",
      "example": "0.0.1"
    },
    "subject": {
      "type": "string",
      "description": "Subject who invoked the action",
      "example": "guest"
    },
    "start": {
      "type": "integer",
      "description": "Start time epoch ms",
      "example": 1718153645993
    },
    "end": {
      "type": "integer",
      "description": "End time epoch ms",
      "example": 1718153646050
    },
    "duration": {
      "type": "integer",
      "description": "Duration in milliseconds",
      "example": 57
    },
    "response": {
      "$ref": "#/components/schemas/ActivationResponse"
    },
    "logs": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Activation log output"
    },
    "annotations": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/KeyValue"
      }
    }
  }
}