{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-outcome-response-schema.json",
  "title": "OutcomeResponse",
  "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/OutcomeResponse",
  "properties": {
    "outcome_id": {
      "type": "string",
      "format": "uuid",
      "title": "Outcome Id"
    },
    "case_id": {
      "type": "string",
      "format": "uuid",
      "title": "Case Id"
    },
    "run_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run Id"
    },
    "actual_metrics": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Actual Metrics"
    },
    "delta": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Delta"
    },
    "recorded_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recorded At"
    }
  },
  "type": "object",
  "required": [
    "outcome_id",
    "case_id",
    "run_id",
    "actual_metrics",
    "delta",
    "recorded_at"
  ]
}