Apache OpenWhisk · Schema

Package

Package schema from Apache OpenWhisk

Cloud NativeEvent-DrivenFaaSServerlessApacheOpen SourceFunctions

Properties

Name Type Description
namespace string
name string
version string
publish boolean
annotations array
parameters array
actions array
feeds array
updated integer
View JSON Schema on GitHub

JSON Schema

apache-openwhisk-package-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-package-schema.json",
  "title": "Package",
  "description": "Package schema from Apache OpenWhisk",
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "example": "guest"
    },
    "name": {
      "type": "string",
      "example": "myPackage"
    },
    "version": {
      "type": "string",
      "example": "0.0.1"
    },
    "publish": {
      "type": "boolean",
      "example": false
    },
    "annotations": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/KeyValue"
      }
    },
    "parameters": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/KeyValue"
      }
    },
    "actions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/EntityRef"
      }
    },
    "feeds": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/EntityRef"
      }
    },
    "updated": {
      "type": "integer",
      "example": 1718153645993
    }
  }
}