{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/main/json-schema/wso2-workflow-schema.json",
  "title": "workflow",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wso2-workflows-individual-api-openapi.yml#/components/schemas/Workflow",
  "required": [
    "status"
  ],
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "This attribute declares whether this workflow task is approved or rejected.\n",
      "enum": [
        "APPROVED",
        "REJECTED"
      ]
    },
    "attributes": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Custom attributes to complete the workflow task\n"
    },
    "description": {
      "type": "string"
    }
  }
}