WSO2 · JSON Structure

Admin Api Workflow Structure

Workflow schema from WSO2 API Manager

Type: object Properties: 3 Required: 1
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

workflow is a JSON Structure definition published by WSO2, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

status attributes description

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/wso2/refs/heads/main/json-structure/admin-api-workflow-structure.json",
  "name": "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."
    }
  }
}