{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-approval-response-schema.json",
  "title": "ApprovalResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/algenta-ai-decision-workflow-api-openapi.yml#/components/schemas/ApprovalResponse",
  "properties": {
    "approval_id": {
      "type": "string",
      "format": "uuid",
      "title": "Approval Id"
    },
    "case_id": {
      "type": "string",
      "format": "uuid",
      "title": "Case Id"
    },
    "plan_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Plan Id"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "approver_principal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Approver Principal"
    },
    "decided_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decided At"
    }
  },
  "type": "object",
  "required": [
    "approval_id",
    "case_id",
    "plan_id",
    "status",
    "approver_principal",
    "decided_at"
  ]
}