WSO2 · Schema

workflow

Workflow schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
status string This attribute declares whether this workflow task is approved or rejected.
attributes object Custom attributes to complete the workflow task
description string
View JSON Schema on GitHub

JSON Schema

publisher-api-workflow-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/publisher-api-workflow-schema.json",
  "title": "workflow",
  "description": "Workflow schema from WSO2 API Manager",
  "required": [
    "status"
  ],
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "This attribute declares whether this workflow task is approved or rejected.\n",
      "example": "APPROVED",
      "enum": [
        "APPROVED",
        "REJECTED"
      ]
    },
    "attributes": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Custom attributes to complete the workflow task\n",
      "example": {}
    },
    "description": {
      "type": "string",
      "example": "Approve workflow request."
    }
  }
}