Apache OpenWhisk · JSON Structure

Apache Openwhisk Rule Structure

Rule schema from Apache OpenWhisk

Type: object Properties: 7
Cloud NativeEvent-DrivenFaaSServerlessApacheOpen SourceFunctions

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

Properties

namespace name version status trigger action 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-rule-structure.json",
  "description": "Rule schema from Apache OpenWhisk",
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "example": "guest"
    },
    "name": {
      "type": "string",
      "example": "myRule"
    },
    "version": {
      "type": "string",
      "example": "0.0.1"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "inactive"
      ],
      "example": "active"
    },
    "trigger": {
      "type": "string",
      "description": "Fully qualified trigger name",
      "example": "/guest/myTrigger"
    },
    "action": {
      "type": "string",
      "description": "Fully qualified action name",
      "example": "/guest/hello"
    },
    "updated": {
      "type": "int32",
      "example": 1718153645993
    }
  },
  "name": "Rule"
}