Apache OpenWhisk · JSON Structure

Apache Openwhisk Rule Request Structure

RuleRequest schema from Apache OpenWhisk

Type: object Properties: 2 Required: 2
Cloud NativeEvent-DrivenFaaSServerlessApacheOpen SourceFunctions

RuleRequest is a JSON Structure definition published by Apache OpenWhisk, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

trigger action

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-rule-request-structure.json",
  "description": "RuleRequest schema from Apache OpenWhisk",
  "type": "object",
  "properties": {
    "trigger": {
      "type": "string",
      "description": "Trigger name to associate",
      "example": "/guest/myTrigger"
    },
    "action": {
      "type": "string",
      "description": "Action name to invoke",
      "example": "/guest/hello"
    }
  },
  "required": [
    "trigger",
    "action"
  ],
  "name": "RuleRequest"
}