{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-create-decision-case-request-schema.json",
  "title": "CreateDecisionCaseRequest",
  "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/CreateDecisionCaseRequest",
  "properties": {
    "pack_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Pack Id"
    },
    "title": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Title"
    },
    "pack_input": {
      "additionalProperties": true,
      "type": "object",
      "title": "Pack Input",
      "description": "The pack's contract input (validated)"
    },
    "owner": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Owner"
    },
    "objective": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Objective"
    },
    "horizon_days": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 730.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Horizon Days"
    }
  },
  "type": "object",
  "required": [
    "pack_id",
    "title",
    "pack_input"
  ]
}