Apache OpenWhisk · JSON Structure

Apache Openwhisk Action Structure

Action schema from Apache OpenWhisk

Type: object Properties: 9
Cloud NativeEvent-DrivenFaaSServerlessApacheOpen SourceFunctions

Action is a JSON Structure definition published by Apache OpenWhisk, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

namespace name version publish exec annotations parameters limits updated

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-openwhisk/refs/heads/main/json-structure/apache-openwhisk-action-structure.json",
  "description": "Action schema from Apache OpenWhisk",
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "description": "Namespace owning the action",
      "example": "guest"
    },
    "name": {
      "type": "string",
      "description": "Action name",
      "example": "hello"
    },
    "version": {
      "type": "string",
      "description": "Action version",
      "example": "0.0.1"
    },
    "publish": {
      "type": "boolean",
      "description": "Whether the action is public",
      "example": false
    },
    "exec": {
      "$ref": "#/components/schemas/ActionExec"
    },
    "annotations": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/KeyValue"
      }
    },
    "parameters": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/KeyValue"
      }
    },
    "limits": {
      "$ref": "#/components/schemas/ActionLimits"
    },
    "updated": {
      "type": "int32",
      "description": "Last update timestamp (epoch ms)",
      "example": 1718153645993
    }
  },
  "name": "Action"
}