{
  "openapi": "3.1.0",
  "info": {
    "title": "optimaru use-case API",
    "description": "Solve any of the optimaru use cases over HTTP. Every use case has the same endpoints: submit a problem as a job (POST .../jobs), poll the job (GET .../solve/jobs/{job_id}), read the result (GET .../solve/jobs/{job_id}/result) or cancel it. Request bodies take the same problem JSON and constraint selection as the `optimaru` Python package. Travel data too large for a request body (vehicle routing, pickup and delivery) goes up as an upload (POST /api/uploads) that the request names.",
    "version": "0.1.0"
  },
  "paths": {
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object",
                  "title": "Response Health Health Get"
                }
              }
            }
          }
        },
        "description": "Liveness probe."
      }
    },
    "/version": {
      "get": {
        "summary": "Version",
        "description": "Version of the running server.",
        "operationId": "version_version_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object",
                  "title": "Response Version Version Get"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases": {
      "get": {
        "tags": [
          "use-cases"
        ],
        "summary": "List Use Cases",
        "description": "List the use cases and where to submit each one's solve jobs.",
        "operationId": "list_use_cases",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/UseCaseInfo"
                  },
                  "type": "array",
                  "title": "Response List Use Cases"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/assembly-line-balancing/jobs": {
      "post": {
        "tags": [
          "use-case: assembly-line-balancing"
        ],
        "summary": "Assembly line balancing: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_assembly_line_balancing_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssemblyLineBalancingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/assembly-line-balancing/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: assembly-line-balancing"
        ],
        "summary": "Assembly line balancing: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_assembly_line_balancing_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/assembly-line-balancing/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: assembly-line-balancing"
        ],
        "summary": "Assembly line balancing: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_assembly_line_balancing_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Assembly line balancing solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssemblyLineBalancingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/assembly-line-balancing/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: assembly-line-balancing"
        ],
        "summary": "Assembly line balancing: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_assembly_line_balancing_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/bed-allocation/jobs": {
      "post": {
        "tags": [
          "use-case: bed-allocation"
        ],
        "summary": "Bed allocation: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_bed_allocation_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BedAllocationJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/bed-allocation/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: bed-allocation"
        ],
        "summary": "Bed allocation: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_bed_allocation_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/bed-allocation/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: bed-allocation"
        ],
        "summary": "Bed allocation: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_bed_allocation_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Bed allocation solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BedAllocationResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/bed-allocation/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: bed-allocation"
        ],
        "summary": "Bed allocation: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_bed_allocation_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/bin-packing/jobs": {
      "post": {
        "tags": [
          "use-case: bin-packing"
        ],
        "summary": "Bin packing: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_bin_packing_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BinPackingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/bin-packing/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: bin-packing"
        ],
        "summary": "Bin packing: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_bin_packing_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/bin-packing/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: bin-packing"
        ],
        "summary": "Bin packing: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_bin_packing_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Bin packing solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BinPackingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/bin-packing/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: bin-packing"
        ],
        "summary": "Bin packing: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_bin_packing_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/conference-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: conference-scheduling"
        ],
        "summary": "Conference scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_conference_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConferenceSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/conference-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: conference-scheduling"
        ],
        "summary": "Conference scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_conference_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/conference-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: conference-scheduling"
        ],
        "summary": "Conference scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_conference_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Conference scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConferenceSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/conference-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: conference-scheduling"
        ],
        "summary": "Conference scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_conference_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/employee-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: employee-scheduling"
        ],
        "summary": "Employee scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`request`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_employee_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmployeeSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/employee-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: employee-scheduling"
        ],
        "summary": "Employee scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_employee_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/employee-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: employee-scheduling"
        ],
        "summary": "Employee scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_employee_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Employee scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmployeeSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/employee-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: employee-scheduling"
        ],
        "summary": "Employee scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_employee_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/facility-location/jobs": {
      "post": {
        "tags": [
          "use-case: facility-location"
        ],
        "summary": "Facility location: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_facility_location_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacilityLocationJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/facility-location/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: facility-location"
        ],
        "summary": "Facility location: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_facility_location_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/facility-location/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: facility-location"
        ],
        "summary": "Facility location: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_facility_location_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Facility location solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacilityLocationResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/facility-location/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: facility-location"
        ],
        "summary": "Facility location: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_facility_location_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/flight-crew-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: flight-crew-scheduling"
        ],
        "summary": "Flight crew scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_flight_crew_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FlightCrewSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/flight-crew-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: flight-crew-scheduling"
        ],
        "summary": "Flight crew scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_flight_crew_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/flight-crew-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: flight-crew-scheduling"
        ],
        "summary": "Flight crew scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_flight_crew_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Flight crew scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FlightCrewSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/flight-crew-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: flight-crew-scheduling"
        ],
        "summary": "Flight crew scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_flight_crew_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/food-packaging/jobs": {
      "post": {
        "tags": [
          "use-case: food-packaging"
        ],
        "summary": "Food packaging: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_food_packaging_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FoodPackagingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/food-packaging/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: food-packaging"
        ],
        "summary": "Food packaging: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_food_packaging_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/food-packaging/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: food-packaging"
        ],
        "summary": "Food packaging: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_food_packaging_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Food packaging solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodPackagingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/food-packaging/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: food-packaging"
        ],
        "summary": "Food packaging: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_food_packaging_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/knapsack/jobs": {
      "post": {
        "tags": [
          "use-case: knapsack"
        ],
        "summary": "Knapsack: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_knapsack_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KnapsackJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/knapsack/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: knapsack"
        ],
        "summary": "Knapsack: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_knapsack_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/knapsack/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: knapsack"
        ],
        "summary": "Knapsack: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_knapsack_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Knapsack solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnapsackResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/knapsack/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: knapsack"
        ],
        "summary": "Knapsack: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_knapsack_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/maintenance-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: maintenance-scheduling"
        ],
        "summary": "Maintenance scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_maintenance_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MaintenanceSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/maintenance-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: maintenance-scheduling"
        ],
        "summary": "Maintenance scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_maintenance_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/maintenance-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: maintenance-scheduling"
        ],
        "summary": "Maintenance scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_maintenance_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Maintenance scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MaintenanceSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/maintenance-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: maintenance-scheduling"
        ],
        "summary": "Maintenance scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_maintenance_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/max-cut/jobs": {
      "post": {
        "tags": [
          "use-case: max-cut"
        ],
        "summary": "Max-Cut: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_max_cut_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MaxCutJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/max-cut/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: max-cut"
        ],
        "summary": "Max-Cut: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_max_cut_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/max-cut/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: max-cut"
        ],
        "summary": "Max-Cut: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_max_cut_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Max-Cut solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MaxCutResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/max-cut/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: max-cut"
        ],
        "summary": "Max-Cut: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_max_cut_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/meeting-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: meeting-scheduling"
        ],
        "summary": "Meeting scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_meeting_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeetingSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/meeting-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: meeting-scheduling"
        ],
        "summary": "Meeting scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_meeting_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/meeting-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: meeting-scheduling"
        ],
        "summary": "Meeting scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_meeting_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Meeting scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeetingSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/meeting-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: meeting-scheduling"
        ],
        "summary": "Meeting scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_meeting_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/order-picking/jobs": {
      "post": {
        "tags": [
          "use-case: order-picking"
        ],
        "summary": "Order picking: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`request`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_order_picking_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPickingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/order-picking/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: order-picking"
        ],
        "summary": "Order picking: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_order_picking_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/order-picking/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: order-picking"
        ],
        "summary": "Order picking: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_order_picking_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Order picking solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderPickingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/order-picking/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: order-picking"
        ],
        "summary": "Order picking: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_order_picking_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/pickup-delivery/jobs": {
      "post": {
        "tags": [
          "use-case: pickup-delivery"
        ],
        "summary": "Pickup and delivery: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`request`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_pickup_delivery_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PickupDeliveryJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/pickup-delivery/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: pickup-delivery"
        ],
        "summary": "Pickup and delivery: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_pickup_delivery_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/pickup-delivery/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: pickup-delivery"
        ],
        "summary": "Pickup and delivery: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_pickup_delivery_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Pickup and delivery solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PickupDeliveryResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/pickup-delivery/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: pickup-delivery"
        ],
        "summary": "Pickup and delivery: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_pickup_delivery_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/project-job-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: project-job-scheduling"
        ],
        "summary": "Project job scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_project_job_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectJobSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/project-job-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: project-job-scheduling"
        ],
        "summary": "Project job scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_project_job_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/project-job-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: project-job-scheduling"
        ],
        "summary": "Project job scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_project_job_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Project job scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectJobSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/project-job-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: project-job-scheduling"
        ],
        "summary": "Project job scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_project_job_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/quadratic-assignment/jobs": {
      "post": {
        "tags": [
          "use-case: quadratic-assignment"
        ],
        "summary": "Quadratic assignment: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_quadratic_assignment_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuadraticAssignmentJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/quadratic-assignment/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: quadratic-assignment"
        ],
        "summary": "Quadratic assignment: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_quadratic_assignment_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/quadratic-assignment/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: quadratic-assignment"
        ],
        "summary": "Quadratic assignment: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_quadratic_assignment_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Quadratic assignment solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuadraticAssignmentResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/quadratic-assignment/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: quadratic-assignment"
        ],
        "summary": "Quadratic assignment: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_quadratic_assignment_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/school-timetabling/jobs": {
      "post": {
        "tags": [
          "use-case: school-timetabling"
        ],
        "summary": "School timetabling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`request`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_school_timetabling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SchoolTimetablingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/school-timetabling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: school-timetabling"
        ],
        "summary": "School timetabling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_school_timetabling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/school-timetabling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: school-timetabling"
        ],
        "summary": "School timetabling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_school_timetabling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed School timetabling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchoolTimetablingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/school-timetabling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: school-timetabling"
        ],
        "summary": "School timetabling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_school_timetabling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/semiconductor-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: semiconductor-scheduling"
        ],
        "summary": "Semiconductor fab scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_semiconductor_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SemiconductorSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/semiconductor-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: semiconductor-scheduling"
        ],
        "summary": "Semiconductor fab scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_semiconductor_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/semiconductor-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: semiconductor-scheduling"
        ],
        "summary": "Semiconductor fab scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_semiconductor_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Semiconductor fab scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SemiconductorSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/semiconductor-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: semiconductor-scheduling"
        ],
        "summary": "Semiconductor fab scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_semiconductor_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/sports-league-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: sports-league-scheduling"
        ],
        "summary": "Sports league scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_sports_league_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SportsLeagueSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/sports-league-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: sports-league-scheduling"
        ],
        "summary": "Sports league scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_sports_league_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/sports-league-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: sports-league-scheduling"
        ],
        "summary": "Sports league scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_sports_league_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Sports league scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SportsLeagueSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/sports-league-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: sports-league-scheduling"
        ],
        "summary": "Sports league scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_sports_league_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/task-assigning/jobs": {
      "post": {
        "tags": [
          "use-case: task-assigning"
        ],
        "summary": "Task assigning: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_task_assigning_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskAssigningJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/task-assigning/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: task-assigning"
        ],
        "summary": "Task assigning: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_task_assigning_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/task-assigning/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: task-assigning"
        ],
        "summary": "Task assigning: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_task_assigning_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Task assigning solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskAssigningResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/task-assigning/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: task-assigning"
        ],
        "summary": "Task assigning: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_task_assigning_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/tournament-scheduling/jobs": {
      "post": {
        "tags": [
          "use-case: tournament-scheduling"
        ],
        "summary": "Tournament scheduling: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`problem`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_tournament_scheduling_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TournamentSchedulingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/tournament-scheduling/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: tournament-scheduling"
        ],
        "summary": "Tournament scheduling: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_tournament_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/tournament-scheduling/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: tournament-scheduling"
        ],
        "summary": "Tournament scheduling: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_tournament_scheduling_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Tournament scheduling solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TournamentSchedulingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/tournament-scheduling/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: tournament-scheduling"
        ],
        "summary": "Tournament scheduling: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_tournament_scheduling_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/vehicle-routing/jobs": {
      "post": {
        "tags": [
          "use-case: vehicle-routing"
        ],
        "summary": "Vehicle routing: start a solve job",
        "description": "Solve the problem as a job. The body is the problem (`request`) and a few common settings; the server picks how to solve it and returns its best result. Poll the job at `solve/jobs/{job_id}` and fetch the result at `solve/jobs/{job_id}/result` once it has succeeded. Settings of the Python call that this API does not take (such as `config`) are ignored, and the job lists each one in `warnings`.",
        "operationId": "create_vehicle_routing_job",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VehicleRoutingJobRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/vehicle-routing/solve/jobs/{job_id}": {
      "get": {
        "tags": [
          "use-case: vehicle-routing"
        ],
        "summary": "Vehicle routing: get a solve job",
        "description": "Poll a job created by this use case.",
        "operationId": "get_vehicle_routing_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobStatusRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/vehicle-routing/solve/jobs/{job_id}/result": {
      "get": {
        "tags": [
          "use-case: vehicle-routing"
        ],
        "summary": "Vehicle routing: get the solution",
        "description": "Return this use case's typed solution after the job succeeds.",
        "operationId": "get_vehicle_routing_solve_result",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Completed Vehicle routing solution.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VehicleRoutingResult"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/use-cases/vehicle-routing/solve/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "use-case: vehicle-routing"
        ],
        "summary": "Vehicle routing: cancel a solve job",
        "description": "Cancel a queued or running job created by this use case.",
        "operationId": "cancel_vehicle_routing_solve_job",
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SolveJobRead"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/uploads": {
      "post": {
        "tags": [
          "uploads"
        ],
        "summary": "Create an upload",
        "description": "Create an upload and get a signed form to send the file with.\n\nUse it for travel data too large for a request body: in a vehicle-routing or pickup-delivery request, a travel profile can be `{\"upload\": \"<id>\"}` instead of its `durations` and `distances`. Send the file to `form.url` as a `multipart/form-data` POST with every field of `form.fields`, no other field, and the file last (field `file`), gzip-compressed or not; it does not pass through this API, so the request size limit does not apply. Then poll `GET /api/uploads/{upload_id}` until `ready`, or name it in a job right away (the job checks it). Uploads expire at `expires_at`.\n\nThe file is one travel profile as a dense matrix, JSON, optionally gzip-compressed: `{\"places\": [id, ...], \"durations\": [[...], ...], \"distances\": [[...], ...], \"missing_value\": 10000000}`. Rows are from, columns to, both in the order of `places`. Values are non-negative integers (seconds, meters); `null` marks a pair that is not known, which costs `missing_value`; the diagonal is 0. `distances` and `missing_value` may be left out. The matrix may hold more places than a request uses: the server picks the rows and columns of the request's depot and stop ids.",
        "operationId": "create_upload",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UploadCreate"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Settings"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadCreated"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/uploads/{upload_id}": {
      "get": {
        "tags": [
          "uploads"
        ],
        "summary": "Get an upload",
        "description": "Read an upload. If the file has arrived and was not checked yet, it is checked now (`ready` or `invalid`).\n\nWhile the upload is `pending`, the response carries `Retry-After` (seconds): poll no faster than that, and back off\nif it stays pending. An upload of another account, and an expired one, is not found (404).",
        "operationId": "get_upload",
        "parameters": [
          {
            "name": "upload_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Upload Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadRead"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "While the upload is `pending`: seconds to wait before polling again.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AssemblyLineBalancingDifferentStationPairsCostConstraint": {
        "type": "object",
        "title": "Different-station zoning",
        "description": "Pairs of tasks that must be on different stations but share one; each such pair costs 1. 0 means every pair is separated.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "different_station_pairs_cost",
            "default": "different_station_pairs_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingFixedTaskStationsCostConstraint": {
        "type": "object",
        "title": "Fixed task stations",
        "description": "Tasks with a fixed_station that are assigned to another station; each costs 1. 0 means every fixed task is on its station.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "fixed_task_stations_cost",
            "default": "fixed_task_stations_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingForbiddenTaskStationsCostConstraint": {
        "type": "object",
        "title": "Forbidden task stations",
        "description": "Tasks assigned to a station listed in their forbidden_stations; each costs 1. 0 means no task is on a forbidden station.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "forbidden_task_stations_cost",
            "default": "forbidden_task_stations_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingInputPrecedenceModel": {
        "additionalProperties": false,
        "properties": {
          "before": {
            "title": "Before",
            "type": "string"
          },
          "after": {
            "title": "After",
            "type": "string"
          }
        },
        "required": [
          "before",
          "after"
        ],
        "title": "PrecedenceModel",
        "type": "object"
      },
      "AssemblyLineBalancingInputTaskGroupModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "task_ids": {
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "title": "Task Ids",
            "type": "array"
          }
        },
        "required": [
          "id",
          "task_ids"
        ],
        "title": "TaskGroupModel",
        "type": "object"
      },
      "AssemblyLineBalancingInputTaskModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "duration": {
            "exclusiveMinimum": 0,
            "title": "Duration",
            "type": "integer"
          },
          "min_station": {
            "default": 0,
            "minimum": 0,
            "title": "Min Station",
            "type": "integer"
          },
          "max_station": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Station"
          },
          "fixed_station": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Fixed Station"
          },
          "forbidden_stations": {
            "items": {
              "type": "integer"
            },
            "title": "Forbidden Stations",
            "type": "array"
          },
          "station": {
            "default": -1,
            "minimum": -1,
            "title": "Station",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "duration"
        ],
        "title": "TaskModel",
        "type": "object"
      },
      "AssemblyLineBalancingInputTaskPairModel": {
        "additionalProperties": false,
        "properties": {
          "first": {
            "title": "First",
            "type": "string"
          },
          "second": {
            "title": "Second",
            "type": "string"
          }
        },
        "required": [
          "first",
          "second"
        ],
        "title": "TaskPairModel",
        "type": "object"
      },
      "AssemblyLineBalancingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a assembly line balancing problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/AssemblyLineBalancingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingStationCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingTaskPrecedenceCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingMaxStationsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingTaskStationBoundsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingFixedTaskStationsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingForbiddenTaskStationsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingSameStationGroupsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingDifferentStationPairsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingUsedStationsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/AssemblyLineBalancingWorkloadImbalanceCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "AssemblyLineBalancingJobRequest",
        "type": "object"
      },
      "AssemblyLineBalancingMaxStationsCostConstraint": {
        "type": "object",
        "title": "Maximum stations",
        "description": "How far each task sits beyond the last station max_stations allows: a task on station s costs s - max_stations + 1 (stations count from 0). 0 means every task is within the allowed stations.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_stations_cost",
            "default": "max_stations_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingOutputPrecedenceModel": {
        "additionalProperties": false,
        "properties": {
          "before": {
            "title": "Before",
            "type": "string"
          },
          "after": {
            "title": "After",
            "type": "string"
          }
        },
        "required": [
          "before",
          "after"
        ],
        "title": "PrecedenceModel",
        "type": "object"
      },
      "AssemblyLineBalancingOutputTaskGroupModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "task_ids": {
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "title": "Task Ids",
            "type": "array"
          }
        },
        "required": [
          "id",
          "task_ids"
        ],
        "title": "TaskGroupModel",
        "type": "object"
      },
      "AssemblyLineBalancingOutputTaskModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "duration": {
            "exclusiveMinimum": 0,
            "title": "Duration",
            "type": "integer"
          },
          "min_station": {
            "default": 0,
            "minimum": 0,
            "title": "Min Station",
            "type": "integer"
          },
          "max_station": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Station"
          },
          "fixed_station": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Fixed Station"
          },
          "forbidden_stations": {
            "items": {
              "type": "integer"
            },
            "title": "Forbidden Stations",
            "type": "array"
          },
          "station": {
            "default": -1,
            "minimum": -1,
            "title": "Station",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "duration"
        ],
        "title": "TaskModel",
        "type": "object"
      },
      "AssemblyLineBalancingOutputTaskPairModel": {
        "additionalProperties": false,
        "properties": {
          "first": {
            "title": "First",
            "type": "string"
          },
          "second": {
            "title": "Second",
            "type": "string"
          }
        },
        "required": [
          "first",
          "second"
        ],
        "title": "TaskPairModel",
        "type": "object"
      },
      "AssemblyLineBalancingProblem": {
        "additionalProperties": false,
        "properties": {
          "cycle_time": {
            "description": "Maximum processing time assigned to one station.",
            "exclusiveMinimum": 0,
            "title": "Cycle Time",
            "type": "integer"
          },
          "tasks": {
            "description": "Tasks that must each be assigned to one station.",
            "items": {
              "$ref": "#/components/schemas/AssemblyLineBalancingInputTaskModel"
            },
            "title": "Tasks",
            "type": "array"
          },
          "precedences": {
            "description": "Before/after task arcs.",
            "items": {
              "$ref": "#/components/schemas/AssemblyLineBalancingInputPrecedenceModel"
            },
            "title": "Precedences",
            "type": "array"
          },
          "max_stations": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Stations"
          },
          "same_station_groups": {
            "items": {
              "$ref": "#/components/schemas/AssemblyLineBalancingInputTaskGroupModel"
            },
            "title": "Same Station Groups",
            "type": "array"
          },
          "different_station_pairs": {
            "items": {
              "$ref": "#/components/schemas/AssemblyLineBalancingInputTaskPairModel"
            },
            "title": "Different Station Pairs",
            "type": "array"
          },
          "stations_used": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of non-empty stations.",
            "title": "Stations Used"
          },
          "station_loads": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Processing-time load of each station.",
            "title": "Station Loads"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from the stations on `tasks`; tasks still at -1 go through the construction.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "cycle_time",
          "tasks"
        ],
        "title": "AssemblyLineBalancingProblemModel",
        "type": "object"
      },
      "AssemblyLineBalancingResult": {
        "additionalProperties": false,
        "properties": {
          "cycle_time": {
            "description": "Maximum processing time assigned to one station.",
            "exclusiveMinimum": 0,
            "title": "Cycle Time",
            "type": "integer"
          },
          "tasks": {
            "description": "Tasks that must each be assigned to one station.",
            "items": {
              "$ref": "#/components/schemas/AssemblyLineBalancingOutputTaskModel"
            },
            "title": "Tasks",
            "type": "array"
          },
          "precedences": {
            "description": "Before/after task arcs.",
            "items": {
              "$ref": "#/components/schemas/AssemblyLineBalancingOutputPrecedenceModel"
            },
            "title": "Precedences",
            "type": "array"
          },
          "max_stations": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Stations"
          },
          "same_station_groups": {
            "items": {
              "$ref": "#/components/schemas/AssemblyLineBalancingOutputTaskGroupModel"
            },
            "title": "Same Station Groups",
            "type": "array"
          },
          "different_station_pairs": {
            "items": {
              "$ref": "#/components/schemas/AssemblyLineBalancingOutputTaskPairModel"
            },
            "title": "Different Station Pairs",
            "type": "array"
          },
          "stations_used": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of non-empty stations.",
            "title": "Stations Used"
          },
          "station_loads": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Processing-time load of each station.",
            "title": "Station Loads"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from the stations on `tasks`; tasks still at -1 go through the construction.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "cycle_time",
          "tasks"
        ],
        "title": "AssemblyLineBalancingProblemModel",
        "type": "object"
      },
      "AssemblyLineBalancingSameStationGroupsCostConstraint": {
        "type": "object",
        "title": "Same-station zoning",
        "description": "For every same-station group, the number of stations its tasks use beyond the first. 0 means each group sits on one station.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "same_station_groups_cost",
            "default": "same_station_groups_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingStationCapacityCostConstraint": {
        "type": "object",
        "title": "Station capacity",
        "description": "Processing time a station carries beyond the cycle time, summed over the stations. One unit of cost is one time unit over the cycle; 0 means every station finishes within the cycle time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "station_capacity_cost",
            "default": "station_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingTaskPrecedenceCostConstraint": {
        "type": "object",
        "title": "Task precedence",
        "description": "Precedence arcs whose earlier task sits on a later station than the task that must follow it. Each such arc costs 1; 0 means the line respects every precedence.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "task_precedence_cost",
            "default": "task_precedence_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingTaskStationBoundsCostConstraint": {
        "type": "object",
        "title": "Task station bounds",
        "description": "How many stations each task sits below its min_station or above its max_station, summed. 0 means every task is inside its own station range.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "task_station_bounds_cost",
            "default": "task_station_bounds_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingUsedStationsCostConstraint": {
        "type": "object",
        "title": "Stations used",
        "description": "The number of stations that hold at least one task; each open station costs 1. 0 means no task is assigned.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "used_stations_cost",
            "default": "used_stations_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "AssemblyLineBalancingWorkloadImbalanceCostConstraint": {
        "type": "object",
        "title": "Workload imbalance",
        "description": "The processing time of the most loaded used station minus that of the least loaded one. Off by default (weight 0); 0 means every used station carries the same load.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "workload_imbalance_cost",
            "default": "workload_imbalance_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationBedConflictCostConstraint": {
        "type": "object",
        "title": "Bed conflict",
        "description": "Nights on which two stays share one bed, summed over every pair of stays in the same bed. One unit of cost is one shared night; 0 means no bed is double-booked on any night.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "bed_conflict_cost",
            "default": "bed_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationDepartmentMaxAgeCostConstraint": {
        "type": "object",
        "title": "Above the department's maximum age",
        "description": "The nights patients older than their department's maximum age spend there (a department without a maximum age never counts). One unit of cost is one such night; 0 means every patient is young enough for their department.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "department_max_age_cost",
            "default": "department_max_age_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationDepartmentMinAgeCostConstraint": {
        "type": "object",
        "title": "Below the department's minimum age",
        "description": "The nights patients younger than their department's minimum age spend there (a department without a minimum age never counts). One unit of cost is one such night; 0 means every patient is old enough for their department.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "department_min_age_cost",
            "default": "department_min_age_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationDepartmentSpecialtyCostConstraint": {
        "type": "object",
        "title": "Department specialty",
        "description": "The nights stays spend in a department that does not offer their specialty. One unit of cost is one such night; 0 means every stay is in a department offering its specialty.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "department_specialty_cost",
            "default": "department_specialty_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationDepartmentSpecialtyPriorityCostConstraint": {
        "type": "object",
        "title": "Department specialty priority",
        "description": "For a stay in a department that offers its specialty at priority p > 1: (p - 1) times its nights. 0 means every stay is in a department with its specialty at priority 1 (a department without the specialty is counted by department_specialty_cost instead).",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "department_specialty_priority_cost",
            "default": "department_specialty_priority_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationFemaleInMaleRoomCostConstraint": {
        "type": "object",
        "title": "Female patient in a male-only room",
        "description": "The nights female patients spend in rooms limited to men. One unit of cost is one such night; 0 means no female patient is in a male-only room.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "female_in_male_room_cost",
            "default": "female_in_male_room_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationInputBedModel": {
        "additionalProperties": false,
        "description": "A bed (the value a stay is assigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "room_id": {
            "title": "Room Id",
            "type": "string"
          },
          "index_in_room": {
            "default": 0,
            "title": "Index In Room",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "room_id"
        ],
        "title": "BedModel",
        "type": "object"
      },
      "BedAllocationInputDepartmentModel": {
        "additionalProperties": false,
        "description": "A department. specialty_to_priority holds the specialties the department offers\nand their priority (1 == highest).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "specialty_to_priority": {
            "additionalProperties": {
              "type": "integer"
            },
            "title": "Specialty To Priority",
            "type": "object"
          },
          "minimum_age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Minimum Age"
          },
          "maximum_age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Maximum Age"
          }
        },
        "required": [
          "id"
        ],
        "title": "DepartmentModel",
        "type": "object"
      },
      "BedAllocationInputRoomModel": {
        "additionalProperties": false,
        "description": "A room. gender_limitation: ANY_GENDER / MALE_ONLY / FEMALE_ONLY /\nSAME_GENDER (concurrent patients in one room must share a gender).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "department_id": {
            "title": "Department Id",
            "type": "string"
          },
          "capacity": {
            "minimum": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "gender_limitation": {
            "default": "ANY_GENDER",
            "title": "Gender Limitation",
            "type": "string"
          },
          "equipment": {
            "items": {
              "type": "string"
            },
            "title": "Equipment",
            "type": "array"
          }
        },
        "required": [
          "id",
          "department_id",
          "capacity"
        ],
        "title": "RoomModel",
        "type": "object"
      },
      "BedAllocationInputStayModel": {
        "additionalProperties": false,
        "description": "One patient stay. `bed_id` is the decision variable\n(None == unassigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "patient_name": {
            "default": "",
            "title": "Patient Name",
            "type": "string"
          },
          "patient_gender": {
            "default": "MALE",
            "title": "Patient Gender",
            "type": "string"
          },
          "patient_age": {
            "minimum": 0,
            "title": "Patient Age",
            "type": "integer"
          },
          "patient_preferred_maximum_room_capacity": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Patient Preferred Maximum Room Capacity"
          },
          "patient_required_equipment": {
            "items": {
              "type": "string"
            },
            "title": "Patient Required Equipment",
            "type": "array"
          },
          "patient_preferred_equipment": {
            "items": {
              "type": "string"
            },
            "title": "Patient Preferred Equipment",
            "type": "array"
          },
          "arrival_date": {
            "format": "date",
            "title": "Arrival Date",
            "type": "string"
          },
          "departure_date": {
            "format": "date",
            "title": "Departure Date",
            "type": "string"
          },
          "specialty": {
            "default": "",
            "title": "Specialty",
            "type": "string"
          },
          "bed_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Bed Id"
          }
        },
        "required": [
          "id",
          "patient_age",
          "arrival_date",
          "departure_date"
        ],
        "title": "StayModel",
        "type": "object"
      },
      "BedAllocationJobRequest": {
        "additionalProperties": false,
        "description": "Solve a bed allocation problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/BedAllocationProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BedAllocationBedConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationFemaleInMaleRoomCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationMaleInFemaleRoomCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationDepartmentMinAgeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationDepartmentMaxAgeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationRequiredPatientEquipmentCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationUnassignedStaysCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationPreferredMaxRoomCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationDepartmentSpecialtyCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationDepartmentSpecialtyPriorityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationPreferredPatientEquipmentCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BedAllocationMixedGenderRoomCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "BedAllocationJobRequest",
        "type": "object"
      },
      "BedAllocationMaleInFemaleRoomCostConstraint": {
        "type": "object",
        "title": "Male patient in a female-only room",
        "description": "The nights male patients spend in rooms limited to women. One unit of cost is one such night; 0 means no male patient is in a female-only room.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "male_in_female_room_cost",
            "default": "male_in_female_room_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationMixedGenderRoomCostConstraint": {
        "type": "object",
        "title": "Mixed genders in a same-gender room",
        "description": "Nights on which a male and a female patient share a same-gender room, summed over every such pair of stays. One unit of cost is one shared night; 0 means every same-gender room holds patients of one gender on each night.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "mixed_gender_room_cost",
            "default": "mixed_gender_room_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationOutputBedModel": {
        "additionalProperties": false,
        "description": "A bed (the value a stay is assigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "room_id": {
            "title": "Room Id",
            "type": "string"
          },
          "index_in_room": {
            "default": 0,
            "title": "Index In Room",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "room_id"
        ],
        "title": "BedModel",
        "type": "object"
      },
      "BedAllocationOutputDepartmentModel": {
        "additionalProperties": false,
        "description": "A department. specialty_to_priority holds the specialties the department offers\nand their priority (1 == highest).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "specialty_to_priority": {
            "additionalProperties": {
              "type": "integer"
            },
            "title": "Specialty To Priority",
            "type": "object"
          },
          "minimum_age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Minimum Age"
          },
          "maximum_age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Maximum Age"
          }
        },
        "required": [
          "id"
        ],
        "title": "DepartmentModel",
        "type": "object"
      },
      "BedAllocationOutputRoomModel": {
        "additionalProperties": false,
        "description": "A room. gender_limitation: ANY_GENDER / MALE_ONLY / FEMALE_ONLY /\nSAME_GENDER (concurrent patients in one room must share a gender).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "department_id": {
            "title": "Department Id",
            "type": "string"
          },
          "capacity": {
            "minimum": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "gender_limitation": {
            "default": "ANY_GENDER",
            "title": "Gender Limitation",
            "type": "string"
          },
          "equipment": {
            "items": {
              "type": "string"
            },
            "title": "Equipment",
            "type": "array"
          }
        },
        "required": [
          "id",
          "department_id",
          "capacity"
        ],
        "title": "RoomModel",
        "type": "object"
      },
      "BedAllocationOutputStayModel": {
        "additionalProperties": false,
        "description": "One patient stay. `bed_id` is the decision variable\n(None == unassigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "patient_name": {
            "default": "",
            "title": "Patient Name",
            "type": "string"
          },
          "patient_gender": {
            "default": "MALE",
            "title": "Patient Gender",
            "type": "string"
          },
          "patient_age": {
            "minimum": 0,
            "title": "Patient Age",
            "type": "integer"
          },
          "patient_preferred_maximum_room_capacity": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Patient Preferred Maximum Room Capacity"
          },
          "patient_required_equipment": {
            "items": {
              "type": "string"
            },
            "title": "Patient Required Equipment",
            "type": "array"
          },
          "patient_preferred_equipment": {
            "items": {
              "type": "string"
            },
            "title": "Patient Preferred Equipment",
            "type": "array"
          },
          "arrival_date": {
            "format": "date",
            "title": "Arrival Date",
            "type": "string"
          },
          "departure_date": {
            "format": "date",
            "title": "Departure Date",
            "type": "string"
          },
          "specialty": {
            "default": "",
            "title": "Specialty",
            "type": "string"
          },
          "bed_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Bed Id"
          }
        },
        "required": [
          "id",
          "patient_age",
          "arrival_date",
          "departure_date"
        ],
        "title": "StayModel",
        "type": "object"
      },
      "BedAllocationPreferredMaxRoomCapacityCostConstraint": {
        "type": "object",
        "title": "Preferred room size",
        "description": "The nights patients spend in a room with a larger capacity than the most they prefer (a patient without a preference never counts). One unit of cost is one such night; 0 means every patient's room is small enough.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "preferred_max_room_capacity_cost",
            "default": "preferred_max_room_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationPreferredPatientEquipmentCostConstraint": {
        "type": "object",
        "title": "Preferred equipment",
        "description": "For each stay: its nights times the number of preferred equipment items its room lacks. One unit of cost is one missing item for one night; 0 means every stay's room has all of its preferred equipment.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "preferred_patient_equipment_cost",
            "default": "preferred_patient_equipment_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationProblem": {
        "additionalProperties": false,
        "description": "Mirror of `BedPlan` (the whole problem and its solution). score_* are read-only results, kept as separate fields.",
        "properties": {
          "departments": {
            "items": {
              "$ref": "#/components/schemas/BedAllocationInputDepartmentModel"
            },
            "title": "Departments",
            "type": "array"
          },
          "rooms": {
            "items": {
              "$ref": "#/components/schemas/BedAllocationInputRoomModel"
            },
            "title": "Rooms",
            "type": "array"
          },
          "beds": {
            "items": {
              "$ref": "#/components/schemas/BedAllocationInputBedModel"
            },
            "title": "Beds",
            "type": "array"
          },
          "stays": {
            "items": {
              "$ref": "#/components/schemas/BedAllocationInputStayModel"
            },
            "title": "Stays",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_medium": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Medium"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "departments",
          "rooms",
          "beds",
          "stays"
        ],
        "title": "BedPlanModel",
        "type": "object"
      },
      "BedAllocationRequiredPatientEquipmentCostConstraint": {
        "type": "object",
        "title": "Required equipment",
        "description": "For a stay whose room lacks at least one required equipment item: its nights times the number of required items the room does have (by design, a room with none of the required items also costs 0). 0 means every stay's room has all of its required equipment, or none of it.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "required_patient_equipment_cost",
            "default": "required_patient_equipment_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BedAllocationResult": {
        "additionalProperties": false,
        "description": "Mirror of `BedPlan` (the whole problem and its solution). score_* are read-only results, kept as separate fields.",
        "properties": {
          "departments": {
            "items": {
              "$ref": "#/components/schemas/BedAllocationOutputDepartmentModel"
            },
            "title": "Departments",
            "type": "array"
          },
          "rooms": {
            "items": {
              "$ref": "#/components/schemas/BedAllocationOutputRoomModel"
            },
            "title": "Rooms",
            "type": "array"
          },
          "beds": {
            "items": {
              "$ref": "#/components/schemas/BedAllocationOutputBedModel"
            },
            "title": "Beds",
            "type": "array"
          },
          "stays": {
            "items": {
              "$ref": "#/components/schemas/BedAllocationOutputStayModel"
            },
            "title": "Stays",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_medium": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Medium"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "departments",
          "rooms",
          "beds",
          "stays"
        ],
        "title": "BedPlanModel",
        "type": "object"
      },
      "BedAllocationUnassignedStaysCostConstraint": {
        "type": "object",
        "title": "Unassigned stays",
        "description": "The nights of the stays left without a bed (the solver's \"no bed\" value). One unit of cost is one night without a bed; 0 means every stay has a bed.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "unassigned_stays_cost",
            "default": "unassigned_stays_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BinPackingBinCapacityCostConstraint": {
        "type": "object",
        "title": "Bin capacity",
        "description": "The weight packed into a bin beyond its capacity, summed over the bins. One unit of cost is one unit of weight over capacity; 0 means every bin is within its capacity.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "bin_capacity_cost",
            "default": "bin_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BinPackingColorConflictCostConstraint": {
        "type": "object",
        "title": "Color conflict",
        "description": "Items packed into a bin that already holds an item of the same colour: per bin, every item beyond the first of its colour counts 1. Items without a colour never count; 0 means no bin holds two items of one colour.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "color_conflict_cost",
            "default": "color_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BinPackingInputConflictModel": {
        "additionalProperties": false,
        "properties": {
          "first": {
            "description": "Id of one item of the pair.",
            "title": "First",
            "type": "string"
          },
          "second": {
            "description": "Id of the other item; the two should not share a bin.",
            "title": "Second",
            "type": "string"
          }
        },
        "required": [
          "first",
          "second"
        ],
        "title": "ConflictModel",
        "type": "object"
      },
      "BinPackingInputItemModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "Unique item identifier.",
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "weight": {
            "description": "One-dimensional item weight or size.",
            "exclusiveMinimum": 0,
            "title": "Weight",
            "type": "integer"
          },
          "bin": {
            "default": -1,
            "description": "Assigned zero-based bin index (0 to one below the item count); -1 means unsolved.",
            "minimum": -1,
            "title": "Bin",
            "type": "integer"
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional color; two items of one color should not share a bin.",
            "title": "Color"
          }
        },
        "required": [
          "id",
          "weight"
        ],
        "title": "ItemModel",
        "type": "object"
      },
      "BinPackingItemConflictCostConstraint": {
        "type": "object",
        "title": "Item conflicts",
        "description": "Conflict pairs whose two items share a bin, one per listed pair. 0 means every conflicting pair is packed apart.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "item_conflict_cost",
            "default": "item_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "BinPackingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a bin packing problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/BinPackingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BinPackingBinCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BinPackingColorConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BinPackingItemConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/BinPackingUsedBinsCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "BinPackingJobRequest",
        "type": "object"
      },
      "BinPackingOutputConflictModel": {
        "additionalProperties": false,
        "properties": {
          "first": {
            "description": "Id of one item of the pair.",
            "title": "First",
            "type": "string"
          },
          "second": {
            "description": "Id of the other item; the two should not share a bin.",
            "title": "Second",
            "type": "string"
          }
        },
        "required": [
          "first",
          "second"
        ],
        "title": "ConflictModel",
        "type": "object"
      },
      "BinPackingOutputItemModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "Unique item identifier.",
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "weight": {
            "description": "One-dimensional item weight or size.",
            "exclusiveMinimum": 0,
            "title": "Weight",
            "type": "integer"
          },
          "bin": {
            "default": -1,
            "description": "Assigned zero-based bin index (0 to one below the item count); -1 means unsolved.",
            "minimum": -1,
            "title": "Bin",
            "type": "integer"
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional color; two items of one color should not share a bin.",
            "title": "Color"
          }
        },
        "required": [
          "id",
          "weight"
        ],
        "title": "ItemModel",
        "type": "object"
      },
      "BinPackingProblem": {
        "additionalProperties": false,
        "properties": {
          "bin_capacity": {
            "description": "Maximum load of each identical bin.",
            "exclusiveMinimum": 0,
            "title": "Bin Capacity",
            "type": "integer"
          },
          "items": {
            "description": "Items that must each be assigned exactly once.",
            "items": {
              "$ref": "#/components/schemas/BinPackingInputItemModel"
            },
            "title": "Items",
            "type": "array"
          },
          "conflicts": {
            "description": "Item pairs that should be packed apart; a pair listed twice counts twice.",
            "items": {
              "$ref": "#/components/schemas/BinPackingInputConflictModel"
            },
            "title": "Conflicts",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Negative weighted hard score (capacity overload, color and item conflicts).",
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Negative weighted soft score (bins used).",
            "title": "Score Soft"
          },
          "bins_used": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of non-empty bins in the solution.",
            "title": "Bins Used"
          },
          "bin_loads": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Total item weight in each zero-based bin.",
            "title": "Bin Loads"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from the bins on `items`; items still at -1 are placed around them by the best-fit construction.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "bin_capacity",
          "items"
        ],
        "title": "BinPackingProblemModel",
        "type": "object"
      },
      "BinPackingResult": {
        "additionalProperties": false,
        "properties": {
          "bin_capacity": {
            "description": "Maximum load of each identical bin.",
            "exclusiveMinimum": 0,
            "title": "Bin Capacity",
            "type": "integer"
          },
          "items": {
            "description": "Items that must each be assigned exactly once.",
            "items": {
              "$ref": "#/components/schemas/BinPackingOutputItemModel"
            },
            "title": "Items",
            "type": "array"
          },
          "conflicts": {
            "description": "Item pairs that should be packed apart; a pair listed twice counts twice.",
            "items": {
              "$ref": "#/components/schemas/BinPackingOutputConflictModel"
            },
            "title": "Conflicts",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Negative weighted hard score (capacity overload, color and item conflicts).",
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Negative weighted soft score (bins used).",
            "title": "Score Soft"
          },
          "bins_used": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Number of non-empty bins in the solution.",
            "title": "Bins Used"
          },
          "bin_loads": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Total item weight in each zero-based bin.",
            "title": "Bin Loads"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from the bins on `items`; items still at -1 are placed around them by the best-fit construction.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "bin_capacity",
          "items"
        ],
        "title": "BinPackingProblemModel",
        "type": "object"
      },
      "BinPackingUsedBinsCostConstraint": {
        "type": "object",
        "title": "Bins used",
        "description": "The number of bins holding at least one item. 0 means no item is packed.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "used_bins_cost",
            "default": "used_bins_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingAudienceLevelDiversityCostConstraint": {
        "type": "object",
        "title": "Audience level diversity (reward)",
        "description": "A reward: for every pair of talks in the same timeslot with different audience levels, minus the slot's duration in minutes, so the raw cost is <= 0. 0 means no timeslot mixes audience levels.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "audience_level_diversity_cost",
            "default": "audience_level_diversity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingAudienceTypeDiversityCostConstraint": {
        "type": "object",
        "title": "Audience type diversity (reward)",
        "description": "A reward: for every pair of talks in the same timeslot, minus the audience types they share times the slot's duration in minutes, so the raw cost is <= 0. Despite the name it rewards pairs that share an audience type. 0 means no reward is earned.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "audience_type_diversity_cost",
            "default": "audience_type_diversity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingAudienceTypeThemeTrackConflictCostConstraint": {
        "type": "object",
        "title": "Audience type and theme track conflict",
        "description": "For every pair of overlapping talks, the shared theme tracks times the shared audience types times the overlapping minutes. 0 means no overlapping talks share both a theme track and an audience type.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "audience_type_theme_track_conflict_cost",
            "default": "audience_type_theme_track_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingConsecutiveTalksPauseCostConstraint": {
        "type": "object",
        "title": "Pause between a speaker's talks",
        "description": "For every pair of talks sharing a speaker without the minimum pause between them (overlapping, or too close on the same day), the combined duration of both talks in minutes. 0 means every speaker gets the pause.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "consecutive_talks_pause_cost",
            "default": "consecutive_talks_pause_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingContentAudienceLevelFlowViolationCostConstraint": {
        "type": "object",
        "title": "Audience level flow violation",
        "description": "For every pair of talks sharing content where the lower-level talk ends after the higher-level talk starts, the shared content tags times their combined duration in minutes. 0 means every content goes from the lower audience level to the higher one.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "content_audience_level_flow_violation_cost",
            "default": "content_audience_level_flow_violation_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingContentConflictCostConstraint": {
        "type": "object",
        "title": "Content conflict",
        "description": "For every pair of overlapping talks, the content tags they share times the overlapping minutes. 0 means no two talks on the same content overlap.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "content_conflict_cost",
            "default": "content_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingCrowdControlRiskCostConstraint": {
        "type": "object",
        "title": "Crowd control risk",
        "description": "The timeslot's duration in minutes for each talk with a crowd-control risk in a timeslot that holds three or more such talks. 0 means no timeslot has more than two risky talks.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "crowd_control_risk_cost",
            "default": "crowd_control_risk_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingDifferentDayTalksCostConstraint": {
        "type": "object",
        "title": "Related talks on different days",
        "description": "For every pair of talks on different days, the shared content tags plus the shared theme tracks, times their combined duration in minutes. 0 means related talks are on the same day.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "different_day_talks_cost",
            "default": "different_day_talks_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingInputRoomModel": {
        "additionalProperties": false,
        "description": "A room. unavailable_timeslots are timeslot indices.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "capacity": {
            "default": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "talk_types": {
            "items": {
              "type": "integer"
            },
            "title": "Talk Types",
            "type": "array"
          },
          "unavailable_timeslots": {
            "items": {
              "type": "integer"
            },
            "title": "Unavailable Timeslots",
            "type": "array"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "RoomModel",
        "type": "object"
      },
      "ConferenceSchedulingInputSpeakerModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "unavailable_timeslots": {
            "items": {
              "type": "integer"
            },
            "title": "Unavailable Timeslots",
            "type": "array"
          },
          "required_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Required Timeslot Tags",
            "type": "array"
          },
          "preferred_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Preferred Timeslot Tags",
            "type": "array"
          },
          "prohibited_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Prohibited Timeslot Tags",
            "type": "array"
          },
          "undesired_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Undesired Timeslot Tags",
            "type": "array"
          },
          "required_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Required Room Tags",
            "type": "array"
          },
          "preferred_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Preferred Room Tags",
            "type": "array"
          },
          "prohibited_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Prohibited Room Tags",
            "type": "array"
          },
          "undesired_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Undesired Room Tags",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "SpeakerModel",
        "type": "object"
      },
      "ConferenceSchedulingInputTalkModel": {
        "additionalProperties": false,
        "description": "Slot_room is the composite timeslot*room variable (-1 = unassigned).",
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "title": {
            "default": "",
            "title": "Title",
            "type": "string"
          },
          "talk_type": {
            "default": 0,
            "title": "Talk Type",
            "type": "integer"
          },
          "speakers": {
            "items": {
              "type": "integer"
            },
            "title": "Speakers",
            "type": "array"
          },
          "theme_track_tags": {
            "items": {
              "type": "string"
            },
            "title": "Theme Track Tags",
            "type": "array"
          },
          "sector_tags": {
            "items": {
              "type": "string"
            },
            "title": "Sector Tags",
            "type": "array"
          },
          "audience_types": {
            "items": {
              "type": "string"
            },
            "title": "Audience Types",
            "type": "array"
          },
          "audience_level": {
            "default": 0,
            "title": "Audience Level",
            "type": "integer"
          },
          "content_tags": {
            "items": {
              "type": "string"
            },
            "title": "Content Tags",
            "type": "array"
          },
          "language": {
            "default": "en",
            "title": "Language",
            "type": "string"
          },
          "required_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Required Timeslot Tags",
            "type": "array"
          },
          "preferred_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Preferred Timeslot Tags",
            "type": "array"
          },
          "prohibited_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Prohibited Timeslot Tags",
            "type": "array"
          },
          "undesired_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Undesired Timeslot Tags",
            "type": "array"
          },
          "required_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Required Room Tags",
            "type": "array"
          },
          "preferred_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Preferred Room Tags",
            "type": "array"
          },
          "prohibited_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Prohibited Room Tags",
            "type": "array"
          },
          "undesired_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Undesired Room Tags",
            "type": "array"
          },
          "mutually_exclusive_talks_tags": {
            "items": {
              "type": "string"
            },
            "title": "Mutually Exclusive Talks Tags",
            "type": "array"
          },
          "prerequisite_talks": {
            "items": {
              "type": "integer"
            },
            "title": "Prerequisite Talks",
            "type": "array"
          },
          "favorite_count": {
            "default": 0,
            "title": "Favorite Count",
            "type": "integer"
          },
          "crowd_control_risk": {
            "default": 0,
            "title": "Crowd Control Risk",
            "type": "integer"
          },
          "slot_room": {
            "default": -1,
            "title": "Slot Room",
            "type": "integer"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "code"
        ],
        "title": "TalkModel",
        "type": "object"
      },
      "ConferenceSchedulingInputTimeslotModel": {
        "additionalProperties": false,
        "description": "A time slot. In minutes (shared origin; midnight boundaries are multiples of 1440).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "start_minute": {
            "minimum": 0,
            "title": "Start Minute",
            "type": "integer"
          },
          "end_minute": {
            "minimum": 0,
            "title": "End Minute",
            "type": "integer"
          },
          "talk_types": {
            "items": {
              "type": "integer"
            },
            "title": "Talk Types",
            "type": "array"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          }
        },
        "required": [
          "id",
          "start_minute",
          "end_minute",
          "talk_types"
        ],
        "title": "TimeslotModel",
        "type": "object"
      },
      "ConferenceSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a conference scheduling problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/ConferenceSchedulingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkTypeIncompatibilityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingRoomUnavailabilityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingRoomConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerUnavailabilityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkPrerequisiteTalksCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkMutuallyExclusiveTalksTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingConsecutiveTalksPauseCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingCrowdControlRiskCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerRequiredTimeslotTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerProhibitedTimeslotTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkRequiredTimeslotTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkProhibitedTimeslotTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerRequiredRoomTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerProhibitedRoomTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkRequiredRoomTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkProhibitedRoomTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingThemeTrackConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingThemeTrackRoomChangeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSectorConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingAudienceTypeThemeTrackConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingContentAudienceLevelFlowViolationCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingContentConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingDifferentDayTalksCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingPopularTalksRoomSizeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerPreferredTimeslotTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerUndesiredTimeslotTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkPreferredTimeslotTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkUndesiredTimeslotTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerPreferredRoomTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerUndesiredRoomTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkPreferredRoomTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingTalkUndesiredRoomTagsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingSpeakerMakespanCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingAudienceTypeDiversityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingAudienceLevelDiversityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ConferenceSchedulingLanguageDiversityCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "ConferenceSchedulingJobRequest",
        "type": "object"
      },
      "ConferenceSchedulingLanguageDiversityCostConstraint": {
        "type": "object",
        "title": "Language diversity (reward)",
        "description": "A reward: for every pair of talks in the same timeslot with different languages, minus the slot's duration in minutes, so the raw cost is <= 0. 0 means no timeslot mixes languages.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "language_diversity_cost",
            "default": "language_diversity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingOutputRoomModel": {
        "additionalProperties": false,
        "description": "A room. unavailable_timeslots are timeslot indices.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "capacity": {
            "default": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "talk_types": {
            "items": {
              "type": "integer"
            },
            "title": "Talk Types",
            "type": "array"
          },
          "unavailable_timeslots": {
            "items": {
              "type": "integer"
            },
            "title": "Unavailable Timeslots",
            "type": "array"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "RoomModel",
        "type": "object"
      },
      "ConferenceSchedulingOutputSpeakerModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "unavailable_timeslots": {
            "items": {
              "type": "integer"
            },
            "title": "Unavailable Timeslots",
            "type": "array"
          },
          "required_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Required Timeslot Tags",
            "type": "array"
          },
          "preferred_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Preferred Timeslot Tags",
            "type": "array"
          },
          "prohibited_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Prohibited Timeslot Tags",
            "type": "array"
          },
          "undesired_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Undesired Timeslot Tags",
            "type": "array"
          },
          "required_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Required Room Tags",
            "type": "array"
          },
          "preferred_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Preferred Room Tags",
            "type": "array"
          },
          "prohibited_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Prohibited Room Tags",
            "type": "array"
          },
          "undesired_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Undesired Room Tags",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "SpeakerModel",
        "type": "object"
      },
      "ConferenceSchedulingOutputTalkModel": {
        "additionalProperties": false,
        "description": "Slot_room is the composite timeslot*room variable (-1 = unassigned).",
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "title": {
            "default": "",
            "title": "Title",
            "type": "string"
          },
          "talk_type": {
            "default": 0,
            "title": "Talk Type",
            "type": "integer"
          },
          "speakers": {
            "items": {
              "type": "integer"
            },
            "title": "Speakers",
            "type": "array"
          },
          "theme_track_tags": {
            "items": {
              "type": "string"
            },
            "title": "Theme Track Tags",
            "type": "array"
          },
          "sector_tags": {
            "items": {
              "type": "string"
            },
            "title": "Sector Tags",
            "type": "array"
          },
          "audience_types": {
            "items": {
              "type": "string"
            },
            "title": "Audience Types",
            "type": "array"
          },
          "audience_level": {
            "default": 0,
            "title": "Audience Level",
            "type": "integer"
          },
          "content_tags": {
            "items": {
              "type": "string"
            },
            "title": "Content Tags",
            "type": "array"
          },
          "language": {
            "default": "en",
            "title": "Language",
            "type": "string"
          },
          "required_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Required Timeslot Tags",
            "type": "array"
          },
          "preferred_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Preferred Timeslot Tags",
            "type": "array"
          },
          "prohibited_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Prohibited Timeslot Tags",
            "type": "array"
          },
          "undesired_timeslot_tags": {
            "items": {
              "type": "string"
            },
            "title": "Undesired Timeslot Tags",
            "type": "array"
          },
          "required_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Required Room Tags",
            "type": "array"
          },
          "preferred_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Preferred Room Tags",
            "type": "array"
          },
          "prohibited_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Prohibited Room Tags",
            "type": "array"
          },
          "undesired_room_tags": {
            "items": {
              "type": "string"
            },
            "title": "Undesired Room Tags",
            "type": "array"
          },
          "mutually_exclusive_talks_tags": {
            "items": {
              "type": "string"
            },
            "title": "Mutually Exclusive Talks Tags",
            "type": "array"
          },
          "prerequisite_talks": {
            "items": {
              "type": "integer"
            },
            "title": "Prerequisite Talks",
            "type": "array"
          },
          "favorite_count": {
            "default": 0,
            "title": "Favorite Count",
            "type": "integer"
          },
          "crowd_control_risk": {
            "default": 0,
            "title": "Crowd Control Risk",
            "type": "integer"
          },
          "slot_room": {
            "default": -1,
            "title": "Slot Room",
            "type": "integer"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "code"
        ],
        "title": "TalkModel",
        "type": "object"
      },
      "ConferenceSchedulingOutputTimeslotModel": {
        "additionalProperties": false,
        "description": "A time slot. In minutes (shared origin; midnight boundaries are multiples of 1440).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "start_minute": {
            "minimum": 0,
            "title": "Start Minute",
            "type": "integer"
          },
          "end_minute": {
            "minimum": 0,
            "title": "End Minute",
            "type": "integer"
          },
          "talk_types": {
            "items": {
              "type": "integer"
            },
            "title": "Talk Types",
            "type": "array"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          }
        },
        "required": [
          "id",
          "start_minute",
          "end_minute",
          "talk_types"
        ],
        "title": "TimeslotModel",
        "type": "object"
      },
      "ConferenceSchedulingPopularTalksRoomSizeCostConstraint": {
        "type": "object",
        "title": "Popular talks in small rooms",
        "description": "For every pair of talks where the talk with fewer favorites has the larger room, their combined duration in minutes. 0 means room sizes follow popularity.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "popular_talks_room_size_cost",
            "default": "popular_talks_room_size_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingProblem": {
        "additionalProperties": false,
        "description": "Solution mirror. score is a read-only result, kept as a separate field.",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "talk_types": {
            "items": {
              "type": "string"
            },
            "title": "Talk Types",
            "type": "array"
          },
          "timeslots": {
            "items": {
              "$ref": "#/components/schemas/ConferenceSchedulingInputTimeslotModel"
            },
            "title": "Timeslots",
            "type": "array"
          },
          "rooms": {
            "items": {
              "$ref": "#/components/schemas/ConferenceSchedulingInputRoomModel"
            },
            "title": "Rooms",
            "type": "array"
          },
          "speakers": {
            "items": {
              "$ref": "#/components/schemas/ConferenceSchedulingInputSpeakerModel"
            },
            "title": "Speakers",
            "type": "array"
          },
          "talks": {
            "items": {
              "$ref": "#/components/schemas/ConferenceSchedulingInputTalkModel"
            },
            "title": "Talks",
            "type": "array"
          },
          "minimum_consecutive_talks_pause_in_minutes": {
            "default": 30,
            "title": "Minimum Consecutive Talks Pause In Minutes",
            "type": "integer"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "name",
          "talk_types",
          "timeslots",
          "rooms"
        ],
        "title": "ConferenceScheduleModel",
        "type": "object"
      },
      "ConferenceSchedulingResult": {
        "additionalProperties": false,
        "description": "Solution mirror. score is a read-only result, kept as a separate field.",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "talk_types": {
            "items": {
              "type": "string"
            },
            "title": "Talk Types",
            "type": "array"
          },
          "timeslots": {
            "items": {
              "$ref": "#/components/schemas/ConferenceSchedulingOutputTimeslotModel"
            },
            "title": "Timeslots",
            "type": "array"
          },
          "rooms": {
            "items": {
              "$ref": "#/components/schemas/ConferenceSchedulingOutputRoomModel"
            },
            "title": "Rooms",
            "type": "array"
          },
          "speakers": {
            "items": {
              "$ref": "#/components/schemas/ConferenceSchedulingOutputSpeakerModel"
            },
            "title": "Speakers",
            "type": "array"
          },
          "talks": {
            "items": {
              "$ref": "#/components/schemas/ConferenceSchedulingOutputTalkModel"
            },
            "title": "Talks",
            "type": "array"
          },
          "minimum_consecutive_talks_pause_in_minutes": {
            "default": 30,
            "title": "Minimum Consecutive Talks Pause In Minutes",
            "type": "integer"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "name",
          "talk_types",
          "timeslots",
          "rooms"
        ],
        "title": "ConferenceScheduleModel",
        "type": "object"
      },
      "ConferenceSchedulingRoomConflictCostConstraint": {
        "type": "object",
        "title": "Room conflict",
        "description": "The overlapping minutes of every pair of talks that share a room in overlapping timeslots. 0 means no room hosts two talks at once.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "room_conflict_cost",
            "default": "room_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingRoomUnavailabilityCostConstraint": {
        "type": "object",
        "title": "Room unavailability",
        "description": "The timeslot's duration in minutes for each talk placed in a room that is unavailable during that timeslot. 0 means no talk uses an unavailable room.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "room_unavailability_cost",
            "default": "room_unavailability_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSectorConflictCostConstraint": {
        "type": "object",
        "title": "Sector conflict",
        "description": "For every pair of overlapping talks, the sectors they share times the overlapping minutes. 0 means no two talks for the same sector overlap.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "sector_conflict_cost",
            "default": "sector_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerConflictCostConstraint": {
        "type": "object",
        "title": "Speaker conflict",
        "description": "For every pair of overlapping talks, the speakers they share times the overlapping minutes. 0 means no speaker has to be in two rooms at once.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_conflict_cost",
            "default": "speaker_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerMakespanCostConstraint": {
        "type": "object",
        "title": "Speaker makespan",
        "description": "For each speaker whose talks span more than two consecutive days, (last day - first day - 1) times 480 minutes. 0 means every speaker's talks fit within two consecutive days.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_makespan_cost",
            "default": "speaker_makespan_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerPreferredRoomTagsCostConstraint": {
        "type": "object",
        "title": "Speaker preferred room tags",
        "description": "For each speaker of each talk, the number of the speaker's preferred room tags the assigned room lacks, times the timeslot's duration in minutes. 0 means every speaker's preferred room tags are present.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_preferred_room_tags_cost",
            "default": "speaker_preferred_room_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerPreferredTimeslotTagsCostConstraint": {
        "type": "object",
        "title": "Speaker preferred timeslot tags",
        "description": "For each speaker of each talk, the number of the speaker's preferred timeslot tags the assigned timeslot lacks, times the timeslot's duration in minutes. 0 means every speaker's preferred timeslot tags are present.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_preferred_timeslot_tags_cost",
            "default": "speaker_preferred_timeslot_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerProhibitedRoomTagsCostConstraint": {
        "type": "object",
        "title": "Speaker prohibited room tags",
        "description": "For each speaker of each talk, the number of the speaker's prohibited room tags the assigned room carries, times the timeslot's duration in minutes. 0 means no speaker sits in a room with a tag they prohibit.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_prohibited_room_tags_cost",
            "default": "speaker_prohibited_room_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerProhibitedTimeslotTagsCostConstraint": {
        "type": "object",
        "title": "Speaker prohibited timeslot tags",
        "description": "For each speaker of each talk, the number of the speaker's prohibited timeslot tags the assigned timeslot carries, times the timeslot's duration in minutes. 0 means no speaker sits in a timeslot with a tag they prohibit.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_prohibited_timeslot_tags_cost",
            "default": "speaker_prohibited_timeslot_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerRequiredRoomTagsCostConstraint": {
        "type": "object",
        "title": "Speaker required room tags",
        "description": "For each speaker of each talk, the number of the speaker's required room tags the assigned room lacks, times the timeslot's duration in minutes. 0 means every speaker's required room tags are present.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_required_room_tags_cost",
            "default": "speaker_required_room_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerRequiredTimeslotTagsCostConstraint": {
        "type": "object",
        "title": "Speaker required timeslot tags",
        "description": "For each speaker of each talk, the number of the speaker's required timeslot tags the assigned timeslot lacks, times the timeslot's duration in minutes. 0 means every speaker's required timeslot tags are present.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_required_timeslot_tags_cost",
            "default": "speaker_required_timeslot_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerUnavailabilityCostConstraint": {
        "type": "object",
        "title": "Speaker unavailability",
        "description": "The timeslot's duration in minutes for each speaker of a talk who is unavailable in that timeslot (speaker-minutes). 0 means every speaker is available for their talks.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_unavailability_cost",
            "default": "speaker_unavailability_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerUndesiredRoomTagsCostConstraint": {
        "type": "object",
        "title": "Speaker undesired room tags",
        "description": "For each speaker of each talk, the number of the speaker's undesired room tags the assigned room carries, times the timeslot's duration in minutes. 0 means no speaker sits in a room with a tag they would rather avoid.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_undesired_room_tags_cost",
            "default": "speaker_undesired_room_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingSpeakerUndesiredTimeslotTagsCostConstraint": {
        "type": "object",
        "title": "Speaker undesired timeslot tags",
        "description": "For each speaker of each talk, the number of the speaker's undesired timeslot tags the assigned timeslot carries, times the timeslot's duration in minutes. 0 means no speaker sits in a timeslot with a tag they would rather avoid.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "speaker_undesired_timeslot_tags_cost",
            "default": "speaker_undesired_timeslot_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkMutuallyExclusiveTalksTagsCostConstraint": {
        "type": "object",
        "title": "Mutually exclusive talks",
        "description": "For every pair of overlapping talks, the mutually-exclusive tags they share times the overlapping minutes. 0 means no two talks with such a common tag overlap.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_mutually_exclusive_talks_tags_cost",
            "default": "talk_mutually_exclusive_talks_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkPreferredRoomTagsCostConstraint": {
        "type": "object",
        "title": "Talk preferred room tags",
        "description": "For each talk, the number of its preferred room tags the assigned room lacks, times the timeslot's duration in minutes. 0 means every talk's preferred room tags are present.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_preferred_room_tags_cost",
            "default": "talk_preferred_room_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkPreferredTimeslotTagsCostConstraint": {
        "type": "object",
        "title": "Talk preferred timeslot tags",
        "description": "For each talk, the number of its preferred timeslot tags the assigned timeslot lacks, times the timeslot's duration in minutes. 0 means every talk's preferred timeslot tags are present.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_preferred_timeslot_tags_cost",
            "default": "talk_preferred_timeslot_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkPrerequisiteTalksCostConstraint": {
        "type": "object",
        "title": "Prerequisite talks",
        "description": "For each prerequisite that ends after the dependent talk starts, the combined duration of both talks in minutes. 0 means every prerequisite ends by the time the talk that requires it starts.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_prerequisite_talks_cost",
            "default": "talk_prerequisite_talks_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkProhibitedRoomTagsCostConstraint": {
        "type": "object",
        "title": "Talk prohibited room tags",
        "description": "For each talk, the number of its prohibited room tags the assigned room carries, times the timeslot's duration in minutes. 0 means no talk sits in a room with a tag it prohibits.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_prohibited_room_tags_cost",
            "default": "talk_prohibited_room_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkProhibitedTimeslotTagsCostConstraint": {
        "type": "object",
        "title": "Talk prohibited timeslot tags",
        "description": "For each talk, the number of its prohibited timeslot tags the assigned timeslot carries, times the timeslot's duration in minutes. 0 means no talk sits in a timeslot with a tag it prohibits.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_prohibited_timeslot_tags_cost",
            "default": "talk_prohibited_timeslot_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkRequiredRoomTagsCostConstraint": {
        "type": "object",
        "title": "Talk required room tags",
        "description": "For each talk, the number of its required room tags the assigned room lacks, times the timeslot's duration in minutes. 0 means every talk's required room tags are present.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_required_room_tags_cost",
            "default": "talk_required_room_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkRequiredTimeslotTagsCostConstraint": {
        "type": "object",
        "title": "Talk required timeslot tags",
        "description": "For each talk, the number of its required timeslot tags the assigned timeslot lacks, times the timeslot's duration in minutes. 0 means every talk's required timeslot tags are present.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_required_timeslot_tags_cost",
            "default": "talk_required_timeslot_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkTypeIncompatibilityCostConstraint": {
        "type": "object",
        "title": "Talk type incompatibility",
        "description": "For each talk whose timeslot does not accept its talk type, the timeslot's duration in minutes (at least 1), and the same again when its room does not. 0 means every talk sits in a timeslot and a room that accept its type.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_type_incompatibility_cost",
            "default": "talk_type_incompatibility_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkUndesiredRoomTagsCostConstraint": {
        "type": "object",
        "title": "Talk undesired room tags",
        "description": "For each talk, the number of its undesired room tags the assigned room carries, times the timeslot's duration in minutes. 0 means no talk sits in a room with a tag it would rather avoid.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_undesired_room_tags_cost",
            "default": "talk_undesired_room_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingTalkUndesiredTimeslotTagsCostConstraint": {
        "type": "object",
        "title": "Talk undesired timeslot tags",
        "description": "For each talk, the number of its undesired timeslot tags the assigned timeslot carries, times the timeslot's duration in minutes. 0 means no talk sits in a timeslot with a tag it would rather avoid.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "talk_undesired_timeslot_tags_cost",
            "default": "talk_undesired_timeslot_tags_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingThemeTrackConflictCostConstraint": {
        "type": "object",
        "title": "Theme track conflict",
        "description": "For every pair of overlapping talks, the theme tracks they share times the overlapping minutes. 0 means no two talks of one theme track overlap.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "theme_track_conflict_cost",
            "default": "theme_track_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConferenceSchedulingThemeTrackRoomChangeCostConstraint": {
        "type": "object",
        "title": "Theme track room change",
        "description": "For every same-day pair of talks in different rooms, the theme tracks they share times their combined duration in minutes. 0 means each theme track stays in one room per day.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "theme_track_room_change_cost",
            "default": "theme_track_room_change_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ConstraintSlot": {
        "type": "string",
        "enum": [
          "keyword",
          "rules"
        ],
        "title": "ConstraintSlot",
        "description": "Where a call takes its constraint selection."
      },
      "EmployeeSchedulingInputAssignmentCostModel": {
        "additionalProperties": false,
        "description": "Money: per (employee, shift) the `shift_costs[employee_name][shift_id]` entry if\npresent, else `cost_per_hour` * hours, else `cost_per_shift`. Default: soft,\nweight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "assignment_cost",
            "default": "assignment_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "cost_per_hour": {
            "default": 0.0,
            "title": "Cost Per Hour",
            "type": "number"
          },
          "cost_per_shift": {
            "default": 0.0,
            "title": "Cost Per Shift",
            "type": "number"
          },
          "shift_costs": {
            "additionalProperties": {
              "additionalProperties": {
                "type": "number"
              },
              "type": "object"
            },
            "title": "Shift Costs",
            "type": "object"
          }
        },
        "title": "AssignmentCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputDayPatternCostModel": {
        "additionalProperties": false,
        "description": "1 per window matching an ordered day `pattern`: comma-separated tokens, each a\nlocation, \"OFF\" (off day), \"*\" (any day), \"WORK\" (any worked day) or \"!x\" (a\nworked day not at location x). Example: \"Location A,OFF,Location B\". Default:\nsoft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "day_pattern_cost",
            "default": "day_pattern_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "pattern": {
            "default": "",
            "title": "Pattern",
            "type": "string"
          }
        },
        "title": "DayPatternCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputDesiredDayCostModel": {
        "additionalProperties": false,
        "description": "Reward: minus the minutes on the employee's desired days, or minus 1 per such\nshift with `per_day` (raw <= 0; never hard). Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "desired_day_cost",
            "default": "desired_day_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "per_day": {
            "default": false,
            "title": "Per Day",
            "type": "boolean"
          }
        },
        "title": "DesiredDayCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputDesiredShiftCostModel": {
        "additionalProperties": false,
        "description": "Reward: minus 1 per assigned shift whose (day, location) the employee asked for\nin ``desired_shifts`` — the location must match, not just the day (raw <= 0;\nnever hard). Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "desired_shift_cost",
            "default": "desired_shift_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          }
        },
        "title": "DesiredShiftCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputEmployeeUnavailabilityCostModel": {
        "additionalProperties": false,
        "description": "Minutes of assigned shifts on the employee's unavailable days. Default: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "employee_unavailability_cost",
            "default": "employee_unavailability_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          }
        },
        "title": "EmployeeUnavailabilityCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputLocationImbalanceCostModel": {
        "additionalProperties": false,
        "description": "Fairness of a per-employee count across employees holding `worker_skill` (empty =\nall): `location` shifts (empty = all work), or the days off among\n`off_target_days` when given. `metric` \"ssd\" (sqrt of squared deviations) or\n\"gap\" (max - min beyond `tolerance`; global). Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "location_imbalance_cost",
            "default": "location_imbalance_cost",
            "title": "Name",
            "type": "string"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "worker_skill": {
            "default": "",
            "title": "Worker Skill",
            "type": "string"
          },
          "metric": {
            "default": "ssd",
            "enum": [
              "ssd",
              "gap"
            ],
            "title": "Metric",
            "type": "string"
          },
          "tolerance": {
            "default": 0,
            "minimum": 0,
            "title": "Tolerance",
            "type": "integer"
          },
          "off_target_days": {
            "default": [],
            "items": {
              "type": "integer"
            },
            "title": "Off Target Days",
            "type": "array"
          }
        },
        "title": "LocationImbalanceCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputLocationRunGapCostModel": {
        "additionalProperties": false,
        "description": "Consecutive runs of `location` at least `min_gap` days apart; the shortfall per\ntoo-close pair. Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "location_run_gap_cost",
            "default": "location_run_gap_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "min_gap": {
            "default": 0,
            "minimum": 0,
            "title": "Min Gap",
            "type": "integer"
          }
        },
        "title": "LocationRunGapCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputLocationRunLengthCostModel": {
        "additionalProperties": false,
        "description": "Each maximal run of days at `location` (empty = any work) within [`min_run`,\n`max_run`] (max_run < 0 = no cap); shorter/longer runs cost the shortfall/excess.\nDefault: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "location_run_length_cost",
            "default": "location_run_length_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "min_run": {
            "default": 0,
            "minimum": 0,
            "title": "Min Run",
            "type": "integer"
          },
          "max_run": {
            "default": -1,
            "minimum": -1,
            "title": "Max Run",
            "type": "integer"
          },
          "waive_min_at_end": {
            "default": true,
            "title": "Waive Min At End",
            "type": "boolean"
          }
        },
        "title": "LocationRunLengthCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputMaxConsecutiveDaysCostModel": {
        "additionalProperties": false,
        "description": "Days beyond `value` in any run of consecutive worked days (value=6: \"at most 6\ndays in a row\"). Default: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "max_consecutive_days_cost",
            "default": "max_consecutive_days_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "value": {
            "default": 6,
            "minimum": 1,
            "title": "Value",
            "type": "integer"
          }
        },
        "title": "MaxConsecutiveDaysCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputMaxConsecutiveDaysOffCostModel": {
        "additionalProperties": false,
        "description": "Interior runs of more than `value` consecutive days off (bounded by work on both\nsides; off days at the horizon edge are not counted). Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "max_consecutive_days_off_cost",
            "default": "max_consecutive_days_off_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "value": {
            "default": 3,
            "minimum": 1,
            "title": "Value",
            "type": "integer"
          }
        },
        "title": "MaxConsecutiveDaysOffCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputMaxOneShiftPerDayCostModel": {
        "additionalProperties": false,
        "description": "1 per PAIR of same-employee shifts starting on the same day. Default: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "max_one_shift_per_day_cost",
            "default": "max_one_shift_per_day_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          }
        },
        "title": "MaxOneShiftPerDayCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputMaxWeeklyMinutesCostModel": {
        "additionalProperties": false,
        "description": "Assigned minutes beyond `minutes` in any calendar week (7-day blocks from\n`week_anchor`; a shift counts fully in its start week). 2400 = a 40-hour week.\nDefault: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "max_weekly_minutes_cost",
            "default": "max_weekly_minutes_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "minutes": {
            "default": 2400,
            "minimum": 0,
            "title": "Minutes",
            "type": "integer"
          },
          "week_anchor": {
            "default": 0,
            "title": "Week Anchor",
            "type": "integer"
          }
        },
        "title": "MaxWeeklyMinutesCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputMinConsecutiveDaysCostModel": {
        "additionalProperties": false,
        "description": "Shortfall below `value` of any run of consecutive worked days (\"if you work,\nwork at least `value` days in a row\"). Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "min_consecutive_days_cost",
            "default": "min_consecutive_days_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "value": {
            "default": 2,
            "minimum": 1,
            "title": "Value",
            "type": "integer"
          }
        },
        "title": "MinConsecutiveDaysCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputMinRestCostModel": {
        "additionalProperties": false,
        "description": "Rest shortfall below `min_gap_minutes` (default 600 = 10 hours) between two\nsame-employee shifts. Default: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "min_rest_cost",
            "default": "min_rest_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "min_gap_minutes": {
            "default": 600,
            "minimum": 0,
            "title": "Min Gap Minutes",
            "type": "integer"
          }
        },
        "title": "MinRestCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputMinWeeklyMinutesCostModel": {
        "additionalProperties": false,
        "description": "Shortfall below `minutes` in EVERY calendar week of the horizon (7-day blocks\nfrom `week_anchor`; an idle week costs the full threshold). Default: soft,\nweight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "min_weekly_minutes_cost",
            "default": "min_weekly_minutes_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "minutes": {
            "default": 480,
            "minimum": 0,
            "title": "Minutes",
            "type": "integer"
          },
          "week_anchor": {
            "default": 0,
            "title": "Week Anchor",
            "type": "integer"
          }
        },
        "title": "MinWeeklyMinutesCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputMinWeeklyRestDaysCostModel": {
        "additionalProperties": false,
        "description": "Worked days beyond ``7 - value`` in any calendar week (7-day blocks from day 0) —\n\"at least `value` rest days per week\". Default: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "min_weekly_rest_days_cost",
            "default": "min_weekly_rest_days_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "value": {
            "default": 1,
            "maximum": 7,
            "minimum": 0,
            "title": "Value",
            "type": "integer"
          }
        },
        "title": "MinWeeklyRestDaysCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputRequiredSkillCostModel": {
        "additionalProperties": false,
        "description": "1 per assigned shift whose required skill the employee lacks. Default: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "required_skill_cost",
            "default": "required_skill_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          }
        },
        "title": "RequiredSkillCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputRestAfterConsecutiveWorkCostModel": {
        "additionalProperties": false,
        "description": "After >= `work_days` consecutive worked days, the shortfall of the following rest\nbelow `rest_days` (a run at the end of the horizon is not counted). Default: hard,\nweight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "rest_after_consecutive_work_cost",
            "default": "rest_after_consecutive_work_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "work_days": {
            "default": 6,
            "minimum": 1,
            "title": "Work Days",
            "type": "integer"
          },
          "rest_days": {
            "default": 3,
            "minimum": 1,
            "title": "Rest Days",
            "type": "integer"
          }
        },
        "title": "RestAfterConsecutiveWorkCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputRestAfterLocationRunCostModel": {
        "additionalProperties": false,
        "description": "After any run of `location` days, the worked days among the next `rest_days`\ndays (which must be fully off). Default: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "rest_after_location_run_cost",
            "default": "rest_after_location_run_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "rest_days": {
            "default": 1,
            "minimum": 1,
            "title": "Rest Days",
            "type": "integer"
          }
        },
        "title": "RestAfterLocationRunCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputSchedulingInput": {
        "additionalProperties": false,
        "properties": {
          "workers": {
            "items": {
              "$ref": "#/components/schemas/EmployeeSchedulingInputWorkerModel"
            },
            "title": "Workers",
            "type": "array"
          },
          "shifts": {
            "items": {
              "$ref": "#/components/schemas/EmployeeSchedulingInputShiftModel"
            },
            "title": "Shifts",
            "type": "array"
          },
          "constraints": {
            "description": "The constraints to score. Alias: rules.",
            "items": {
              "discriminator": {
                "mapping": {
                  "assignment_cost": "#/$defs/AssignmentCostModel",
                  "day_pattern_cost": "#/$defs/DayPatternCostModel",
                  "desired_day_cost": "#/$defs/DesiredDayCostModel",
                  "desired_shift_cost": "#/$defs/DesiredShiftCostModel",
                  "employee_unavailability_cost": "#/$defs/EmployeeUnavailabilityCostModel",
                  "location_imbalance_cost": "#/$defs/LocationImbalanceCostModel",
                  "location_run_gap_cost": "#/$defs/LocationRunGapCostModel",
                  "location_run_length_cost": "#/$defs/LocationRunLengthCostModel",
                  "max_consecutive_days_cost": "#/$defs/MaxConsecutiveDaysCostModel",
                  "max_consecutive_days_off_cost": "#/$defs/MaxConsecutiveDaysOffCostModel",
                  "max_one_shift_per_day_cost": "#/$defs/MaxOneShiftPerDayCostModel",
                  "max_weekly_minutes_cost": "#/$defs/MaxWeeklyMinutesCostModel",
                  "min_consecutive_days_cost": "#/$defs/MinConsecutiveDaysCostModel",
                  "min_rest_cost": "#/$defs/MinRestCostModel",
                  "min_weekly_minutes_cost": "#/$defs/MinWeeklyMinutesCostModel",
                  "min_weekly_rest_days_cost": "#/$defs/MinWeeklyRestDaysCostModel",
                  "required_skill_cost": "#/$defs/RequiredSkillCostModel",
                  "rest_after_consecutive_work_cost": "#/$defs/RestAfterConsecutiveWorkCostModel",
                  "rest_after_location_run_cost": "#/$defs/RestAfterLocationRunCostModel",
                  "shift_count_gap_cost": "#/$defs/ShiftCountGapCostModel",
                  "shift_count_imbalance_cost": "#/$defs/ShiftCountImbalanceCostModel",
                  "shift_coverage_cost": "#/$defs/ShiftCoverageCostModel",
                  "shift_overlap_cost": "#/$defs/ShiftOverlapCostModel",
                  "target_days_off_cost": "#/$defs/TargetDaysOffCostModel",
                  "unassigned_shifts_cost": "#/$defs/UnassignedShiftsCostModel",
                  "undesired_day_cost": "#/$defs/UndesiredDayCostModel",
                  "weekly_minutes_gap_cost": "#/$defs/WeeklyMinutesGapCostModel",
                  "worker_day_count_in_range_cost": "#/$defs/WorkerDayCountInRangeCostModel",
                  "worker_location_count_cost": "#/$defs/WorkerLocationCountCostModel",
                  "worker_pairing_cost": "#/$defs/WorkerPairingCostModel"
                },
                "propertyName": "name"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputRequiredSkillCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputEmployeeUnavailabilityCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputShiftOverlapCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputMaxOneShiftPerDayCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputMinRestCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputUndesiredDayCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputDesiredDayCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputDesiredShiftCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputShiftCountImbalanceCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputMaxConsecutiveDaysCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputMinConsecutiveDaysCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputMaxConsecutiveDaysOffCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputRestAfterConsecutiveWorkCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputMaxWeeklyMinutesCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputMinWeeklyMinutesCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputMinWeeklyRestDaysCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputAssignmentCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputUnassignedShiftsCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputShiftCountGapCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputWeeklyMinutesGapCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputShiftCoverageCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputLocationRunLengthCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputRestAfterLocationRunCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputLocationRunGapCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputWorkerLocationCountCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputDayPatternCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputTargetDaysOffCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputWorkerDayCountInRangeCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputLocationImbalanceCostModel"
                },
                {
                  "$ref": "#/components/schemas/EmployeeSchedulingInputWorkerPairingCostModel"
                }
              ]
            },
            "title": "Constraints",
            "type": "array"
          }
        },
        "required": [
          "workers",
          "shifts"
        ],
        "title": "SchedulingInput",
        "type": "object"
      },
      "EmployeeSchedulingInputShiftCountGapCostModel": {
        "additionalProperties": false,
        "description": "Busiest-vs-least-busy shift-count gap beyond `tolerance` (global). Default: soft,\nweight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "shift_count_gap_cost",
            "default": "shift_count_gap_cost",
            "title": "Name",
            "type": "string"
          },
          "tolerance": {
            "default": 0,
            "minimum": 0,
            "title": "Tolerance",
            "type": "integer"
          }
        },
        "title": "ShiftCountGapCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputShiftCountImbalanceCostModel": {
        "additionalProperties": false,
        "description": "Load-balancing unfairness of the per-employee shift counts, sqrt(sum of squared\ndeviations) (global). Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "shift_count_imbalance_cost",
            "default": "shift_count_imbalance_cost",
            "title": "Name",
            "type": "string"
          }
        },
        "title": "ShiftCountImbalanceCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputShiftCoverageCostModel": {
        "additionalProperties": false,
        "description": "Per (day, location) group, the count of assignees holding `worker_skill` (empty =\nanyone) outside [`min_count`, `max_count`] (max_count < 0 = no cap; global).\nDefault: soft, weight 1.\n\nScoped natively: ``shift_indices`` restrict which shifts form groups and\n``worker_indices`` which employees count; here ``None`` OR an empty tuple\nmeans everyone / every shift.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "shift_coverage_cost",
            "default": "shift_coverage_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_skill": {
            "default": "",
            "title": "Worker Skill",
            "type": "string"
          },
          "min_count": {
            "default": 0,
            "minimum": 0,
            "title": "Min Count",
            "type": "integer"
          },
          "max_count": {
            "default": -1,
            "minimum": -1,
            "title": "Max Count",
            "type": "integer"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          }
        },
        "title": "ShiftCoverageCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputShiftModel": {
        "additionalProperties": false,
        "description": "One shift to be covered by exactly one worker.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "start": {
            "description": "minutes from day 0 00:00; day 0 is the first day, history included",
            "minimum": 0,
            "title": "Start",
            "type": "integer"
          },
          "end": {
            "description": "minutes from day 0 00:00, after `start`",
            "title": "End",
            "type": "integer"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "required_skill": {
            "default": "",
            "title": "Required Skill",
            "type": "string"
          },
          "worker": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Pre-assigned worker id. The solve starts from it instead of constructing this shift; the search may still move it. A starting point, not a pin.",
            "title": "Worker"
          },
          "pinned": {
            "default": false,
            "description": "Fix the assignment to `worker` (never moved; the per-shift constraints skip it, the constraints between shifts count it) — for history carried in from the previous planning period and for settled assignments; requires `worker`",
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "start",
          "end"
        ],
        "title": "ShiftModel",
        "type": "object"
      },
      "EmployeeSchedulingInputShiftOverlapCostModel": {
        "additionalProperties": false,
        "description": "Overlap minutes between two shifts of the same employee. Default: hard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "shift_overlap_cost",
            "default": "shift_overlap_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          }
        },
        "title": "ShiftOverlapCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputTargetDaysOffCostModel": {
        "additionalProperties": false,
        "description": "Per employee, the shortfall below `min_count` days off among `target_days` (day\nindices, e.g. weekends / holidays). Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "target_days_off_cost",
            "default": "target_days_off_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "target_days": {
            "default": [],
            "items": {
              "type": "integer"
            },
            "title": "Target Days",
            "type": "array"
          },
          "min_count": {
            "default": 0,
            "minimum": 0,
            "title": "Min Count",
            "type": "integer"
          }
        },
        "title": "TargetDaysOffCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputUnassignedShiftsCostModel": {
        "additionalProperties": false,
        "description": "1 per shift with no employee assigned (coverage guarantee; global). Default:\nhard, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "unassigned_shifts_cost",
            "default": "unassigned_shifts_cost",
            "title": "Name",
            "type": "string"
          }
        },
        "title": "UnassignedShiftsCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputUndesiredDayCostModel": {
        "additionalProperties": false,
        "description": "Minutes on the employee's undesired days, or 1 per such shift with `per_day`.\nDefault: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "undesired_day_cost",
            "default": "undesired_day_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "per_day": {
            "default": false,
            "title": "Per Day",
            "type": "boolean"
          }
        },
        "title": "UndesiredDayCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputWeeklyMinutesGapCostModel": {
        "additionalProperties": false,
        "description": "Per calendar week, the busiest-vs-least-busy gap of assigned minutes beyond\n`tolerance_minutes`, in HOURS (global; all employees compared). Default: soft,\nweight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "weekly_minutes_gap_cost",
            "default": "weekly_minutes_gap_cost",
            "title": "Name",
            "type": "string"
          },
          "tolerance_minutes": {
            "default": 120,
            "minimum": 0,
            "title": "Tolerance Minutes",
            "type": "integer"
          }
        },
        "title": "WeeklyMinutesGapCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputWorkerDayCountInRangeCostModel": {
        "additionalProperties": false,
        "description": "Distinct worked days (at `location`; empty = any) in the day range [`lo`, `hi`]\noutside [`min_count`, `max_count`] (max_count < 0 = no cap). Usually scoped to\none worker via ``worker_indices``: \"off >= K over a window\" == \"worked <=\nwindow length - K\". Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "worker_day_count_in_range_cost",
            "default": "worker_day_count_in_range_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "lo": {
            "default": 0,
            "maximum": 36525,
            "minimum": 0,
            "title": "Lo",
            "type": "integer"
          },
          "hi": {
            "default": -1,
            "maximum": 36525,
            "minimum": -1,
            "title": "Hi",
            "type": "integer"
          },
          "min_count": {
            "default": 0,
            "minimum": 0,
            "title": "Min Count",
            "type": "integer"
          },
          "max_count": {
            "default": -1,
            "minimum": -1,
            "title": "Max Count",
            "type": "integer"
          }
        },
        "title": "WorkerDayCountInRangeCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputWorkerLocationCountCostModel": {
        "additionalProperties": false,
        "description": "Per employee holding `worker_skill` (empty = all), the count of `location`\nshifts over the horizon outside [`min_count`, `max_count`] (max_count < 0 = no\ncap). Default: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "worker_location_count_cost",
            "default": "worker_location_count_cost",
            "title": "Name",
            "type": "string"
          },
          "worker_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Worker Indices"
          },
          "shift_indices": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Shift Indices"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "worker_skill": {
            "default": "",
            "title": "Worker Skill",
            "type": "string"
          },
          "min_count": {
            "default": 0,
            "minimum": 0,
            "title": "Min Count",
            "type": "integer"
          },
          "max_count": {
            "default": -1,
            "minimum": -1,
            "title": "Max Count",
            "type": "integer"
          }
        },
        "title": "WorkerLocationCountCostModel",
        "type": "object"
      },
      "EmployeeSchedulingInputWorkerModel": {
        "additionalProperties": false,
        "description": "One person who can be assigned to shifts.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "skills": {
            "items": {
              "type": "string"
            },
            "title": "Skills",
            "type": "array"
          },
          "unavailable_dates": {
            "description": "day indices",
            "items": {
              "type": "integer"
            },
            "title": "Unavailable Dates",
            "type": "array"
          },
          "undesired_dates": {
            "description": "day indices",
            "items": {
              "type": "integer"
            },
            "title": "Undesired Dates",
            "type": "array"
          },
          "desired_dates": {
            "description": "day indices",
            "items": {
              "type": "integer"
            },
            "title": "Desired Dates",
            "type": "array"
          },
          "desired_shifts": {
            "description": "(day, location) location-specific work preferences (see the desired_shift_cost constraint)",
            "items": {
              "maxItems": 2,
              "minItems": 2,
              "prefixItems": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ],
              "type": "array"
            },
            "title": "Desired Shifts",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "WorkerModel",
        "type": "object"
      },
      "EmployeeSchedulingInputWorkerPairingCostModel": {
        "additionalProperties": false,
        "description": "A directional worker pairing over the (``bucket_days``, ``bucket_locations``)\nbuckets both workers are eligible for. ``penalty=False``: they should share the\nsame shift, so a bucket where exactly one works it costs 1; ``penalty=True``:\nthey should not, so a bucket where both work it costs 1. Raw >= 0 in both modes\n(not a reward). ``anchor`` / ``paired`` are engine worker indices (global).\nDefault: soft, weight 1.",
        "properties": {
          "weight": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the constraint's default weight",
            "title": "Weight"
          },
          "level": {
            "anyOf": [
              {
                "enum": [
                  "hard",
                  "soft"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "None = the default level; \"hard\" or \"soft\" (rewards refuse \"hard\")",
            "title": "Level"
          },
          "exponent": {
            "default": 1.0,
            "description": "sign-preserving power shaping of the cost",
            "exclusiveMinimum": 0,
            "title": "Exponent",
            "type": "number"
          },
          "offset": {
            "default": 0.0,
            "description": "shift of the shaping, per employee (a global constraint: its total); 0 = none. clip=true counts only what lies beyond it, clip=false shapes cost - offset as it is",
            "title": "Offset",
            "type": "number"
          },
          "clip": {
            "default": true,
            "description": "true = the threshold sign(c) * max(0, |c| - offset) ** exponent; false = the literal (c - offset) ** exponent, which charges every evaluated employee and rewards below the offset (refused on hard with a non-zero offset, because hard 0 must mean no violation)",
            "title": "Clip",
            "type": "boolean"
          },
          "name": {
            "const": "worker_pairing_cost",
            "default": "worker_pairing_cost",
            "title": "Name",
            "type": "string"
          },
          "anchor": {
            "default": -1,
            "title": "Anchor",
            "type": "integer"
          },
          "paired": {
            "default": -1,
            "title": "Paired",
            "type": "integer"
          },
          "bucket_days": {
            "default": [],
            "items": {
              "type": "integer"
            },
            "title": "Bucket Days",
            "type": "array"
          },
          "bucket_locations": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Bucket Locations",
            "type": "array"
          },
          "penalty": {
            "default": false,
            "title": "Penalty",
            "type": "boolean"
          }
        },
        "title": "WorkerPairingCostModel",
        "type": "object"
      },
      "EmployeeSchedulingJobProblem": {
        "additionalProperties": false,
        "description": "The employee scheduling problem with the settings of this run (`time_limit_seconds`, `random_seed`, `parallel_solver_count`).",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "time_limit_seconds": {
            "default": 30.0,
            "description": "Seconds the search may run. Alias: timelimit.",
            "minimum": 0,
            "title": "Time Limit Seconds",
            "type": "number"
          },
          "random_seed": {
            "default": 0,
            "description": "Seed of the first start; start i uses random_seed + i.",
            "title": "Random Seed",
            "type": "integer"
          },
          "parallel_solver_count": {
            "default": 1,
            "description": "Independent starts; the best is returned. Alias: num_workers.",
            "minimum": 1,
            "title": "Parallel Solver Count",
            "type": "integer"
          },
          "stop_at_first_feasible": {
            "default": false,
            "description": "Stop as soon as the hard score is 0.",
            "title": "Stop At First Feasible",
            "type": "boolean"
          },
          "full_assert": {
            "default": false,
            "description": "Check every incremental score against a full recompute (slow; for debugging).",
            "title": "Full Assert",
            "type": "boolean"
          },
          "model_input": {
            "$ref": "#/components/schemas/EmployeeSchedulingInputSchedulingInput"
          }
        },
        "required": [
          "model_input"
        ],
        "title": "ScheduleRequest",
        "type": "object"
      },
      "EmployeeSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a employee scheduling problem. `request` is the problem, as the engine model's JSON.",
        "properties": {
          "request": {
            "$ref": "#/components/schemas/EmployeeSchedulingJobProblem",
            "description": "First argument of `solve_request`, as the engine model's JSON."
          }
        },
        "required": [
          "request"
        ],
        "title": "EmployeeSchedulingJobRequest",
        "type": "object"
      },
      "EmployeeSchedulingOutputConstraintTotal": {
        "description": "Weighted cost of one constraint instance in the final schedule (positive =\npenalizing, negative = rewarding) — the score explanation. ``name`` is the\nconstraint name (``\"shift_coverage_cost\"``); ``label`` tells the instances\nof a parametrized constraint apart (``\"Shift coverage[Skill A 1..inf]\"``; empty\nfor a constraint without one).",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "label": {
            "default": "",
            "title": "Label",
            "type": "string"
          },
          "cost": {
            "title": "Cost",
            "type": "number"
          },
          "level": {
            "default": "soft",
            "enum": [
              "hard",
              "medium",
              "soft"
            ],
            "title": "Level",
            "type": "string"
          },
          "is_hard": {
            "title": "Is Hard",
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "cost",
          "is_hard"
        ],
        "title": "ConstraintTotal",
        "type": "object"
      },
      "EmployeeSchedulingOutputShiftAssignmentModel": {
        "properties": {
          "shift_id": {
            "title": "Shift Id",
            "type": "string"
          },
          "start": {
            "title": "Start",
            "type": "integer"
          },
          "end": {
            "title": "End",
            "type": "integer"
          },
          "location": {
            "default": "",
            "title": "Location",
            "type": "string"
          },
          "required_skill": {
            "default": "",
            "title": "Required Skill",
            "type": "string"
          }
        },
        "required": [
          "shift_id",
          "start",
          "end"
        ],
        "title": "ShiftAssignmentModel",
        "type": "object"
      },
      "EmployeeSchedulingResult": {
        "properties": {
          "schedule": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/EmployeeSchedulingOutputShiftAssignmentModel"
              },
              "type": "array"
            },
            "title": "Schedule",
            "type": "object"
          },
          "unassigned": {
            "items": {
              "type": "string"
            },
            "title": "Unassigned",
            "type": "array"
          },
          "score_hard": {
            "title": "Score Hard",
            "type": "integer"
          },
          "score_soft": {
            "title": "Score Soft",
            "type": "number"
          },
          "feasible": {
            "title": "Feasible",
            "type": "boolean"
          },
          "constraint_totals": {
            "description": "Weighted cost of each constraint instance. Alias: rule_totals.",
            "items": {
              "$ref": "#/components/schemas/EmployeeSchedulingOutputConstraintTotal"
            },
            "title": "Constraint Totals",
            "type": "array"
          }
        },
        "required": [
          "schedule",
          "score_hard",
          "score_soft",
          "feasible"
        ],
        "title": "ScheduleSolution",
        "type": "object"
      },
      "FacilityLocationDistanceFromFacilityCostConstraint": {
        "type": "object",
        "title": "Distance from facility",
        "description": "The distance in meters from each assigned consumer to its facility, summed. 0 means every assigned consumer stands at its facility.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "distance_from_facility_cost",
            "default": "distance_from_facility_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FacilityLocationFacilityCapacityCostConstraint": {
        "type": "object",
        "title": "Facility capacity",
        "description": "Demand assigned to a facility beyond its capacity, summed over the facilities in use. One unit of cost is one unit of demand over capacity; 0 means every facility is within its capacity.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "facility_capacity_cost",
            "default": "facility_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FacilityLocationFacilitySetupCostConstraint": {
        "type": "object",
        "title": "Facility setup cost",
        "description": "The setup cost of every facility that serves at least one consumer, paid once per facility. 0 means no facility is open.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "facility_setup_cost",
            "default": "facility_setup_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FacilityLocationInputConsumerModel": {
        "additionalProperties": false,
        "description": "Facility is a facility index (-1 = unassigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "location": {
            "$ref": "#/components/schemas/FacilityLocationInputLocationModel"
          },
          "demand": {
            "minimum": 0,
            "title": "Demand",
            "type": "integer"
          },
          "facility": {
            "default": -1,
            "title": "Facility",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "location",
          "demand"
        ],
        "title": "ConsumerModel",
        "type": "object"
      },
      "FacilityLocationInputFacilityModel": {
        "additionalProperties": false,
        "description": "Candidate facility: a problem fact with a setup cost and a capacity.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "location": {
            "$ref": "#/components/schemas/FacilityLocationInputLocationModel"
          },
          "setup_cost": {
            "minimum": 0,
            "title": "Setup Cost",
            "type": "integer"
          },
          "capacity": {
            "minimum": 0,
            "title": "Capacity",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "location",
          "setup_cost",
          "capacity"
        ],
        "title": "FacilityModel",
        "type": "object"
      },
      "FacilityLocationInputLocationModel": {
        "additionalProperties": false,
        "description": "Latitude/longitude (degrees). Distance uses the 1 degree = 111 km Euclidean approximation.",
        "properties": {
          "latitude": {
            "title": "Latitude",
            "type": "number"
          },
          "longitude": {
            "title": "Longitude",
            "type": "number"
          }
        },
        "required": [
          "latitude",
          "longitude"
        ],
        "title": "LocationModel",
        "type": "object"
      },
      "FacilityLocationJobRequest": {
        "additionalProperties": false,
        "description": "Solve a facility location problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/FacilityLocationProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/FacilityLocationFacilityCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FacilityLocationFacilitySetupCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FacilityLocationDistanceFromFacilityCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "FacilityLocationJobRequest",
        "type": "object"
      },
      "FacilityLocationOutputConsumerModel": {
        "additionalProperties": false,
        "description": "Facility is a facility index (-1 = unassigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "location": {
            "$ref": "#/components/schemas/FacilityLocationOutputLocationModel"
          },
          "demand": {
            "minimum": 0,
            "title": "Demand",
            "type": "integer"
          },
          "facility": {
            "default": -1,
            "title": "Facility",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "location",
          "demand"
        ],
        "title": "ConsumerModel",
        "type": "object"
      },
      "FacilityLocationOutputFacilityModel": {
        "additionalProperties": false,
        "description": "Candidate facility: a problem fact with a setup cost and a capacity.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "location": {
            "$ref": "#/components/schemas/FacilityLocationOutputLocationModel"
          },
          "setup_cost": {
            "minimum": 0,
            "title": "Setup Cost",
            "type": "integer"
          },
          "capacity": {
            "minimum": 0,
            "title": "Capacity",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "location",
          "setup_cost",
          "capacity"
        ],
        "title": "FacilityModel",
        "type": "object"
      },
      "FacilityLocationOutputLocationModel": {
        "additionalProperties": false,
        "description": "Latitude/longitude (degrees). Distance uses the 1 degree = 111 km Euclidean approximation.",
        "properties": {
          "latitude": {
            "title": "Latitude",
            "type": "number"
          },
          "longitude": {
            "title": "Longitude",
            "type": "number"
          }
        },
        "required": [
          "latitude",
          "longitude"
        ],
        "title": "LocationModel",
        "type": "object"
      },
      "FacilityLocationProblem": {
        "additionalProperties": false,
        "description": "Solution mirror. score is a read-only result, kept as a separate field.\n\nThe canonical problem carries no constraint weights: weights\ncome only from constraint selections, and the defaults (setup 2, distance 6)\nare the C++ components' (``facility_location.constraint_info()``).",
        "properties": {
          "facilities": {
            "items": {
              "$ref": "#/components/schemas/FacilityLocationInputFacilityModel"
            },
            "title": "Facilities",
            "type": "array"
          },
          "consumers": {
            "items": {
              "$ref": "#/components/schemas/FacilityLocationInputConsumerModel"
            },
            "title": "Consumers",
            "type": "array"
          },
          "south_west_corner": {
            "$ref": "#/components/schemas/FacilityLocationInputLocationModel"
          },
          "north_east_corner": {
            "$ref": "#/components/schemas/FacilityLocationInputLocationModel"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "facilities",
          "consumers"
        ],
        "title": "FacilityLocationProblemModel",
        "type": "object"
      },
      "FacilityLocationResult": {
        "additionalProperties": false,
        "description": "Solution mirror. score is a read-only result, kept as a separate field.\n\nThe canonical problem carries no constraint weights: weights\ncome only from constraint selections, and the defaults (setup 2, distance 6)\nare the C++ components' (``facility_location.constraint_info()``).",
        "properties": {
          "facilities": {
            "items": {
              "$ref": "#/components/schemas/FacilityLocationOutputFacilityModel"
            },
            "title": "Facilities",
            "type": "array"
          },
          "consumers": {
            "items": {
              "$ref": "#/components/schemas/FacilityLocationOutputConsumerModel"
            },
            "title": "Consumers",
            "type": "array"
          },
          "south_west_corner": {
            "$ref": "#/components/schemas/FacilityLocationOutputLocationModel"
          },
          "north_east_corner": {
            "$ref": "#/components/schemas/FacilityLocationOutputLocationModel"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "facilities",
          "consumers"
        ],
        "title": "FacilityLocationProblemModel",
        "type": "object"
      },
      "FlightCrewSchedulingEmployeeUnavailabilityCostConstraint": {
        "type": "object",
        "title": "Crew unavailability",
        "description": "Assignments whose flight touches a day the crew member is unavailable, from the departure date through the arrival date. One unit of cost is one such assignment; 0 means nobody flies on a day they are unavailable.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "employee_unavailability_cost",
            "default": "employee_unavailability_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FlightCrewSchedulingFirstAssignmentNotDepartingFromHomeCostConstraint": {
        "type": "object",
        "title": "First flight not from home",
        "description": "Crew members whose earliest flight departs from an airport other than their home airport, so they must travel there first; flights tied on the earliest departure all count. One unit of cost is one such flight; 0 means every roster starts at home.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "first_assignment_not_departing_from_home_cost",
            "default": "first_assignment_not_departing_from_home_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FlightCrewSchedulingFlightConflictCostConstraint": {
        "type": "object",
        "title": "Flight conflict",
        "description": "Pairs of one crew member's flights whose times overlap (a flight landing exactly when the next departs does not overlap). One unit of cost is one overlapping pair; 0 means nobody is booked on two flights at once.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "flight_conflict_cost",
            "default": "flight_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FlightCrewSchedulingInputAirportModel": {
        "additionalProperties": false,
        "description": "An airport. code (IATA) is the identifier.",
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "latitude": {
            "default": 0.0,
            "title": "Latitude",
            "type": "number"
          },
          "longitude": {
            "default": 0.0,
            "title": "Longitude",
            "type": "number"
          }
        },
        "required": [
          "code"
        ],
        "title": "AirportModel",
        "type": "object"
      },
      "FlightCrewSchedulingInputEmployeeModel": {
        "additionalProperties": false,
        "description": "A crew member (value range). home_airport references an airport code.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "home_airport": {
            "title": "Home Airport",
            "type": "string"
          },
          "skills": {
            "items": {
              "type": "string"
            },
            "title": "Skills",
            "type": "array"
          },
          "unavailable_days": {
            "items": {
              "format": "date",
              "type": "string"
            },
            "title": "Unavailable Days",
            "type": "array"
          }
        },
        "required": [
          "id",
          "home_airport"
        ],
        "title": "EmployeeModel",
        "type": "object"
      },
      "FlightCrewSchedulingInputFlightAssignmentModel": {
        "additionalProperties": false,
        "description": "One crew seat of a flight. employee is the decision\nvariable (None == unassigned; references a crew member id).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "flight": {
            "title": "Flight",
            "type": "string"
          },
          "index_in_flight": {
            "default": 0,
            "title": "Index In Flight",
            "type": "integer"
          },
          "required_skill": {
            "default": "",
            "title": "Required Skill",
            "type": "string"
          },
          "employee": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Employee"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "flight"
        ],
        "title": "FlightAssignmentModel",
        "type": "object"
      },
      "FlightCrewSchedulingInputFlightModel": {
        "additionalProperties": false,
        "description": "A flight. Times are UTC (a naive datetime is read as UTC).",
        "properties": {
          "flight_number": {
            "title": "Flight Number",
            "type": "string"
          },
          "departure_airport": {
            "title": "Departure Airport",
            "type": "string"
          },
          "departure_utc_date_time": {
            "format": "date-time",
            "title": "Departure Utc Date Time",
            "type": "string"
          },
          "arrival_airport": {
            "title": "Arrival Airport",
            "type": "string"
          },
          "arrival_utc_date_time": {
            "format": "date-time",
            "title": "Arrival Utc Date Time",
            "type": "string"
          }
        },
        "required": [
          "flight_number",
          "departure_airport",
          "departure_utc_date_time",
          "arrival_airport",
          "arrival_utc_date_time"
        ],
        "title": "FlightModel",
        "type": "object"
      },
      "FlightCrewSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a flight crew scheduling problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/FlightCrewSchedulingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/FlightCrewSchedulingRequiredSkillCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FlightCrewSchedulingFlightConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FlightCrewSchedulingTransferBetweenTwoFlightsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FlightCrewSchedulingEmployeeUnavailabilityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FlightCrewSchedulingFirstAssignmentNotDepartingFromHomeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FlightCrewSchedulingLastAssignmentNotArrivingAtHomeCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "FlightCrewSchedulingJobRequest",
        "type": "object"
      },
      "FlightCrewSchedulingLastAssignmentNotArrivingAtHomeCostConstraint": {
        "type": "object",
        "title": "Last flight not to home",
        "description": "Crew members whose latest flight lands at an airport other than their home airport, so the roster ends away from home; flights tied on the latest departure all count. One unit of cost is one such flight; 0 means every roster ends at home.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "last_assignment_not_arriving_at_home_cost",
            "default": "last_assignment_not_arriving_at_home_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FlightCrewSchedulingOutputAirportModel": {
        "additionalProperties": false,
        "description": "An airport. code (IATA) is the identifier.",
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "latitude": {
            "default": 0.0,
            "title": "Latitude",
            "type": "number"
          },
          "longitude": {
            "default": 0.0,
            "title": "Longitude",
            "type": "number"
          }
        },
        "required": [
          "code"
        ],
        "title": "AirportModel",
        "type": "object"
      },
      "FlightCrewSchedulingOutputEmployeeModel": {
        "additionalProperties": false,
        "description": "A crew member (value range). home_airport references an airport code.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "home_airport": {
            "title": "Home Airport",
            "type": "string"
          },
          "skills": {
            "items": {
              "type": "string"
            },
            "title": "Skills",
            "type": "array"
          },
          "unavailable_days": {
            "items": {
              "format": "date",
              "type": "string"
            },
            "title": "Unavailable Days",
            "type": "array"
          }
        },
        "required": [
          "id",
          "home_airport"
        ],
        "title": "EmployeeModel",
        "type": "object"
      },
      "FlightCrewSchedulingOutputFlightAssignmentModel": {
        "additionalProperties": false,
        "description": "One crew seat of a flight. employee is the decision\nvariable (None == unassigned; references a crew member id).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "flight": {
            "title": "Flight",
            "type": "string"
          },
          "index_in_flight": {
            "default": 0,
            "title": "Index In Flight",
            "type": "integer"
          },
          "required_skill": {
            "default": "",
            "title": "Required Skill",
            "type": "string"
          },
          "employee": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Employee"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "flight"
        ],
        "title": "FlightAssignmentModel",
        "type": "object"
      },
      "FlightCrewSchedulingOutputFlightModel": {
        "additionalProperties": false,
        "description": "A flight. Times are UTC (a naive datetime is read as UTC).",
        "properties": {
          "flight_number": {
            "title": "Flight Number",
            "type": "string"
          },
          "departure_airport": {
            "title": "Departure Airport",
            "type": "string"
          },
          "departure_utc_date_time": {
            "format": "date-time",
            "title": "Departure Utc Date Time",
            "type": "string"
          },
          "arrival_airport": {
            "title": "Arrival Airport",
            "type": "string"
          },
          "arrival_utc_date_time": {
            "format": "date-time",
            "title": "Arrival Utc Date Time",
            "type": "string"
          }
        },
        "required": [
          "flight_number",
          "departure_airport",
          "departure_utc_date_time",
          "arrival_airport",
          "arrival_utc_date_time"
        ],
        "title": "FlightModel",
        "type": "object"
      },
      "FlightCrewSchedulingProblem": {
        "additionalProperties": false,
        "description": "Solution mirror. score is a read-only result, kept as a separate field.",
        "properties": {
          "airports": {
            "items": {
              "$ref": "#/components/schemas/FlightCrewSchedulingInputAirportModel"
            },
            "title": "Airports",
            "type": "array"
          },
          "employees": {
            "items": {
              "$ref": "#/components/schemas/FlightCrewSchedulingInputEmployeeModel"
            },
            "title": "Employees",
            "type": "array"
          },
          "flights": {
            "items": {
              "$ref": "#/components/schemas/FlightCrewSchedulingInputFlightModel"
            },
            "title": "Flights",
            "type": "array"
          },
          "flight_assignments": {
            "items": {
              "$ref": "#/components/schemas/FlightCrewSchedulingInputFlightAssignmentModel"
            },
            "title": "Flight Assignments",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "airports",
          "employees",
          "flights",
          "flight_assignments"
        ],
        "title": "FlightCrewScheduleModel",
        "type": "object"
      },
      "FlightCrewSchedulingRequiredSkillCostConstraint": {
        "type": "object",
        "title": "Required skill",
        "description": "Assignments whose crew member does not hold the skill the seat requires, such as an attendant on a pilot seat. One unit of cost is one such assignment; 0 means every seat is flown by a qualified crew member.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "required_skill_cost",
            "default": "required_skill_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FlightCrewSchedulingResult": {
        "additionalProperties": false,
        "description": "Solution mirror. score is a read-only result, kept as a separate field.",
        "properties": {
          "airports": {
            "items": {
              "$ref": "#/components/schemas/FlightCrewSchedulingOutputAirportModel"
            },
            "title": "Airports",
            "type": "array"
          },
          "employees": {
            "items": {
              "$ref": "#/components/schemas/FlightCrewSchedulingOutputEmployeeModel"
            },
            "title": "Employees",
            "type": "array"
          },
          "flights": {
            "items": {
              "$ref": "#/components/schemas/FlightCrewSchedulingOutputFlightModel"
            },
            "title": "Flights",
            "type": "array"
          },
          "flight_assignments": {
            "items": {
              "$ref": "#/components/schemas/FlightCrewSchedulingOutputFlightAssignmentModel"
            },
            "title": "Flight Assignments",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "airports",
          "employees",
          "flights",
          "flight_assignments"
        ],
        "title": "FlightCrewScheduleModel",
        "type": "object"
      },
      "FlightCrewSchedulingTransferBetweenTwoFlightsCostConstraint": {
        "type": "object",
        "title": "Transfer between two flights",
        "description": "Consecutive flights of one crew member where the next one departs from a different airport than the previous one arrived at, so the crew has to be moved in between. One unit of cost is one such pair; 0 means every itinerary is a connected chain.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "transfer_between_two_flights_cost",
            "default": "transfer_between_two_flights_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FoodPackagingAfterIdealEndTimeCostConstraint": {
        "type": "object",
        "title": "Job past its ideal end time",
        "description": "Minutes by which an assigned job ends after its ideal end time (ideal_end_time), summed over the jobs of every line. One unit of cost is one minute past the ideal end; 0 means every assigned job ends by its ideal time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "after_ideal_end_time_cost",
            "default": "after_ideal_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FoodPackagingInputJobModel": {
        "additionalProperties": false,
        "description": "A packaging job (an element of a line's job list). LineModel.job_ids is the source\nof truth for the assignment; line_id and start_cleaning/start_production/end are\nresult-only derived fields (ignored by to_core). min_start_time and priority are read\nby no constraint.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "product_id": {
            "title": "Product Id",
            "type": "string"
          },
          "duration": {
            "format": "duration",
            "title": "Duration",
            "type": "string"
          },
          "min_start_time": {
            "format": "date-time",
            "title": "Min Start Time",
            "type": "string"
          },
          "ideal_end_time": {
            "format": "date-time",
            "title": "Ideal End Time",
            "type": "string"
          },
          "max_end_time": {
            "format": "date-time",
            "title": "Max End Time",
            "type": "string"
          },
          "priority": {
            "default": 1,
            "title": "Priority",
            "type": "integer"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          },
          "line_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Line Id"
          },
          "start_cleaning_date_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Cleaning Date Time"
          },
          "start_production_date_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Production Date Time"
          },
          "end_date_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "End Date Time"
          }
        },
        "required": [
          "id",
          "name",
          "product_id",
          "duration",
          "min_start_time",
          "ideal_end_time",
          "max_end_time"
        ],
        "title": "JobModel",
        "type": "object"
      },
      "FoodPackagingInputLineModel": {
        "additionalProperties": false,
        "description": "A production line. job_ids is the decision (the line's jobs, order matters);\noperator_id is the second decision, the line's operator.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "start_date_time": {
            "format": "date-time",
            "title": "Start Date Time",
            "type": "string"
          },
          "operator_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Operator Id"
          },
          "job_ids": {
            "items": {
              "type": "string"
            },
            "title": "Job Ids",
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "start_date_time"
        ],
        "title": "LineModel",
        "type": "object"
      },
      "FoodPackagingInputOperatorModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "OperatorModel",
        "type": "object"
      },
      "FoodPackagingInputProductModel": {
        "additionalProperties": false,
        "description": "A product. cleaning_durations maps a previous product to the cleaning time:\nkeys are the id of the product made on the line 'just before'. When a (previous,\ncurrent) pair without an entry actually ends up adjacent, it is an error.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "cleaning_durations": {
            "additionalProperties": {
              "format": "duration",
              "type": "string"
            },
            "title": "Cleaning Durations",
            "type": "object"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "ProductModel",
        "type": "object"
      },
      "FoodPackagingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a food packaging problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/FoodPackagingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/FoodPackagingMaxEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FoodPackagingAfterIdealEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FoodPackagingSquaredMakespanCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FoodPackagingOperatorCleaningConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/FoodPackagingUnassignedJobsCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "FoodPackagingJobRequest",
        "type": "object"
      },
      "FoodPackagingMaxEndTimeCostConstraint": {
        "type": "object",
        "title": "Job past its latest end time",
        "description": "Minutes by which an assigned job ends after its latest allowed end time (max_end_time), summed over the jobs of every line. One unit of cost is one minute late; 0 means every assigned job ends by its deadline. Jobs on no line are not counted here.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_end_time_cost",
            "default": "max_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FoodPackagingOperatorCleaningConflictCostConstraint": {
        "type": "object",
        "title": "Operator cleaning overlap",
        "description": "Minutes in which the cleaning windows of two jobs overlap on lines run by the same operator, summed over every such pair of jobs. One unit of cost is one overlapping minute; 0 means no operator has two cleanings at the same time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "operator_cleaning_conflict_cost",
            "default": "operator_cleaning_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FoodPackagingOutputJobModel": {
        "additionalProperties": false,
        "description": "A packaging job (an element of a line's job list). LineModel.job_ids is the source\nof truth for the assignment; line_id and start_cleaning/start_production/end are\nresult-only derived fields (ignored by to_core). min_start_time and priority are read\nby no constraint.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "product_id": {
            "title": "Product Id",
            "type": "string"
          },
          "duration": {
            "format": "duration",
            "title": "Duration",
            "type": "string"
          },
          "min_start_time": {
            "format": "date-time",
            "title": "Min Start Time",
            "type": "string"
          },
          "ideal_end_time": {
            "format": "date-time",
            "title": "Ideal End Time",
            "type": "string"
          },
          "max_end_time": {
            "format": "date-time",
            "title": "Max End Time",
            "type": "string"
          },
          "priority": {
            "default": 1,
            "title": "Priority",
            "type": "integer"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          },
          "line_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Line Id"
          },
          "start_cleaning_date_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Cleaning Date Time"
          },
          "start_production_date_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Production Date Time"
          },
          "end_date_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "End Date Time"
          }
        },
        "required": [
          "id",
          "name",
          "product_id",
          "duration",
          "min_start_time",
          "ideal_end_time",
          "max_end_time"
        ],
        "title": "JobModel",
        "type": "object"
      },
      "FoodPackagingOutputLineModel": {
        "additionalProperties": false,
        "description": "A production line. job_ids is the decision (the line's jobs, order matters);\noperator_id is the second decision, the line's operator.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "start_date_time": {
            "format": "date-time",
            "title": "Start Date Time",
            "type": "string"
          },
          "operator_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Operator Id"
          },
          "job_ids": {
            "items": {
              "type": "string"
            },
            "title": "Job Ids",
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "start_date_time"
        ],
        "title": "LineModel",
        "type": "object"
      },
      "FoodPackagingOutputOperatorModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "OperatorModel",
        "type": "object"
      },
      "FoodPackagingOutputProductModel": {
        "additionalProperties": false,
        "description": "A product. cleaning_durations maps a previous product to the cleaning time:\nkeys are the id of the product made on the line 'just before'. When a (previous,\ncurrent) pair without an entry actually ends up adjacent, it is an error.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "cleaning_durations": {
            "additionalProperties": {
              "format": "duration",
              "type": "string"
            },
            "title": "Cleaning Durations",
            "type": "object"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "ProductModel",
        "type": "object"
      },
      "FoodPackagingProblem": {
        "additionalProperties": false,
        "description": "The whole schedule. The score is a read-only result, kept as separate fields.\nJobs in no line's job_ids are unassigned (the solver leaves pinned unassigned\njobs alone, and the rest can get assigned on a re-solve).",
        "properties": {
          "from_date": {
            "format": "date",
            "title": "From Date",
            "type": "string"
          },
          "to_date": {
            "format": "date",
            "title": "To Date",
            "type": "string"
          },
          "products": {
            "items": {
              "$ref": "#/components/schemas/FoodPackagingInputProductModel"
            },
            "title": "Products",
            "type": "array"
          },
          "operators": {
            "items": {
              "$ref": "#/components/schemas/FoodPackagingInputOperatorModel"
            },
            "title": "Operators",
            "type": "array"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/FoodPackagingInputLineModel"
            },
            "title": "Lines",
            "type": "array"
          },
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/FoodPackagingInputJobModel"
            },
            "title": "Jobs",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_medium": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Medium"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "from_date",
          "to_date",
          "products",
          "operators",
          "lines",
          "jobs"
        ],
        "title": "PackagingScheduleModel",
        "type": "object"
      },
      "FoodPackagingResult": {
        "additionalProperties": false,
        "description": "The whole schedule. The score is a read-only result, kept as separate fields.\nJobs in no line's job_ids are unassigned (the solver leaves pinned unassigned\njobs alone, and the rest can get assigned on a re-solve).",
        "properties": {
          "from_date": {
            "format": "date",
            "title": "From Date",
            "type": "string"
          },
          "to_date": {
            "format": "date",
            "title": "To Date",
            "type": "string"
          },
          "products": {
            "items": {
              "$ref": "#/components/schemas/FoodPackagingOutputProductModel"
            },
            "title": "Products",
            "type": "array"
          },
          "operators": {
            "items": {
              "$ref": "#/components/schemas/FoodPackagingOutputOperatorModel"
            },
            "title": "Operators",
            "type": "array"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/FoodPackagingOutputLineModel"
            },
            "title": "Lines",
            "type": "array"
          },
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/FoodPackagingOutputJobModel"
            },
            "title": "Jobs",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_medium": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Medium"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "from_date",
          "to_date",
          "products",
          "operators",
          "lines",
          "jobs"
        ],
        "title": "PackagingScheduleModel",
        "type": "object"
      },
      "FoodPackagingSquaredMakespanCostConstraint": {
        "type": "object",
        "title": "Squared line makespan",
        "description": "For every line with jobs, the square of the minutes from the line start to the end of its last job, summed over the lines; squaring favours spreading the work evenly. One unit of cost is one squared minute; 0 means no line has a job.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "squared_makespan_cost",
            "default": "squared_makespan_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "FoodPackagingUnassignedJobsCostConstraint": {
        "type": "object",
        "title": "Unassigned jobs",
        "description": "The production minutes of every job left on no packaging line, so leaving out a long job costs more than a short one. One unit of cost is one unscheduled production minute; 0 means every job is on a line.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "unassigned_jobs_cost",
            "default": "unassigned_jobs_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "JobKind": {
        "type": "string",
        "enum": [
          "stateless",
          "problem",
          "project"
        ],
        "title": "JobKind",
        "description": "Where a job came from. Jobs submitted through the use-case API are `stateless`."
      },
      "JobStatus": {
        "type": "string",
        "enum": [
          "queued",
          "running",
          "succeeded",
          "failed",
          "cancelled"
        ],
        "title": "JobStatus",
        "description": "The job's lifecycle. Separate from the solver's solution status."
      },
      "KnapsackForbiddenItemsCostConstraint": {
        "type": "object",
        "title": "Forbidden items",
        "description": "Forbidden items that are selected; an item listed twice counts twice. One unit of cost is one selected entry; 0 means no forbidden item is selected.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "forbidden_items_cost",
            "default": "forbidden_items_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "KnapsackInputItemModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "weight": {
            "exclusiveMinimum": 0,
            "title": "Weight",
            "type": "integer"
          },
          "value": {
            "minimum": 0,
            "title": "Value",
            "type": "integer"
          },
          "resource_usage": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Additional resource consumption for multidimensional knapsack constraints.",
            "title": "Resource Usage",
            "type": "object"
          },
          "requires": {
            "description": "Items that must also be selected with this item.",
            "items": {
              "type": "string"
            },
            "title": "Requires",
            "type": "array"
          },
          "selected": {
            "default": false,
            "title": "Selected",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "weight",
          "value"
        ],
        "title": "ItemModel",
        "type": "object"
      },
      "KnapsackInputSelectionGroupModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "item_ids": {
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Item Ids",
            "type": "array"
          },
          "min_selected": {
            "default": 0,
            "minimum": 0,
            "title": "Min Selected",
            "type": "integer"
          },
          "max_selected": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Selected"
          }
        },
        "required": [
          "id",
          "item_ids"
        ],
        "title": "SelectionGroupModel",
        "type": "object"
      },
      "KnapsackItemDependencyCostConstraint": {
        "type": "object",
        "title": "Item dependency",
        "description": "Selected items whose required item is not selected, counted per (item, required item) pair. One unit of cost is one unmet requirement; 0 means every selected item has what it requires.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "item_dependency_cost",
            "default": "item_dependency_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "KnapsackJobRequest": {
        "additionalProperties": false,
        "description": "Solve a knapsack problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/KnapsackProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/KnapsackKnapsackCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/KnapsackResourceCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/KnapsackMandatoryItemsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/KnapsackForbiddenItemsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/KnapsackSelectionGroupBoundsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/KnapsackItemDependencyCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/KnapsackSelectedValueCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "KnapsackJobRequest",
        "type": "object"
      },
      "KnapsackKnapsackCapacityCostConstraint": {
        "type": "object",
        "title": "Knapsack capacity",
        "description": "Total weight of the selected items beyond the knapsack's capacity. One unit of cost is one unit of weight over capacity; 0 means the selection fits.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "knapsack_capacity_cost",
            "default": "knapsack_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "KnapsackMandatoryItemsCostConstraint": {
        "type": "object",
        "title": "Mandatory items",
        "description": "Mandatory items that are not selected; an item listed twice counts twice. One unit of cost is one missing entry; 0 means every mandatory item is selected.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "mandatory_items_cost",
            "default": "mandatory_items_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "KnapsackOutputItemModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "weight": {
            "exclusiveMinimum": 0,
            "title": "Weight",
            "type": "integer"
          },
          "value": {
            "minimum": 0,
            "title": "Value",
            "type": "integer"
          },
          "resource_usage": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Additional resource consumption for multidimensional knapsack constraints.",
            "title": "Resource Usage",
            "type": "object"
          },
          "requires": {
            "description": "Items that must also be selected with this item.",
            "items": {
              "type": "string"
            },
            "title": "Requires",
            "type": "array"
          },
          "selected": {
            "default": false,
            "title": "Selected",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "weight",
          "value"
        ],
        "title": "ItemModel",
        "type": "object"
      },
      "KnapsackOutputSelectionGroupModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "item_ids": {
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Item Ids",
            "type": "array"
          },
          "min_selected": {
            "default": 0,
            "minimum": 0,
            "title": "Min Selected",
            "type": "integer"
          },
          "max_selected": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Selected"
          }
        },
        "required": [
          "id",
          "item_ids"
        ],
        "title": "SelectionGroupModel",
        "type": "object"
      },
      "KnapsackProblem": {
        "additionalProperties": false,
        "properties": {
          "capacity": {
            "description": "Maximum total selected weight.",
            "exclusiveMinimum": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "items": {
            "description": "Candidate items with weight and value.",
            "items": {
              "$ref": "#/components/schemas/KnapsackInputItemModel"
            },
            "title": "Items",
            "type": "array"
          },
          "resource_capacities": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Capacity by additional resource for multidimensional knapsack variants.",
            "title": "Resource Capacities",
            "type": "object"
          },
          "mandatory_items": {
            "items": {
              "type": "string"
            },
            "title": "Mandatory Items",
            "type": "array"
          },
          "forbidden_items": {
            "items": {
              "type": "string"
            },
            "title": "Forbidden Items",
            "type": "array"
          },
          "selection_groups": {
            "items": {
              "$ref": "#/components/schemas/KnapsackInputSelectionGroupModel"
            },
            "title": "Selection Groups",
            "type": "array"
          },
          "total_weight": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Selected weight in the solution.",
            "title": "Total Weight"
          },
          "total_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Selected value in the solution.",
            "title": "Total Value"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from `selected` as it stands; False means not selected and nothing is filled in.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "capacity",
          "items"
        ],
        "title": "KnapsackProblemModel",
        "type": "object"
      },
      "KnapsackResourceCapacityCostConstraint": {
        "type": "object",
        "title": "Resource capacity",
        "description": "Usage of each declared resource beyond its capacity, summed over the resources; usage of a resource without a capacity is ignored. One unit of cost is one unit of a resource over its capacity; 0 means every resource fits.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "resource_capacity_cost",
            "default": "resource_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "KnapsackResult": {
        "additionalProperties": false,
        "properties": {
          "capacity": {
            "description": "Maximum total selected weight.",
            "exclusiveMinimum": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "items": {
            "description": "Candidate items with weight and value.",
            "items": {
              "$ref": "#/components/schemas/KnapsackOutputItemModel"
            },
            "title": "Items",
            "type": "array"
          },
          "resource_capacities": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Capacity by additional resource for multidimensional knapsack variants.",
            "title": "Resource Capacities",
            "type": "object"
          },
          "mandatory_items": {
            "items": {
              "type": "string"
            },
            "title": "Mandatory Items",
            "type": "array"
          },
          "forbidden_items": {
            "items": {
              "type": "string"
            },
            "title": "Forbidden Items",
            "type": "array"
          },
          "selection_groups": {
            "items": {
              "$ref": "#/components/schemas/KnapsackOutputSelectionGroupModel"
            },
            "title": "Selection Groups",
            "type": "array"
          },
          "total_weight": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Selected weight in the solution.",
            "title": "Total Weight"
          },
          "total_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Selected value in the solution.",
            "title": "Total Value"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from `selected` as it stands; False means not selected and nothing is filled in.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "capacity",
          "items"
        ],
        "title": "KnapsackProblemModel",
        "type": "object"
      },
      "KnapsackSelectedValueCostConstraint": {
        "type": "object",
        "title": "Selected value",
        "description": "The total value of the selected items, scored as a reward: the raw cost is minus the selected value (never positive), so a larger value scores better. It is always soft; level='hard' is refused.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "selected_value_cost",
            "default": "selected_value_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "KnapsackSelectionGroupBoundsCostConstraint": {
        "type": "object",
        "title": "Selection group bounds",
        "description": "How far each selection group's number of selected items falls below its minimum or rises above its maximum, summed over the groups. One unit of cost is one item too few or too many; 0 means every group is within its bounds.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "selection_group_bounds_cost",
            "default": "selection_group_bounds_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaintenanceSchedulingAfterIdealEndDateCostConstraint": {
        "type": "object",
        "title": "Finished after the ideal date",
        "description": "Calendar days by which an assigned job ends after its ideal end date (ideal_end_date), summed over the jobs. One unit of cost is one day late; 0 means no job ends late.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "after_ideal_end_date_cost",
            "default": "after_ideal_end_date_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaintenanceSchedulingBeforeIdealEndDateCostConstraint": {
        "type": "object",
        "title": "Finished before the ideal date",
        "description": "Calendar days by which an assigned job ends before its ideal end date (ideal_end_date), summed over the jobs. One unit of cost is one day early; 0 means no job ends early.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "before_ideal_end_date_cost",
            "default": "before_ideal_end_date_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaintenanceSchedulingCrewConflictCostConstraint": {
        "type": "object",
        "title": "Crew conflict",
        "description": "Calendar days on which two jobs of the same crew overlap, summed over every pair of jobs on one crew. One unit of cost is one day a pair of same-crew jobs runs at once; 0 means no crew has two jobs on the same day.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "crew_conflict_cost",
            "default": "crew_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaintenanceSchedulingInputCrewModel": {
        "additionalProperties": false,
        "description": "A crew. One crew can do at most one job per day.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "CrewModel",
        "type": "object"
      },
      "MaintenanceSchedulingInputJobModel": {
        "additionalProperties": false,
        "description": "A maintenance job. crew_id/start_date are the assignment (both set means assigned),\nend_date is derived, weekends skipped (result only, ignored by to_core).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "duration_in_days": {
            "minimum": 0,
            "title": "Duration In Days",
            "type": "integer"
          },
          "min_start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Min Start Date"
          },
          "max_end_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max End Date"
          },
          "ideal_end_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ideal End Date"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          },
          "crew_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Crew Id"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Date"
          },
          "end_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "End Date"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "duration_in_days"
        ],
        "title": "JobModel",
        "type": "object"
      },
      "MaintenanceSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a maintenance scheduling problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/MaintenanceSchedulingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/MaintenanceSchedulingMinStartDateCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaintenanceSchedulingMaxEndDateCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaintenanceSchedulingBeforeIdealEndDateCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaintenanceSchedulingAfterIdealEndDateCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaintenanceSchedulingCrewConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaintenanceSchedulingTagConflictCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "MaintenanceSchedulingJobRequest",
        "type": "object"
      },
      "MaintenanceSchedulingMaxEndDateCostConstraint": {
        "type": "object",
        "title": "Latest end date",
        "description": "Calendar days by which an assigned job ends after the latest date it may end on (max_end_date), summed over the jobs. One unit of cost is one day too late; 0 means every job ends by its latest end date.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_end_date_cost",
            "default": "max_end_date_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaintenanceSchedulingMinStartDateCostConstraint": {
        "type": "object",
        "title": "Earliest start date",
        "description": "Calendar days by which an assigned job starts before its earliest allowed start date (min_start_date), summed over the jobs. One unit of cost is one day too early; 0 means every job starts on or after its earliest start date.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "min_start_date_cost",
            "default": "min_start_date_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaintenanceSchedulingOutputCrewModel": {
        "additionalProperties": false,
        "description": "A crew. One crew can do at most one job per day.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "CrewModel",
        "type": "object"
      },
      "MaintenanceSchedulingOutputJobModel": {
        "additionalProperties": false,
        "description": "A maintenance job. crew_id/start_date are the assignment (both set means assigned),\nend_date is derived, weekends skipped (result only, ignored by to_core).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "duration_in_days": {
            "minimum": 0,
            "title": "Duration In Days",
            "type": "integer"
          },
          "min_start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Min Start Date"
          },
          "max_end_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max End Date"
          },
          "ideal_end_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ideal End Date"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          },
          "crew_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Crew Id"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Date"
          },
          "end_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "End Date"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "duration_in_days"
        ],
        "title": "JobModel",
        "type": "object"
      },
      "MaintenanceSchedulingProblem": {
        "additionalProperties": false,
        "description": "Pydantic mirror of the schedule. score is a read-only result, kept as a separate field.",
        "properties": {
          "from_date": {
            "format": "date",
            "title": "From Date",
            "type": "string"
          },
          "to_date": {
            "format": "date",
            "title": "To Date",
            "type": "string"
          },
          "crews": {
            "items": {
              "$ref": "#/components/schemas/MaintenanceSchedulingInputCrewModel"
            },
            "title": "Crews",
            "type": "array"
          },
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/MaintenanceSchedulingInputJobModel"
            },
            "title": "Jobs",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "from_date",
          "to_date",
          "crews",
          "jobs"
        ],
        "title": "MaintenanceScheduleModel",
        "type": "object"
      },
      "MaintenanceSchedulingResult": {
        "additionalProperties": false,
        "description": "Pydantic mirror of the schedule. score is a read-only result, kept as a separate field.",
        "properties": {
          "from_date": {
            "format": "date",
            "title": "From Date",
            "type": "string"
          },
          "to_date": {
            "format": "date",
            "title": "To Date",
            "type": "string"
          },
          "crews": {
            "items": {
              "$ref": "#/components/schemas/MaintenanceSchedulingOutputCrewModel"
            },
            "title": "Crews",
            "type": "array"
          },
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/MaintenanceSchedulingOutputJobModel"
            },
            "title": "Jobs",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "from_date",
          "to_date",
          "crews",
          "jobs"
        ],
        "title": "MaintenanceScheduleModel",
        "type": "object"
      },
      "MaintenanceSchedulingTagConflictCostConstraint": {
        "type": "object",
        "title": "Tag conflict",
        "description": "Calendar days on which two jobs that share a tag overlap, counted once per shared tag and summed over every pair of jobs. One unit of cost is one day two jobs with a common tag run at once (two shared tags count twice); 0 means jobs with a common tag never run on the same day.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "tag_conflict_cost",
            "default": "tag_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaxCutCutWeightCostConstraint": {
        "type": "object",
        "title": "Cut weight",
        "description": "The total weight of the edges whose endpoints are on different sides, scored as a reward: the raw cost is minus the cut weight (never positive), so a larger cut scores better. It is always soft; level='hard' is refused.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "cut_weight_cost",
            "default": "cut_weight_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaxCutDifferentPartitionPairsCostConstraint": {
        "type": "object",
        "title": "Different-side pairs",
        "description": "Pairs in different_partition_pairs whose vertices end up on the same side, counted on that side. One unit of cost is one pair left together; 0 means every pair is split across the cut.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "different_partition_pairs_cost",
            "default": "different_partition_pairs_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaxCutFixedPartitionCostConstraint": {
        "type": "object",
        "title": "Fixed partition",
        "description": "Vertices pinned by fixed_partition that sit on the other side, counted on the side they sit on. One unit of cost is one misplaced fixed vertex; 0 means every fixed vertex is on its side. The search never moves a fixed vertex, so only a warm-start seed can make it positive.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "fixed_partition_cost",
            "default": "fixed_partition_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaxCutInputEdgeModel": {
        "additionalProperties": false,
        "properties": {
          "source": {
            "title": "Source",
            "type": "string"
          },
          "target": {
            "title": "Target",
            "type": "string"
          },
          "weight": {
            "default": 1,
            "minimum": 0,
            "title": "Weight",
            "type": "integer"
          }
        },
        "required": [
          "source",
          "target"
        ],
        "title": "EdgeModel",
        "type": "object"
      },
      "MaxCutInputVertexPairModel": {
        "additionalProperties": false,
        "properties": {
          "first": {
            "title": "First",
            "type": "string"
          },
          "second": {
            "title": "Second",
            "type": "string"
          }
        },
        "required": [
          "first",
          "second"
        ],
        "title": "VertexPairModel",
        "type": "object"
      },
      "MaxCutJobRequest": {
        "additionalProperties": false,
        "description": "Solve a max-cut problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/MaxCutProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/MaxCutFixedPartitionCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaxCutSamePartitionPairsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaxCutDifferentPartitionPairsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaxCutPartitionSizeBoundsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaxCutPartitionImbalanceCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MaxCutCutWeightCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "MaxCutJobRequest",
        "type": "object"
      },
      "MaxCutOutputEdgeModel": {
        "additionalProperties": false,
        "properties": {
          "source": {
            "title": "Source",
            "type": "string"
          },
          "target": {
            "title": "Target",
            "type": "string"
          },
          "weight": {
            "default": 1,
            "minimum": 0,
            "title": "Weight",
            "type": "integer"
          }
        },
        "required": [
          "source",
          "target"
        ],
        "title": "EdgeModel",
        "type": "object"
      },
      "MaxCutOutputVertexPairModel": {
        "additionalProperties": false,
        "properties": {
          "first": {
            "title": "First",
            "type": "string"
          },
          "second": {
            "title": "Second",
            "type": "string"
          }
        },
        "required": [
          "first",
          "second"
        ],
        "title": "VertexPairModel",
        "type": "object"
      },
      "MaxCutPartitionImbalanceCostConstraint": {
        "type": "object",
        "title": "Partition imbalance",
        "description": "The absolute difference between the numbers of vertices on the two sides. One unit of cost is one vertex of difference; 0 means the sides are equal. Its default weight is 0, so it only counts once you give it a weight.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "partition_imbalance_cost",
            "default": "partition_imbalance_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaxCutPartitionSizeBoundsCostConstraint": {
        "type": "object",
        "title": "Partition size bounds",
        "description": "For each side, how many vertices it has fewer than min_partition_size or more than max_partition_size. One unit of cost is one vertex outside the bounds; 0 means both sides are within them.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "partition_size_bounds_cost",
            "default": "partition_size_bounds_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MaxCutProblem": {
        "additionalProperties": false,
        "properties": {
          "vertices": {
            "description": "Unique graph vertex ids.",
            "items": {
              "type": "string"
            },
            "title": "Vertices",
            "type": "array"
          },
          "edges": {
            "description": "Weighted undirected graph edges.",
            "items": {
              "$ref": "#/components/schemas/MaxCutInputEdgeModel"
            },
            "title": "Edges",
            "type": "array"
          },
          "fixed_partition": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Vertices pinned to side 0 or 1.",
            "title": "Fixed Partition",
            "type": "object"
          },
          "same_partition_pairs": {
            "items": {
              "$ref": "#/components/schemas/MaxCutInputVertexPairModel"
            },
            "title": "Same Partition Pairs",
            "type": "array"
          },
          "different_partition_pairs": {
            "items": {
              "$ref": "#/components/schemas/MaxCutInputVertexPairModel"
            },
            "title": "Different Partition Pairs",
            "type": "array"
          },
          "min_partition_size": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Min Partition Size"
          },
          "max_partition_size": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Partition Size"
          },
          "partition": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Solution side, 0 or 1, for each vertex.",
            "title": "Partition",
            "type": "object"
          },
          "cut_weight": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Total weight of edges crossing the partition.",
            "title": "Cut Weight"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from `partition`; vertices it leaves out take the default start.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "vertices",
          "edges"
        ],
        "title": "MaxCutProblemModel",
        "type": "object"
      },
      "MaxCutResult": {
        "additionalProperties": false,
        "properties": {
          "vertices": {
            "description": "Unique graph vertex ids.",
            "items": {
              "type": "string"
            },
            "title": "Vertices",
            "type": "array"
          },
          "edges": {
            "description": "Weighted undirected graph edges.",
            "items": {
              "$ref": "#/components/schemas/MaxCutOutputEdgeModel"
            },
            "title": "Edges",
            "type": "array"
          },
          "fixed_partition": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Vertices pinned to side 0 or 1.",
            "title": "Fixed Partition",
            "type": "object"
          },
          "same_partition_pairs": {
            "items": {
              "$ref": "#/components/schemas/MaxCutOutputVertexPairModel"
            },
            "title": "Same Partition Pairs",
            "type": "array"
          },
          "different_partition_pairs": {
            "items": {
              "$ref": "#/components/schemas/MaxCutOutputVertexPairModel"
            },
            "title": "Different Partition Pairs",
            "type": "array"
          },
          "min_partition_size": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Min Partition Size"
          },
          "max_partition_size": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Partition Size"
          },
          "partition": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Solution side, 0 or 1, for each vertex.",
            "title": "Partition",
            "type": "object"
          },
          "cut_weight": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Total weight of edges crossing the partition.",
            "title": "Cut Weight"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from `partition`; vertices it leaves out take the default start.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "vertices",
          "edges"
        ],
        "title": "MaxCutProblemModel",
        "type": "object"
      },
      "MaxCutSamePartitionPairsCostConstraint": {
        "type": "object",
        "title": "Same-side pairs",
        "description": "Pairs in same_partition_pairs whose vertices end up on different sides; each split pair is counted once, on the side of its first vertex. One unit of cost is one split pair; 0 means every pair is together.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "same_partition_pairs_cost",
            "default": "same_partition_pairs_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingConsecutiveMeetingsCostConstraint": {
        "type": "object",
        "title": "Back-to-back meetings",
        "description": "Pairs of meetings scheduled back to back (one ends at the grain the other starts), whatever their rooms and attendees. One unit of cost is one such pair; 0 means every meeting is followed by a break.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "consecutive_meetings_cost",
            "default": "consecutive_meetings_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingDayCrossingCostConstraint": {
        "type": "object",
        "title": "Day crossing",
        "description": "Meetings whose last time grain falls on a different day than their first. One unit of cost is one time grain at the meeting's last grain index on another day (normally one per crossing meeting); 0 means every meeting starts and ends on the same day. A meeting that runs off the calendar costs 0 here; `overtime_cost` prices it.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "day_crossing_cost",
            "default": "day_crossing_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingInputMeetingAssignmentModel": {
        "additionalProperties": false,
        "description": "One meeting's assignment. grain_room is the composite variable time_grain_pos * room_count +\nroom_index (None == unassigned); meeting is a meetings index.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "meeting": {
            "minimum": 0,
            "title": "Meeting",
            "type": "integer"
          },
          "grain_room": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Grain Room"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "meeting"
        ],
        "title": "MeetingAssignmentModel",
        "type": "object"
      },
      "MeetingSchedulingInputMeetingModel": {
        "additionalProperties": false,
        "description": "A meeting (fixed input). required/preferred_attendees are lists of people\nindices — one element is one attendance.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "topic": {
            "default": "",
            "title": "Topic",
            "type": "string"
          },
          "duration_in_grains": {
            "default": 1,
            "minimum": 1,
            "title": "Duration In Grains",
            "type": "integer"
          },
          "required_attendees": {
            "items": {
              "type": "integer"
            },
            "title": "Required Attendees",
            "type": "array"
          },
          "preferred_attendees": {
            "items": {
              "type": "integer"
            },
            "title": "Preferred Attendees",
            "type": "array"
          },
          "entire_group_meeting": {
            "default": false,
            "title": "Entire Group Meeting",
            "type": "boolean"
          }
        },
        "required": [
          "id"
        ],
        "title": "MeetingModel",
        "type": "object"
      },
      "MeetingSchedulingInputPersonModel": {
        "additionalProperties": false,
        "description": "An attendee. Referenced by index into the people list.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "full_name": {
            "default": "",
            "title": "Full Name",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "PersonModel",
        "type": "object"
      },
      "MeetingSchedulingInputRoomModel": {
        "additionalProperties": false,
        "description": "A meeting room. capacity feeds the hard room_capacity_cost (and larger_room_capacity_cost).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "capacity": {
            "default": 0,
            "title": "Capacity",
            "type": "integer"
          }
        },
        "required": [
          "id"
        ],
        "title": "RoomModel",
        "type": "object"
      },
      "MeetingSchedulingInputTimeGrainModel": {
        "additionalProperties": false,
        "description": "A 15-minute time grain. grain_index is the unit duration/overlap is computed in\n(consecutive and 1-based in the demo).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "grain_index": {
            "title": "Grain Index",
            "type": "integer"
          },
          "day_of_year": {
            "title": "Day Of Year",
            "type": "integer"
          },
          "starting_minute_of_day": {
            "minimum": 0,
            "title": "Starting Minute Of Day",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "grain_index",
          "day_of_year",
          "starting_minute_of_day"
        ],
        "title": "TimeGrainModel",
        "type": "object"
      },
      "MeetingSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a meeting scheduling problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/MeetingSchedulingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingOvertimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingRoomCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingDayCrossingCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingMeetingEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingLargerRoomCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingRoomConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingRequiredAttendanceConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingRequiredAndPreferredAttendanceConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingPreferredAttendanceConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingConsecutiveMeetingsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingMeetingOverlapCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/MeetingSchedulingRoomChangeCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "MeetingSchedulingJobRequest",
        "type": "object"
      },
      "MeetingSchedulingLargerRoomCapacityCostConstraint": {
        "type": "object",
        "title": "Larger rooms left free",
        "description": "For each meeting, the capacity of every strictly larger room minus the capacity of its own room, summed, so the big rooms fill first and the small ones stay free for meetings that only fit there. One unit of cost is one seat; 0 means the meeting sits in a largest room. This is not a capacity overflow (see `room_capacity_cost`).",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "larger_room_capacity_cost",
            "default": "larger_room_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingMeetingEndTimeCostConstraint": {
        "type": "object",
        "title": "Meeting end time",
        "description": "The last grain index of every meeting, summed, which pulls the schedule toward the front of the calendar. One unit of cost is one grain index; 0 only when every meeting ends on grain 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "meeting_end_time_cost",
            "default": "meeting_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingMeetingOverlapCostConstraint": {
        "type": "object",
        "title": "Meeting overlap",
        "description": "Time grains during which any two meetings run at once, regardless of room or attendees, summed over the pairs. One unit of cost is one overlapping grain; 0 means no two meetings overlap.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "meeting_overlap_cost",
            "default": "meeting_overlap_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingOutputMeetingAssignmentModel": {
        "additionalProperties": false,
        "description": "One meeting's assignment. grain_room is the composite variable time_grain_pos * room_count +\nroom_index (None == unassigned); meeting is a meetings index.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "meeting": {
            "minimum": 0,
            "title": "Meeting",
            "type": "integer"
          },
          "grain_room": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Grain Room"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "meeting"
        ],
        "title": "MeetingAssignmentModel",
        "type": "object"
      },
      "MeetingSchedulingOutputMeetingModel": {
        "additionalProperties": false,
        "description": "A meeting (fixed input). required/preferred_attendees are lists of people\nindices — one element is one attendance.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "topic": {
            "default": "",
            "title": "Topic",
            "type": "string"
          },
          "duration_in_grains": {
            "default": 1,
            "minimum": 1,
            "title": "Duration In Grains",
            "type": "integer"
          },
          "required_attendees": {
            "items": {
              "type": "integer"
            },
            "title": "Required Attendees",
            "type": "array"
          },
          "preferred_attendees": {
            "items": {
              "type": "integer"
            },
            "title": "Preferred Attendees",
            "type": "array"
          },
          "entire_group_meeting": {
            "default": false,
            "title": "Entire Group Meeting",
            "type": "boolean"
          }
        },
        "required": [
          "id"
        ],
        "title": "MeetingModel",
        "type": "object"
      },
      "MeetingSchedulingOutputPersonModel": {
        "additionalProperties": false,
        "description": "An attendee. Referenced by index into the people list.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "full_name": {
            "default": "",
            "title": "Full Name",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "PersonModel",
        "type": "object"
      },
      "MeetingSchedulingOutputRoomModel": {
        "additionalProperties": false,
        "description": "A meeting room. capacity feeds the hard room_capacity_cost (and larger_room_capacity_cost).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          },
          "capacity": {
            "default": 0,
            "title": "Capacity",
            "type": "integer"
          }
        },
        "required": [
          "id"
        ],
        "title": "RoomModel",
        "type": "object"
      },
      "MeetingSchedulingOutputTimeGrainModel": {
        "additionalProperties": false,
        "description": "A 15-minute time grain. grain_index is the unit duration/overlap is computed in\n(consecutive and 1-based in the demo).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "grain_index": {
            "title": "Grain Index",
            "type": "integer"
          },
          "day_of_year": {
            "title": "Day Of Year",
            "type": "integer"
          },
          "starting_minute_of_day": {
            "minimum": 0,
            "title": "Starting Minute Of Day",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "grain_index",
          "day_of_year",
          "starting_minute_of_day"
        ],
        "title": "TimeGrainModel",
        "type": "object"
      },
      "MeetingSchedulingOvertimeCostConstraint": {
        "type": "object",
        "title": "Overtime",
        "description": "Meetings that run past the end of the calendar (no time grain exists at their last grain index). Such a meeting costs its last grain index, not the length of the overrun, so running further over costs more; 0 means every meeting ends on an existing time grain.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "overtime_cost",
            "default": "overtime_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingPreferredAttendanceConflictCostConstraint": {
        "type": "object",
        "title": "Preferred attendance conflict",
        "description": "A person who would prefer to attend two meetings that overlap, on the medium level: overlapping grains times the shared preferred attendees, summed over meeting pairs. One unit of cost is one person-grain; 0 means no such clash.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "preferred_attendance_conflict_cost",
            "default": "preferred_attendance_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingProblem": {
        "additionalProperties": false,
        "description": "Mirror of the whole schedule. score is a read-only result, kept as a separate field.",
        "properties": {
          "people": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingInputPersonModel"
            },
            "title": "People",
            "type": "array"
          },
          "time_grains": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingInputTimeGrainModel"
            },
            "title": "Time Grains",
            "type": "array"
          },
          "rooms": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingInputRoomModel"
            },
            "title": "Rooms",
            "type": "array"
          },
          "meetings": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingInputMeetingModel"
            },
            "title": "Meetings",
            "type": "array"
          },
          "meeting_assignments": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingInputMeetingAssignmentModel"
            },
            "title": "Meeting Assignments",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "people",
          "time_grains",
          "rooms",
          "meetings"
        ],
        "title": "MeetingScheduleModel",
        "type": "object"
      },
      "MeetingSchedulingRequiredAndPreferredAttendanceConflictCostConstraint": {
        "type": "object",
        "title": "Required and preferred attendance conflict",
        "description": "A person required at one meeting and preferred at another that overlaps it, on the medium level: overlapping grains times such attendees, in both directions, summed over meeting pairs. One unit of cost is one person-grain; 0 means no such clash.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "required_and_preferred_attendance_conflict_cost",
            "default": "required_and_preferred_attendance_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingRequiredAttendanceConflictCostConstraint": {
        "type": "object",
        "title": "Required attendance conflict",
        "description": "A person required at two meetings that overlap: overlapping grains times the shared required attendees, summed over meeting pairs. One unit of cost is one person-grain; 0 means no required attendee is double-booked.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "required_attendance_conflict_cost",
            "default": "required_attendance_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingResult": {
        "additionalProperties": false,
        "description": "Mirror of the whole schedule. score is a read-only result, kept as a separate field.",
        "properties": {
          "people": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingOutputPersonModel"
            },
            "title": "People",
            "type": "array"
          },
          "time_grains": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingOutputTimeGrainModel"
            },
            "title": "Time Grains",
            "type": "array"
          },
          "rooms": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingOutputRoomModel"
            },
            "title": "Rooms",
            "type": "array"
          },
          "meetings": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingOutputMeetingModel"
            },
            "title": "Meetings",
            "type": "array"
          },
          "meeting_assignments": {
            "items": {
              "$ref": "#/components/schemas/MeetingSchedulingOutputMeetingAssignmentModel"
            },
            "title": "Meeting Assignments",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "people",
          "time_grains",
          "rooms",
          "meetings"
        ],
        "title": "MeetingScheduleModel",
        "type": "object"
      },
      "MeetingSchedulingRoomCapacityCostConstraint": {
        "type": "object",
        "title": "Room capacity",
        "description": "Seats a room is short for the meeting placed in it: required plus preferred attendees minus the room's capacity, summed over meetings. One unit of cost is one missing seat; 0 means every meeting fits its room.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "room_capacity_cost",
            "default": "room_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingRoomChangeCostConstraint": {
        "type": "object",
        "title": "Room change",
        "description": "Attendees who have to switch rooms between close meetings: for every pair of meetings sharing attendees where the later one starts in a different room no more than two grains after the earlier one ends, the number of shared attendances. One unit of cost is one attendee's room switch; 0 means nobody changes rooms between close meetings.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "room_change_cost",
            "default": "room_change_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "MeetingSchedulingRoomConflictCostConstraint": {
        "type": "object",
        "title": "Room conflict",
        "description": "Two meetings using the same room at the same time: the time grains each such pair overlaps, summed over the pairs. One unit of cost is one overlapping grain; 0 means no room is double-booked.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "room_conflict_cost",
            "default": "room_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "OrderPickingDistanceFromLastPickTaskToPathOriginCostConstraint": {
        "type": "object",
        "title": "Distance back to the start",
        "description": "The distance from a trolley's last pick back to its start location, in meters. One unit of cost is one meter; 0 means every trolley ends its round where it started (an empty trolley never leaves).",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "distance_from_last_pick_task_to_path_origin_cost",
            "default": "distance_from_last_pick_task_to_path_origin_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "OrderPickingDistanceFromPreviousPickTaskCostConstraint": {
        "type": "object",
        "title": "Distance between picks",
        "description": "The distance a trolley travels from its start location to its first pick and from each pick to the next, in meters (the way back is a separate constraint). One unit of cost is one meter; 0 means no trolley has to travel to its picks.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "distance_from_previous_pick_task_cost",
            "default": "distance_from_previous_pick_task_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "OrderPickingInputLocationModel": {
        "additionalProperties": false,
        "description": "A warehouse location: shelving (column, row), side and in-shelving row.",
        "properties": {
          "column": {
            "enum": [
              "A",
              "B",
              "C",
              "D",
              "E"
            ],
            "title": "Column",
            "type": "string"
          },
          "shelving_row": {
            "maximum": 3,
            "minimum": 1,
            "title": "Shelving Row",
            "type": "integer"
          },
          "side": {
            "enum": [
              "LEFT",
              "RIGHT"
            ],
            "title": "Side",
            "type": "string"
          },
          "row": {
            "maximum": 10,
            "minimum": 0,
            "title": "Row",
            "type": "integer"
          }
        },
        "required": [
          "column",
          "shelving_row",
          "side",
          "row"
        ],
        "title": "LocationModel",
        "type": "object"
      },
      "OrderPickingInputOrderModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/OrderPickingInputProductModel"
            },
            "minItems": 1,
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "id",
          "items"
        ],
        "title": "OrderModel",
        "type": "object"
      },
      "OrderPickingInputProductModel": {
        "additionalProperties": false,
        "description": "One order item: an indivisible product at a warehouse location.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "volume": {
            "description": "cm3",
            "exclusiveMinimum": 0,
            "title": "Volume",
            "type": "integer"
          },
          "location": {
            "$ref": "#/components/schemas/OrderPickingInputLocationModel"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          }
        },
        "required": [
          "id",
          "volume",
          "location"
        ],
        "title": "ProductModel",
        "type": "object"
      },
      "OrderPickingInputTrolleyModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "bucket_count": {
            "minimum": 0,
            "title": "Bucket Count",
            "type": "integer"
          },
          "bucket_capacity": {
            "description": "cm3",
            "exclusiveMinimum": 0,
            "title": "Bucket Capacity",
            "type": "integer"
          },
          "location": {
            "$ref": "#/components/schemas/OrderPickingInputLocationModel"
          },
          "initial_route": {
            "description": "Pick task ids (\"<order>-<item position>\") this trolley's route starts from. The solve keeps them as its starting point instead of constructing them, and places only what no route holds.",
            "items": {
              "type": "string"
            },
            "title": "Initial Route",
            "type": "array"
          }
        },
        "required": [
          "id",
          "bucket_count",
          "bucket_capacity",
          "location"
        ],
        "title": "TrolleyModel",
        "type": "object"
      },
      "OrderPickingJobProblem": {
        "additionalProperties": false,
        "description": "The order picking problem with the settings of this run (`time_limit_seconds`, `random_seed`, `parallel_solver_count`).",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "time_limit_seconds": {
            "default": 30.0,
            "description": "Seconds the search may run. Alias: timelimit.",
            "minimum": 0,
            "title": "Time Limit Seconds",
            "type": "number"
          },
          "random_seed": {
            "default": 0,
            "description": "Seed of the first start; start i uses random_seed + i.",
            "title": "Random Seed",
            "type": "integer"
          },
          "parallel_solver_count": {
            "default": 1,
            "description": "Independent starts; the best is returned. Alias: num_workers.",
            "minimum": 1,
            "title": "Parallel Solver Count",
            "type": "integer"
          },
          "stop_at_first_feasible": {
            "default": false,
            "description": "Stop as soon as the hard score is 0.",
            "title": "Stop At First Feasible",
            "type": "boolean"
          },
          "full_assert": {
            "default": false,
            "description": "Check every incremental score against a full recompute (slow; for debugging).",
            "title": "Full Assert",
            "type": "boolean"
          },
          "trolleys": {
            "items": {
              "$ref": "#/components/schemas/OrderPickingInputTrolleyModel"
            },
            "minItems": 1,
            "title": "Trolleys",
            "type": "array"
          },
          "orders": {
            "items": {
              "$ref": "#/components/schemas/OrderPickingInputOrderModel"
            },
            "minItems": 1,
            "title": "Orders",
            "type": "array"
          }
        },
        "required": [
          "trolleys",
          "orders"
        ],
        "title": "OrderPickingRequest",
        "type": "object"
      },
      "OrderPickingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a order picking problem. `request` is the problem, as the engine model's JSON.",
        "properties": {
          "request": {
            "$ref": "#/components/schemas/OrderPickingJobProblem",
            "description": "First argument of `solve_request`, as the engine model's JSON."
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/OrderPickingTrolleyCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/OrderPickingDistanceFromPreviousPickTaskCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/OrderPickingDistanceFromLastPickTaskToPathOriginCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/OrderPickingOrderSplitByTrolleyCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "request"
        ],
        "title": "OrderPickingJobRequest",
        "type": "object"
      },
      "OrderPickingOrderSplitByTrolleyCostConstraint": {
        "type": "object",
        "title": "Order-trolley pairs (order splits)",
        "description": "The number of (order, trolley) pairs: for each trolley, how many different orders have a pick on it. An order kept on one trolley counts 1 and one spread over three trolleys counts 3, so the minimum is the number of orders with assigned picks; 0 only when no pick is assigned.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "order_split_by_trolley_cost",
            "default": "order_split_by_trolley_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "OrderPickingOutputLocationModel": {
        "additionalProperties": false,
        "description": "A warehouse location: shelving (column, row), side and in-shelving row.",
        "properties": {
          "column": {
            "enum": [
              "A",
              "B",
              "C",
              "D",
              "E"
            ],
            "title": "Column",
            "type": "string"
          },
          "shelving_row": {
            "maximum": 3,
            "minimum": 1,
            "title": "Shelving Row",
            "type": "integer"
          },
          "side": {
            "enum": [
              "LEFT",
              "RIGHT"
            ],
            "title": "Side",
            "type": "string"
          },
          "row": {
            "maximum": 10,
            "minimum": 0,
            "title": "Row",
            "type": "integer"
          }
        },
        "required": [
          "column",
          "shelving_row",
          "side",
          "row"
        ],
        "title": "LocationModel",
        "type": "object"
      },
      "OrderPickingOutputPickStop": {
        "additionalProperties": false,
        "properties": {
          "pick_task_id": {
            "title": "Pick Task Id",
            "type": "string"
          },
          "order_id": {
            "title": "Order Id",
            "type": "string"
          },
          "product_name": {
            "title": "Product Name",
            "type": "string"
          },
          "volume": {
            "title": "Volume",
            "type": "integer"
          },
          "location": {
            "$ref": "#/components/schemas/OrderPickingOutputLocationModel"
          }
        },
        "required": [
          "pick_task_id",
          "order_id",
          "product_name",
          "volume",
          "location"
        ],
        "title": "PickStop",
        "type": "object"
      },
      "OrderPickingResult": {
        "additionalProperties": false,
        "properties": {
          "routes": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/OrderPickingOutputPickStop"
              },
              "type": "array"
            },
            "title": "Routes",
            "type": "object"
          },
          "distance_by_trolley": {
            "additionalProperties": {
              "type": "integer"
            },
            "title": "Distance By Trolley",
            "type": "object"
          },
          "unassigned": {
            "items": {
              "type": "string"
            },
            "title": "Unassigned",
            "type": "array"
          },
          "score": {
            "title": "Score",
            "type": "string"
          },
          "feasible": {
            "title": "Feasible",
            "type": "boolean"
          },
          "total_distance": {
            "title": "Total Distance",
            "type": "integer"
          },
          "order_split_count": {
            "title": "Order Split Count",
            "type": "integer"
          }
        },
        "required": [
          "routes",
          "distance_by_trolley",
          "score",
          "feasible",
          "total_distance",
          "order_split_count"
        ],
        "title": "OrderPickingResponse",
        "type": "object"
      },
      "OrderPickingTrolleyCapacityCostConstraint": {
        "type": "object",
        "title": "Trolley bucket capacity",
        "description": "Buckets a trolley needs beyond the buckets it carries. Each order on the trolley rounds its own volume up to whole buckets (orders never share a bucket). One unit of cost is one missing bucket on one trolley; 0 means every trolley has enough buckets.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "trolley_capacity_cost",
            "default": "trolley_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryEnclosingCircleRadiusCostConstraint": {
        "type": "object",
        "title": "Enclosing circle radius",
        "description": "Radius in meters of the smallest circle enclosing each route's stops (depots excluded), to prefer compact routes. One unit of cost is one meter; 0 for a route with fewer than two stops. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "enclosing_circle_radius_cost",
            "default": "enclosing_circle_radius_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryInputDeliveryModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "demand": {
            "minimum": 0,
            "title": "Demand",
            "type": "integer"
          },
          "order_time": {
            "default": 0,
            "description": "When the request was placed, on the plan's clock: negative if it has already been waiting. Only `squared_order_age_cost` reads it.",
            "title": "Order Time",
            "type": "integer"
          },
          "required_vehicle": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The vehicle this request must ride on. Its place on the route stays free.",
            "title": "Required Vehicle"
          },
          "group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "A name shared by requests that are one job. The requests of a group ride one vehicle together, or all stay unassigned; their stops may still be visited in any order, between other stops. None or an empty name is no group.",
            "title": "Group"
          },
          "pickup": {
            "$ref": "#/components/schemas/PickupDeliveryInputStopModel"
          },
          "dropoff": {
            "$ref": "#/components/schemas/PickupDeliveryInputStopModel"
          }
        },
        "required": [
          "id",
          "demand",
          "pickup",
          "dropoff"
        ],
        "title": "DeliveryModel",
        "type": "object"
      },
      "PickupDeliveryInputDepotModel": {
        "additionalProperties": false,
        "description": "A place where routes start or end.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "location": {
            "maxItems": 2,
            "minItems": 2,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "title": "Location",
            "type": "array"
          }
        },
        "required": [
          "id",
          "location"
        ],
        "title": "DepotModel",
        "type": "object"
      },
      "PickupDeliveryInputPdpInput": {
        "additionalProperties": false,
        "properties": {
          "depots": {
            "items": {
              "$ref": "#/components/schemas/PickupDeliveryInputDepotModel"
            },
            "title": "Depots",
            "type": "array"
          },
          "vehicles": {
            "items": {
              "$ref": "#/components/schemas/PickupDeliveryInputVehicleModel"
            },
            "title": "Vehicles",
            "type": "array"
          },
          "deliveries": {
            "items": {
              "$ref": "#/components/schemas/PickupDeliveryInputDeliveryModel"
            },
            "title": "Deliveries",
            "type": "array"
          },
          "profiles": {
            "additionalProperties": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/PickupDeliveryInputTravelProfile"
                },
                {
                  "$ref": "#/components/schemas/TravelProfileUpload"
                }
              ]
            },
            "description": "Travel profiles by name: driving seconds and meters between depots and stops, keyed by their ids, and the requests each profile's vehicles may not carry or are preferred for. Empty (the default): every vehicle drives straight lines between the coordinates and may carry every request.",
            "title": "Profiles",
            "type": "object"
          }
        },
        "required": [
          "depots",
          "vehicles",
          "deliveries"
        ],
        "title": "PdpInput",
        "type": "object"
      },
      "PickupDeliveryInputStopModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "location": {
            "maxItems": 2,
            "minItems": 2,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "title": "Location",
            "type": "array"
          },
          "min_start_time": {
            "default": 0,
            "title": "Min Start Time",
            "type": "integer"
          },
          "max_end_time": {
            "default": 86400,
            "title": "Max End Time",
            "type": "integer"
          },
          "service_duration": {
            "default": 0,
            "minimum": 0,
            "title": "Service Duration",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "location"
        ],
        "title": "StopModel",
        "type": "object"
      },
      "PickupDeliveryInputTravelProfile": {
        "additionalProperties": false,
        "description": "How a kind of vehicle drives (see `optimaru._routing.TravelProfile`), and which requests it carries.",
        "properties": {
          "durations": {
            "anyOf": [
              {
                "additionalProperties": {
                  "additionalProperties": {
                    "type": "integer"
                  },
                  "type": "object"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Driving seconds, `{from_id: {to_id: seconds}}` over depot and stop ids. None drives straight lines at 50 km/h; an empty dict is refused.",
            "title": "Durations"
          },
          "distances": {
            "anyOf": [
              {
                "additionalProperties": {
                  "additionalProperties": {
                    "type": "integer"
                  },
                  "type": "object"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Driving meters, `{from_id: {to_id: meters}}` over depot and stop ids. None drives straight lines (haversine); an empty dict is refused.",
            "title": "Distances"
          },
          "missing_value": {
            "default": 10000000,
            "description": "What a pair the two dicts leave out costs, in seconds or meters. A place to itself costs 0 unless given.",
            "minimum": 0,
            "title": "Missing Value",
            "type": "integer"
          },
          "same_travel_as": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Name of another profile whose durations, distances and missing_value this one drives on, given instead of its own: profiles that differ only in the jobs their vehicles take then share one set of dicts. The named profile gives its own travel.",
            "title": "Same Travel As"
          },
          "forbidden_requests": {
            "description": "Ids of requests a vehicle on this profile may not carry, both stops kept off it: each stop of one it carries costs `profile_forbidden_request_cost` (hard), which every solve scores, listed or not. A request no vehicle may carry stays unassigned.",
            "items": {
              "type": "string"
            },
            "title": "Forbidden Requests",
            "type": "array"
          },
          "preferred_requests": {
            "description": "Ids of requests that should go to a vehicle on this profile: each stop of one carried by a vehicle whose profile does not prefer it costs `profile_preferred_request_cost` (soft). When a vehicle drives on the profile, the constraints of the solve must include that cost; a profile no vehicle drives on prefers nothing.",
            "items": {
              "type": "string"
            },
            "title": "Preferred Requests",
            "type": "array"
          }
        },
        "title": "TravelProfile",
        "type": "object"
      },
      "PickupDeliveryInputVehicleModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "capacity": {
            "minimum": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "start_depot": {
            "description": "Id of the depot the route starts at.",
            "title": "Start Depot",
            "type": "string"
          },
          "end_depot": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Id of the depot the route ends at, the start depot or another. None (the default) is an open route: it ends at its last stop, so no closing leg is driven or counted toward the route end time.",
            "title": "End Depot"
          },
          "profile": {
            "default": "default",
            "description": "Name of the travel profile in `PdpInput.profiles` the vehicle drives on.",
            "title": "Profile",
            "type": "string"
          },
          "departure_time": {
            "default": 0,
            "title": "Departure Time",
            "type": "integer"
          },
          "max_travel_time": {
            "default": 0,
            "minimum": 0,
            "title": "Max Travel Time",
            "type": "integer"
          },
          "max_route_duration": {
            "default": 0,
            "minimum": 0,
            "title": "Max Route Duration",
            "type": "integer"
          },
          "max_end_time": {
            "default": 0,
            "minimum": 0,
            "title": "Max End Time",
            "type": "integer"
          },
          "max_stops": {
            "default": 20,
            "description": "Hard cap on the pickup and dropoff stops one vehicle may serve (a request counts as two). 0 disables the limit; the engine default to 0, this JSON contract defaults to 20.",
            "minimum": 0,
            "title": "Max Stops",
            "type": "integer"
          },
          "min_load_ratio": {
            "default": 0.0,
            "maximum": 1.0,
            "minimum": 0.0,
            "title": "Min Load Ratio",
            "type": "number"
          },
          "fixed_cost": {
            "default": 0.0,
            "minimum": 0.0,
            "title": "Fixed Cost",
            "type": "number"
          },
          "max_route_radius_meters": {
            "default": 0.0,
            "minimum": 0.0,
            "title": "Max Route Radius Meters",
            "type": "number"
          },
          "initial_route": {
            "description": "Stop ids this vehicle's route starts from. The solve keeps them as its starting point instead of constructing them, and places only what no route holds. A request's two stops must both be here or both be absent.",
            "items": {
              "type": "string"
            },
            "title": "Initial Route",
            "type": "array"
          },
          "pinned_stops": {
            "default": 0,
            "description": "How many leading stops of `initial_route` cannot change. The rest may be reordered, moved to another vehicle or have stops inserted between.",
            "minimum": 0,
            "title": "Pinned Stops",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "capacity",
          "start_depot"
        ],
        "title": "VehicleModel",
        "type": "object"
      },
      "PickupDeliveryJobProblem": {
        "additionalProperties": false,
        "description": "The pickup and delivery problem with the settings of this run (`time_limit_seconds`, `random_seed`, `parallel_solver_count`).",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "time_limit_seconds": {
            "default": 30.0,
            "description": "Seconds the search may run. Alias: timelimit.",
            "minimum": 0,
            "title": "Time Limit Seconds",
            "type": "number"
          },
          "random_seed": {
            "default": 0,
            "description": "Seed of the first start; start i uses random_seed + i.",
            "title": "Random Seed",
            "type": "integer"
          },
          "parallel_solver_count": {
            "default": 1,
            "description": "Independent starts; the best is returned. Alias: num_workers.",
            "minimum": 1,
            "title": "Parallel Solver Count",
            "type": "integer"
          },
          "stop_at_first_feasible": {
            "default": false,
            "description": "Stop as soon as the hard score is 0.",
            "title": "Stop At First Feasible",
            "type": "boolean"
          },
          "full_assert": {
            "default": false,
            "description": "Check every incremental score against a full recompute (slow; for debugging).",
            "title": "Full Assert",
            "type": "boolean"
          },
          "model_input": {
            "$ref": "#/components/schemas/PickupDeliveryInputPdpInput"
          }
        },
        "required": [
          "model_input"
        ],
        "title": "PdpRequest",
        "type": "object"
      },
      "PickupDeliveryJobRequest": {
        "additionalProperties": false,
        "description": "Solve a pickup and delivery problem. `request` is the problem, as the engine model's JSON.",
        "properties": {
          "request": {
            "$ref": "#/components/schemas/PickupDeliveryJobProblem",
            "description": "First argument of `solve_request`, as the engine model's JSON."
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/PickupDeliveryVehicleCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryMaxEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryTravelTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryTravelDistanceCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryMaxTravelTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryMaxRouteDurationCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryVehicleMaxEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryMaxStopsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryMaxRouteRadiusCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryEnclosingCircleRadiusCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryMinCapacityUtilizationCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryRouteDurationCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryLatencyCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliverySquaredOrderAgeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryVehicleFixedCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryPinnedStopsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryRequiredVehicleCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryProfileForbiddenRequestCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryProfilePreferredRequestCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryPairedRequestCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliverySameVehicleCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryPickupBeforeDropoffCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryRequestGroupCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/PickupDeliveryUnassignedRequestsCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "request"
        ],
        "title": "PickupDeliveryJobRequest",
        "type": "object"
      },
      "PickupDeliveryLatencyCostConstraint": {
        "type": "object",
        "title": "Latency",
        "description": "The time from each vehicle's departure to its arrival at every stop, summed over the stops. One unit of cost is one second; 0 means no stop is served. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "latency_cost",
            "default": "latency_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryMaxEndTimeCostConstraint": {
        "type": "object",
        "title": "Time window end",
        "description": "Minutes, rounded up, by which a stop's service (arrival + service duration) finishes after its time window closes (`max_end_time`). One unit of cost is one late minute at one stop; 0 means every stop finishes in time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_end_time_cost",
            "default": "max_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryMaxRouteDurationCostConstraint": {
        "type": "object",
        "title": "Maximum route duration",
        "description": "Seconds by which a route's duration (departure to route end, waiting and service included; the leg to the `end_depot` when there is one) exceeds the vehicle's `max_route_duration`. One unit of cost is one second over the limit; 0 means every route is within its limit or has none.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_route_duration_cost",
            "default": "max_route_duration_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryMaxRouteRadiusCostConstraint": {
        "type": "object",
        "title": "Maximum route radius",
        "description": "Meters by which the farthest stop's straight-line distance from the vehicle's `start_depot` exceeds `max_route_radius_meters`. One unit of cost is one meter beyond the radius; 0 means every stop is inside it or no radius is set.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_route_radius_cost",
            "default": "max_route_radius_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryMaxStopsCostConstraint": {
        "type": "object",
        "title": "Maximum stops",
        "description": "Pickup and dropoff stops above the vehicle's `max_stops` (a request counts as two). One unit of cost is one stop over the cap; 0 means every vehicle is within its cap. The JSON model defaults `max_stops` to 20; 0 lifts the cap.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_stops_cost",
            "default": "max_stops_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryMaxTravelTimeCostConstraint": {
        "type": "object",
        "title": "Maximum travel time",
        "description": "Driving seconds above the vehicle's `max_travel_time` (the leg to the `end_depot` counts when there is one). One unit of cost is one second over the limit; 0 means every vehicle is within its limit or has none.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_travel_time_cost",
            "default": "max_travel_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryMinCapacityUtilizationCostConstraint": {
        "type": "object",
        "title": "Minimum capacity utilization",
        "description": "For each used vehicle, how far its delivered demand (the sum of its pickups) falls short of `capacity * min_load_ratio`. One unit of cost is one unit of demand short; 0 means every used vehicle reaches its target or has none.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "min_capacity_utilization_cost",
            "default": "min_capacity_utilization_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryOutputPdpStop": {
        "additionalProperties": false,
        "properties": {
          "stop_id": {
            "title": "Stop Id",
            "type": "string"
          },
          "delivery_id": {
            "title": "Delivery Id",
            "type": "string"
          },
          "pickup": {
            "title": "Pickup",
            "type": "boolean"
          },
          "arrival_time": {
            "title": "Arrival Time",
            "type": "integer"
          }
        },
        "required": [
          "stop_id",
          "delivery_id",
          "pickup",
          "arrival_time"
        ],
        "title": "PdpStop",
        "type": "object"
      },
      "PickupDeliveryOutputVehicleMetrics": {
        "additionalProperties": false,
        "description": "Per-vehicle figures derived from a finished route (post-processing).\n\nNothing here is scored. The numbers are recomputed from the reported stop\norder and arrival times with the vehicle's travel profile, so every\nbackend reports them identically for the same routes.",
        "properties": {
          "stops": {
            "default": 0,
            "title": "Stops",
            "type": "integer"
          },
          "requests": {
            "default": 0,
            "title": "Requests",
            "type": "integer"
          },
          "peak_load": {
            "default": 0,
            "title": "Peak Load",
            "type": "integer"
          },
          "delivered": {
            "default": 0,
            "title": "Delivered",
            "type": "integer"
          },
          "driving_seconds": {
            "default": 0,
            "title": "Driving Seconds",
            "type": "integer"
          },
          "driving_meters": {
            "default": 0,
            "title": "Driving Meters",
            "type": "integer"
          },
          "departure_time": {
            "title": "Departure Time",
            "type": "integer"
          },
          "end_time": {
            "title": "End Time",
            "type": "integer"
          },
          "route_duration_seconds": {
            "default": 0,
            "title": "Route Duration Seconds",
            "type": "integer"
          },
          "waiting_seconds": {
            "default": 0,
            "title": "Waiting Seconds",
            "type": "integer"
          },
          "service_seconds": {
            "default": 0,
            "title": "Service Seconds",
            "type": "integer"
          }
        },
        "required": [
          "departure_time",
          "end_time"
        ],
        "title": "VehicleMetrics",
        "type": "object"
      },
      "PickupDeliveryPairedRequestCostConstraint": {
        "type": "object",
        "title": "Paired request",
        "description": "Requests with only one of their pickup and dropoff routed. One unit of cost is one half-routed request; 0 means every request is routed whole or not at all.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "paired_request_cost",
            "default": "paired_request_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryPickupBeforeDropoffCostConstraint": {
        "type": "object",
        "title": "Pickup before dropoff",
        "description": "Requests whose dropoff comes before their pickup on the same route. One unit of cost is one reversed request; 0 means every pickup precedes its dropoff.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "pickup_before_dropoff_cost",
            "default": "pickup_before_dropoff_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryPinnedStopsCostConstraint": {
        "type": "object",
        "title": "Pinned stops",
        "description": "Positions at the start of a route that do not hold the vehicle's pinned stops, in order. One unit of cost is one misplaced pinned stop; 0 means every route starts with its pinned stops. The weight 1e12 keeps any trade between other hard constraints from moving a pinned stop.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "pinned_stops_cost",
            "default": "pinned_stops_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryProfileForbiddenRequestCostConstraint": {
        "type": "object",
        "title": "Forbidden requests",
        "description": "Stops of requests that a vehicle carries although its travel profile lists them in `forbidden_requests`, such as a load the vehicle cannot take. One unit of cost is one such stop, so a whole request counts 2; 0 means every vehicle carries only requests it may. Always scored, even when a constraint list leaves it out.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "profile_forbidden_request_cost",
            "default": "profile_forbidden_request_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryProfilePreferredRequestCostConstraint": {
        "type": "object",
        "title": "Preferred requests",
        "description": "Stops of requests that some vehicle's travel profile lists in `preferred_requests` but that a vehicle whose profile does not prefer them carries. One unit of cost is one such stop, so a whole request counts 2; 0 means every preferred request rides a vehicle that prefers it, or stays unassigned. The default weight, 300 per stop, trades one such request for ten minutes of driving.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "profile_preferred_request_cost",
            "default": "profile_preferred_request_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryRequestGroupCostConstraint": {
        "type": "object",
        "title": "Request group",
        "description": "Requests that are not where most of their `group` is: on another vehicle, or left unassigned while the others ride (or riding while the others wait). One unit of cost is one such request; 0 means every group rides one vehicle together or waits together.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "request_group_cost",
            "default": "request_group_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryRequiredVehicleCostConstraint": {
        "type": "object",
        "title": "Required vehicle",
        "description": "Requests that are not on their `required_vehicle`: 1 while unassigned, 2 on another vehicle, so a request with no room on its vehicle waits rather than rides the wrong one. 0 means every bound request rides its vehicle.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "required_vehicle_cost",
            "default": "required_vehicle_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryResult": {
        "additionalProperties": false,
        "properties": {
          "routes": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/PickupDeliveryOutputPdpStop"
              },
              "type": "array"
            },
            "title": "Routes",
            "type": "object"
          },
          "unassigned": {
            "items": {
              "type": "string"
            },
            "title": "Unassigned",
            "type": "array"
          },
          "score": {
            "title": "Score",
            "type": "string"
          },
          "feasible": {
            "title": "Feasible",
            "type": "boolean"
          },
          "total_driving_seconds": {
            "title": "Total Driving Seconds",
            "type": "integer"
          },
          "total_driving_meters": {
            "default": 0,
            "title": "Total Driving Meters",
            "type": "integer"
          },
          "vehicle_metrics": {
            "additionalProperties": {
              "$ref": "#/components/schemas/PickupDeliveryOutputVehicleMetrics"
            },
            "title": "Vehicle Metrics",
            "type": "object"
          }
        },
        "required": [
          "routes",
          "score",
          "feasible",
          "total_driving_seconds"
        ],
        "title": "PdpSolution",
        "type": "object"
      },
      "PickupDeliveryRouteDurationCostConstraint": {
        "type": "object",
        "title": "Route duration",
        "description": "Each used vehicle's working time from departure to route end, waiting and service included (the leg to the `end_depot` when there is one). One unit of cost is one second; 0 means no vehicle is used. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "route_duration_cost",
            "default": "route_duration_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliverySameVehicleCostConstraint": {
        "type": "object",
        "title": "Same vehicle",
        "description": "Requests whose pickup and dropoff ride on different vehicles. One unit of cost is one split request; 0 means every routed request stays on one vehicle.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "same_vehicle_cost",
            "default": "same_vehicle_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliverySquaredOrderAgeCostConstraint": {
        "type": "object",
        "title": "Squared order age",
        "description": "For every request, the squared seconds from its `order_time` to the end of its dropoff, so one very old order costs more than several slightly old ones. An unassigned request is charged as if its dropoff finished one hour into the plan. One unit of cost is one second squared; 0 only when every dropoff finishes at its order time. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "squared_order_age_cost",
            "default": "squared_order_age_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryTravelDistanceCostConstraint": {
        "type": "object",
        "title": "Travel distance",
        "description": "Each vehicle's driving meters from its `start_depot` through its stops, plus the leg to its `end_depot` when it has one, from the distances of the vehicle's travel profile. One unit of cost is one meter; 0 means no vehicle drives. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "travel_distance_cost",
            "default": "travel_distance_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryTravelTimeCostConstraint": {
        "type": "object",
        "title": "Travel time",
        "description": "Each vehicle's driving seconds from its `start_depot` through its stops, plus the leg to its `end_depot` when it has one. One unit of cost is one second of driving; 0 means no vehicle drives.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "travel_time_cost",
            "default": "travel_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryUnassignedRequestsCostConstraint": {
        "type": "object",
        "title": "Unassigned requests",
        "description": "Service minutes (pickup plus dropoff, rounded down) of the requests left entirely unrouted, on the medium level. One unit of cost is one minute; 0 means no request is left out. A half-routed request is counted by `paired_request_cost` instead.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "unassigned_requests_cost",
            "default": "unassigned_requests_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryVehicleCapacityCostConstraint": {
        "type": "object",
        "title": "Vehicle capacity",
        "description": "The running load (up at a pickup, down at its dropoff) above the vehicle's capacity, charged at every stop where the excess persists. One unit of cost is one unit of demand over capacity at one stop; 0 means no vehicle is ever overloaded.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "vehicle_capacity_cost",
            "default": "vehicle_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryVehicleFixedCostConstraint": {
        "type": "object",
        "title": "Vehicle fixed cost",
        "description": "Adds `Vehicle.fixed_cost` for every vehicle that serves at least one stop. One unit of cost is one unit of fixed cost; 0 means no vehicle with a fixed cost is used.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "vehicle_fixed_cost",
            "default": "vehicle_fixed_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "PickupDeliveryVehicleMaxEndTimeCostConstraint": {
        "type": "object",
        "title": "Vehicle end time",
        "description": "Seconds by which a route ends (the last stop's departure, or the arrival at the `end_depot` when there is one) after the vehicle's `max_end_time`. One unit of cost is one second late; 0 means every vehicle finishes in time or has no end time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "vehicle_max_end_time_cost",
            "default": "vehicle_max_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ProjectJobSchedulingInputAllocationModel": {
        "additionalProperties": false,
        "description": "The allocation of one job (1:1 with jobs).\n(execution_mode_id, delay) is the decision pair (both None ==\nuninitialized). start_date/end_date are read-only derived results.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "execution_mode_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Execution Mode Id"
          },
          "delay": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Delay"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          },
          "start_date": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Date"
          },
          "end_date": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "End Date"
          }
        },
        "required": [
          "id",
          "job_id"
        ],
        "title": "AllocationModel",
        "type": "object"
      },
      "ProjectJobSchedulingInputExecutionModeModel": {
        "additionalProperties": false,
        "description": "One execution mode of a job (duration + resource demand).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "duration": {
            "default": 0,
            "minimum": 0,
            "title": "Duration",
            "type": "integer"
          },
          "resource_requirements": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingInputResourceRequirementModel"
            },
            "title": "Resource Requirements",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "ExecutionModeModel",
        "type": "object"
      },
      "ProjectJobSchedulingInputJobModel": {
        "additionalProperties": false,
        "description": "A job. SOURCE/SINK are the project's start/end milestones, by convention with one\nexecution mode (duration 0). `successor_job_ids` defines\nprecedence (successor jobs can start once this job ends).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "project_id": {
            "title": "Project Id",
            "type": "string"
          },
          "job_type": {
            "default": "STANDARD",
            "title": "Job Type",
            "type": "string"
          },
          "execution_modes": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingInputExecutionModeModel"
            },
            "title": "Execution Modes",
            "type": "array"
          },
          "successor_job_ids": {
            "items": {
              "type": "string"
            },
            "title": "Successor Job Ids",
            "type": "array"
          }
        },
        "required": [
          "id",
          "project_id"
        ],
        "title": "JobModel",
        "type": "object"
      },
      "ProjectJobSchedulingInputProjectModel": {
        "additionalProperties": false,
        "description": "A project. release_date is only the reference of the project_delay_cost\nconstraint (critical_path_end = release_date + critical_path_duration) and does\nnot force the start.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "release_date": {
            "default": 0,
            "title": "Release Date",
            "type": "integer"
          },
          "critical_path_duration": {
            "default": 0,
            "minimum": 0,
            "title": "Critical Path Duration",
            "type": "integer"
          }
        },
        "required": [
          "id"
        ],
        "title": "ProjectModel",
        "type": "object"
      },
      "ProjectJobSchedulingInputResourceModel": {
        "additionalProperties": false,
        "description": "A resource. Renewable capacity is 'per day', otherwise 'summed over the whole horizon'.\nproject_id None == global resource (always renewable).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "capacity": {
            "minimum": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "renewable": {
            "default": true,
            "title": "Renewable",
            "type": "boolean"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Project Id"
          }
        },
        "required": [
          "id",
          "capacity"
        ],
        "title": "ResourceModel",
        "type": "object"
      },
      "ProjectJobSchedulingInputResourceRequirementModel": {
        "additionalProperties": false,
        "description": "How much of one resource one execution mode uses.",
        "properties": {
          "resource_id": {
            "title": "Resource Id",
            "type": "string"
          },
          "requirement": {
            "minimum": 0,
            "title": "Requirement",
            "type": "integer"
          }
        },
        "required": [
          "resource_id",
          "requirement"
        ],
        "title": "ResourceRequirementModel",
        "type": "object"
      },
      "ProjectJobSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a project job scheduling problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/ProjectJobSchedulingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProjectJobSchedulingNonRenewableResourceCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ProjectJobSchedulingRenewableResourceCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ProjectJobSchedulingProjectDelayCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/ProjectJobSchedulingMakespanCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "ProjectJobSchedulingJobRequest",
        "type": "object"
      },
      "ProjectJobSchedulingMakespanCostConstraint": {
        "type": "object",
        "title": "Makespan",
        "description": "The day the last project finishes: the latest end date of any project's last job (its sink), as a day index counted from day 0 (release dates do not shift the schedule; they only set the project-delay reference). One value for the whole schedule, so only the project that finishes last moves it. One unit of cost is one day; 0 means every project ends on day 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "makespan_cost",
            "default": "makespan_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ProjectJobSchedulingNonRenewableResourceCapacityCostConstraint": {
        "type": "object",
        "title": "Non-renewable resource over capacity",
        "description": "For every non-renewable resource (a stock that is used up, such as a budget), the total requirement of the execution modes chosen for all jobs beyond its capacity, summed over those resources; when the jobs run does not matter. One unit of cost is one resource unit over capacity; 0 means every stock suffices.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "non_renewable_resource_capacity_cost",
            "default": "non_renewable_resource_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ProjectJobSchedulingOutputAllocationModel": {
        "additionalProperties": false,
        "description": "The allocation of one job (1:1 with jobs).\n(execution_mode_id, delay) is the decision pair (both None ==\nuninitialized). start_date/end_date are read-only derived results.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "execution_mode_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Execution Mode Id"
          },
          "delay": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Delay"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          },
          "start_date": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Date"
          },
          "end_date": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "End Date"
          }
        },
        "required": [
          "id",
          "job_id"
        ],
        "title": "AllocationModel",
        "type": "object"
      },
      "ProjectJobSchedulingOutputExecutionModeModel": {
        "additionalProperties": false,
        "description": "One execution mode of a job (duration + resource demand).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "duration": {
            "default": 0,
            "minimum": 0,
            "title": "Duration",
            "type": "integer"
          },
          "resource_requirements": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingOutputResourceRequirementModel"
            },
            "title": "Resource Requirements",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "ExecutionModeModel",
        "type": "object"
      },
      "ProjectJobSchedulingOutputJobModel": {
        "additionalProperties": false,
        "description": "A job. SOURCE/SINK are the project's start/end milestones, by convention with one\nexecution mode (duration 0). `successor_job_ids` defines\nprecedence (successor jobs can start once this job ends).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "project_id": {
            "title": "Project Id",
            "type": "string"
          },
          "job_type": {
            "default": "STANDARD",
            "title": "Job Type",
            "type": "string"
          },
          "execution_modes": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingOutputExecutionModeModel"
            },
            "title": "Execution Modes",
            "type": "array"
          },
          "successor_job_ids": {
            "items": {
              "type": "string"
            },
            "title": "Successor Job Ids",
            "type": "array"
          }
        },
        "required": [
          "id",
          "project_id"
        ],
        "title": "JobModel",
        "type": "object"
      },
      "ProjectJobSchedulingOutputProjectModel": {
        "additionalProperties": false,
        "description": "A project. release_date is only the reference of the project_delay_cost\nconstraint (critical_path_end = release_date + critical_path_duration) and does\nnot force the start.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "release_date": {
            "default": 0,
            "title": "Release Date",
            "type": "integer"
          },
          "critical_path_duration": {
            "default": 0,
            "minimum": 0,
            "title": "Critical Path Duration",
            "type": "integer"
          }
        },
        "required": [
          "id"
        ],
        "title": "ProjectModel",
        "type": "object"
      },
      "ProjectJobSchedulingOutputResourceModel": {
        "additionalProperties": false,
        "description": "A resource. Renewable capacity is 'per day', otherwise 'summed over the whole horizon'.\nproject_id None == global resource (always renewable).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "capacity": {
            "minimum": 0,
            "title": "Capacity",
            "type": "integer"
          },
          "renewable": {
            "default": true,
            "title": "Renewable",
            "type": "boolean"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Project Id"
          }
        },
        "required": [
          "id",
          "capacity"
        ],
        "title": "ResourceModel",
        "type": "object"
      },
      "ProjectJobSchedulingOutputResourceRequirementModel": {
        "additionalProperties": false,
        "description": "How much of one resource one execution mode uses.",
        "properties": {
          "resource_id": {
            "title": "Resource Id",
            "type": "string"
          },
          "requirement": {
            "minimum": 0,
            "title": "Requirement",
            "type": "integer"
          }
        },
        "required": [
          "resource_id",
          "requirement"
        ],
        "title": "ResourceRequirementModel",
        "type": "object"
      },
      "ProjectJobSchedulingProblem": {
        "additionalProperties": false,
        "description": "The problem and its solution. score_* are read-only results, kept as separate fields.",
        "properties": {
          "projects": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingInputProjectModel"
            },
            "title": "Projects",
            "type": "array"
          },
          "resources": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingInputResourceModel"
            },
            "title": "Resources",
            "type": "array"
          },
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingInputJobModel"
            },
            "title": "Jobs",
            "type": "array"
          },
          "allocations": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingInputAllocationModel"
            },
            "title": "Allocations",
            "type": "array"
          },
          "delay_range_size": {
            "default": 500,
            "minimum": 1,
            "title": "Delay Range Size",
            "type": "integer"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_medium": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Medium"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "projects",
          "resources",
          "jobs",
          "allocations"
        ],
        "title": "ProjectJobScheduleModel",
        "type": "object"
      },
      "ProjectJobSchedulingProjectDelayCostConstraint": {
        "type": "object",
        "title": "Project delay",
        "description": "Days by which each project's last job (its sink) ends after the project's critical-path end date (release date + critical path duration), summed over the projects; finishing early earns nothing. One unit of cost is one day of delay; 0 means every project ends on time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "project_delay_cost",
            "default": "project_delay_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ProjectJobSchedulingRenewableResourceCapacityCostConstraint": {
        "type": "object",
        "title": "Renewable resource over daily capacity",
        "description": "For every renewable resource (capacity that is available again each day, such as people or machines) and every day, the requirement of the jobs running that day beyond its capacity, summed over resources and days. One unit of cost is one resource unit over capacity on one day; 0 means no resource is overbooked on any day.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "renewable_resource_capacity_cost",
            "default": "renewable_resource_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "ProjectJobSchedulingResult": {
        "additionalProperties": false,
        "description": "The problem and its solution. score_* are read-only results, kept as separate fields.",
        "properties": {
          "projects": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingOutputProjectModel"
            },
            "title": "Projects",
            "type": "array"
          },
          "resources": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingOutputResourceModel"
            },
            "title": "Resources",
            "type": "array"
          },
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingOutputJobModel"
            },
            "title": "Jobs",
            "type": "array"
          },
          "allocations": {
            "items": {
              "$ref": "#/components/schemas/ProjectJobSchedulingOutputAllocationModel"
            },
            "title": "Allocations",
            "type": "array"
          },
          "delay_range_size": {
            "default": 500,
            "minimum": 1,
            "title": "Delay Range Size",
            "type": "integer"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_medium": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Medium"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "projects",
          "resources",
          "jobs",
          "allocations"
        ],
        "title": "ProjectJobScheduleModel",
        "type": "object"
      },
      "QuadraticAssignmentAssignmentCostConstraint": {
        "type": "object",
        "title": "Assignment cost",
        "description": "The direct cost of placing each facility at its location (assignment_costs), summed over the facilities; 0 without a cost matrix. One unit of cost is one unit of that cost; the matrix may hold negative entries, which lower the cost.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "assignment_cost",
            "default": "assignment_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "QuadraticAssignmentFlowDistanceCostConstraint": {
        "type": "object",
        "title": "Flow-distance cost",
        "description": "The quadratic objective: for every ordered pair of facilities, the flow between them times the distance between their locations, summed. One unit of cost is one unit of flow carried over one unit of distance; 0 means no flow travels any distance.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "flow_distance_cost",
            "default": "flow_distance_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "QuadraticAssignmentForbiddenAssignmentsCostConstraint": {
        "type": "object",
        "title": "Forbidden assignments",
        "description": "Facilities standing at a location a forbidden_assignments row forbids them; a pair listed twice counts once. One unit of cost is one forbidden placement; 0 means no forbidden pair is used.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "forbidden_assignments_cost",
            "default": "forbidden_assignments_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "QuadraticAssignmentInputForbiddenAssignmentModel": {
        "additionalProperties": false,
        "properties": {
          "facility": {
            "title": "Facility",
            "type": "string"
          },
          "location": {
            "title": "Location",
            "type": "string"
          }
        },
        "required": [
          "facility",
          "location"
        ],
        "title": "ForbiddenAssignmentModel",
        "type": "object"
      },
      "QuadraticAssignmentJobRequest": {
        "additionalProperties": false,
        "description": "Solve a quadratic assignment problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/QuadraticAssignmentProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/QuadraticAssignmentPinnedAssignmentsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/QuadraticAssignmentForbiddenAssignmentsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/QuadraticAssignmentLocationCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/QuadraticAssignmentAssignmentCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/QuadraticAssignmentFlowDistanceCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "QuadraticAssignmentJobRequest",
        "type": "object"
      },
      "QuadraticAssignmentLocationCapacityCostConstraint": {
        "type": "object",
        "title": "Location capacity",
        "description": "Demand of the facility at each location beyond the location's capacity, summed over the locations with a capacity; a facility without a facility_demands entry has demand 0. One unit of cost is one unit of demand over capacity; 0 means every location is within its capacity.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "location_capacity_cost",
            "default": "location_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "QuadraticAssignmentOutputForbiddenAssignmentModel": {
        "additionalProperties": false,
        "properties": {
          "facility": {
            "title": "Facility",
            "type": "string"
          },
          "location": {
            "title": "Location",
            "type": "string"
          }
        },
        "required": [
          "facility",
          "location"
        ],
        "title": "ForbiddenAssignmentModel",
        "type": "object"
      },
      "QuadraticAssignmentPinnedAssignmentsCostConstraint": {
        "type": "object",
        "title": "Pinned assignments",
        "description": "Locations listed in fixed_assignments that do not hold their facility (an empty location counts too); two locations pinned to the same facility cost at least 1. One unit of cost is one pin not kept; 0 means every fixed location holds its facility.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "pinned_assignments_cost",
            "default": "pinned_assignments_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "QuadraticAssignmentProblem": {
        "additionalProperties": false,
        "properties": {
          "facilities": {
            "description": "Facilities that must each be assigned once.",
            "items": {
              "type": "string"
            },
            "title": "Facilities",
            "type": "array"
          },
          "locations": {
            "description": "Locations that must each receive one facility.",
            "items": {
              "type": "string"
            },
            "title": "Locations",
            "type": "array"
          },
          "flows": {
            "description": "Facility-to-facility flow matrix.",
            "items": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "title": "Flows",
            "type": "array"
          },
          "distances": {
            "description": "Location-to-location distance matrix.",
            "items": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "title": "Distances",
            "type": "array"
          },
          "assignment_costs": {
            "anyOf": [
              {
                "items": {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional direct facility-to-location assignment cost matrix.",
            "title": "Assignment Costs"
          },
          "fixed_assignments": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Location -> facility that location must hold (scored by pinned_assignments_cost).",
            "title": "Fixed Assignments",
            "type": "object"
          },
          "forbidden_assignments": {
            "description": "Facility-location pairs that must not be used (scored by forbidden_assignments_cost).",
            "items": {
              "$ref": "#/components/schemas/QuadraticAssignmentInputForbiddenAssignmentModel"
            },
            "title": "Forbidden Assignments",
            "type": "array"
          },
          "facility_demands": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Demand per facility; a facility not listed has demand 0.",
            "title": "Facility Demands",
            "type": "object"
          },
          "location_capacities": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Capacity per location; a location not listed has no capacity limit.",
            "title": "Location Capacities",
            "type": "object"
          },
          "assignment": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Solution mapping from location to facility.",
            "title": "Assignment",
            "type": "object"
          },
          "total_cost": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Flow-distance plus direct assignment cost of the assignment, raw.",
            "title": "Total Cost"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from `assignment`, a full bijection.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "facilities",
          "locations",
          "flows",
          "distances"
        ],
        "title": "QuadraticAssignmentProblemModel",
        "type": "object"
      },
      "QuadraticAssignmentResult": {
        "additionalProperties": false,
        "properties": {
          "facilities": {
            "description": "Facilities that must each be assigned once.",
            "items": {
              "type": "string"
            },
            "title": "Facilities",
            "type": "array"
          },
          "locations": {
            "description": "Locations that must each receive one facility.",
            "items": {
              "type": "string"
            },
            "title": "Locations",
            "type": "array"
          },
          "flows": {
            "description": "Facility-to-facility flow matrix.",
            "items": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "title": "Flows",
            "type": "array"
          },
          "distances": {
            "description": "Location-to-location distance matrix.",
            "items": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "title": "Distances",
            "type": "array"
          },
          "assignment_costs": {
            "anyOf": [
              {
                "items": {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional direct facility-to-location assignment cost matrix.",
            "title": "Assignment Costs"
          },
          "fixed_assignments": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Location -> facility that location must hold (scored by pinned_assignments_cost).",
            "title": "Fixed Assignments",
            "type": "object"
          },
          "forbidden_assignments": {
            "description": "Facility-location pairs that must not be used (scored by forbidden_assignments_cost).",
            "items": {
              "$ref": "#/components/schemas/QuadraticAssignmentOutputForbiddenAssignmentModel"
            },
            "title": "Forbidden Assignments",
            "type": "array"
          },
          "facility_demands": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Demand per facility; a facility not listed has demand 0.",
            "title": "Facility Demands",
            "type": "object"
          },
          "location_capacities": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Capacity per location; a location not listed has no capacity limit.",
            "title": "Location Capacities",
            "type": "object"
          },
          "assignment": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Solution mapping from location to facility.",
            "title": "Assignment",
            "type": "object"
          },
          "total_cost": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Flow-distance plus direct assignment cost of the assignment, raw.",
            "title": "Total Cost"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from `assignment`, a full bijection.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "facilities",
          "locations",
          "flows",
          "distances"
        ],
        "title": "QuadraticAssignmentProblemModel",
        "type": "object"
      },
      "SchoolTimetablingAvoidedPeriodCostConstraint": {
        "type": "object",
        "title": "Avoided periods",
        "description": "Lessons placed in a period their subject lists in avoided_periods (a parallel group counts once per member course). One unit of cost is one such lesson; 0 means no lesson sits in an avoided period.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "avoided_period_cost",
            "default": "avoided_period_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingBlockAdjacencyCostConstraint": {
        "type": "object",
        "title": "Consecutive blocks",
        "description": "For each block of consecutive periods, the missing adjacencies on one day plus one per member left out while the rest is placed. 0 means every block sits on one day in consecutive periods.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "block_adjacency_cost",
            "default": "block_adjacency_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingClassConflictCostConstraint": {
        "type": "object",
        "title": "Class double-booking",
        "description": "Pairs of lessons of the same class placed in the same period (a parallel group counts once). One unit of cost is one clashing pair; 0 means no class has two lessons at once.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "class_conflict_cost",
            "default": "class_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingClassGapCostConstraint": {
        "type": "object",
        "title": "Class gaps",
        "description": "Free periods between a class's first and last lesson of a day, summed over classes and days. One unit of cost is one idle period; 0 means every class day is one compact run.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "class_gap_cost",
            "default": "class_gap_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingCourseMaxPeriodsPerDayCostConstraint": {
        "type": "object",
        "title": "Course periods per day",
        "description": "Per course and day, the lessons beyond the course's max_periods_per_day. One unit of cost is one lesson over the cap; 0 means no course exceeds its daily cap.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "course_max_periods_per_day_cost",
            "default": "course_max_periods_per_day_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingDisallowedSlotCostConstraint": {
        "type": "object",
        "title": "Disallowed times",
        "description": "Lessons placed on a time the course may not use: a forbidden slot, or a time a teacher or the class is unavailable. One unit of cost is one such lesson; 0 means every lesson sits on an allowed time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "disallowed_slot_cost",
            "default": "disallowed_slot_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingFixedSlotsCostConstraint": {
        "type": "object",
        "title": "Fixed slots",
        "description": "Lessons of a course that are not at the course's fixed_slots. The engine pins every fixed lesson, so the cost is 0 by construction; it cannot be made soft.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "fixed_slots_cost",
            "default": "fixed_slots_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingInputCalendarModel": {
        "additionalProperties": false,
        "description": "Periods per weekday (0 = Monday); days may differ in length.",
        "properties": {
          "periods_per_day": {
            "additionalProperties": {
              "type": "integer"
            },
            "minProperties": 1,
            "title": "Periods Per Day",
            "type": "object"
          }
        },
        "required": [
          "periods_per_day"
        ],
        "title": "CalendarModel",
        "type": "object"
      },
      "SchoolTimetablingInputClassGroupModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "grade": {
            "minimum": 1,
            "title": "Grade",
            "type": "integer"
          },
          "unavailable": {
            "description": "Slots the class cannot have lessons in.",
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputSlotModel"
            },
            "title": "Unavailable",
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "grade"
        ],
        "title": "ClassGroupModel",
        "type": "object"
      },
      "SchoolTimetablingInputClassroomModel": {
        "additionalProperties": false,
        "description": "A special room. `room_type` is what a subject's `required_room_type` names.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "room_type": {
            "title": "Room Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "room_type"
        ],
        "title": "ClassroomModel",
        "type": "object"
      },
      "SchoolTimetablingInputCourseModel": {
        "additionalProperties": false,
        "description": "One unit to place: a class group, a subject, its teachers and the periods per week.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "class_group_id": {
            "title": "Class Group Id",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          },
          "teacher_ids": {
            "description": "Two or more teach together.",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Teacher Ids",
            "type": "array"
          },
          "periods_per_week": {
            "minimum": 1,
            "title": "Periods Per Week",
            "type": "integer"
          },
          "block_periods": {
            "default": 0,
            "description": "Periods to place in a row; 0 or 1 is no block.",
            "minimum": 0,
            "title": "Block Periods",
            "type": "integer"
          },
          "max_periods_per_day": {
            "default": 1,
            "description": "Most periods of this course on one day.",
            "minimum": 1,
            "title": "Max Periods Per Day",
            "type": "integer"
          },
          "fixed_slots": {
            "description": "Slots the course must be in.",
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputSlotModel"
            },
            "title": "Fixed Slots",
            "type": "array"
          },
          "forbidden_slots": {
            "description": "Slots the course may not be in.",
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputSlotModel"
            },
            "title": "Forbidden Slots",
            "type": "array"
          },
          "parallel_group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Courses that share this value run at the same times (a class split into sections).",
            "title": "Parallel Group"
          }
        },
        "required": [
          "id",
          "class_group_id",
          "subject_id",
          "teacher_ids",
          "periods_per_week"
        ],
        "title": "CourseModel",
        "type": "object"
      },
      "SchoolTimetablingInputScheduledLessonModel": {
        "additionalProperties": false,
        "description": "One placed period of a course.",
        "properties": {
          "course_id": {
            "title": "Course Id",
            "type": "string"
          },
          "class_group_id": {
            "title": "Class Group Id",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          },
          "teacher_ids": {
            "items": {
              "type": "string"
            },
            "title": "Teacher Ids",
            "type": "array"
          },
          "slot": {
            "$ref": "#/components/schemas/SchoolTimetablingInputSlotModel"
          },
          "room_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Room Id"
          }
        },
        "required": [
          "course_id",
          "class_group_id",
          "subject_id",
          "teacher_ids",
          "slot"
        ],
        "title": "ScheduledLessonModel",
        "type": "object"
      },
      "SchoolTimetablingInputSlotModel": {
        "additionalProperties": false,
        "description": "One lesson cell: a weekday (0 = Monday) and a 1-based period.",
        "properties": {
          "day": {
            "maximum": 7,
            "minimum": 0,
            "title": "Day",
            "type": "integer"
          },
          "period": {
            "minimum": 1,
            "title": "Period",
            "type": "integer"
          }
        },
        "required": [
          "day",
          "period"
        ],
        "title": "SlotModel",
        "type": "object"
      },
      "SchoolTimetablingInputStartingLessonModel": {
        "description": "One placed period of a starting solution: the course and the slot are all a warm start reads.\n\nThe other fields of a `ScheduledLessonModel` may be there or not, and keys this model does not\nknow are ignored, so a result from another backend (the solver one, with fields of its own) starts a\nsolve as it is, as it does with ``solve(initial_solution=...)``.",
        "properties": {
          "course_id": {
            "title": "Course Id",
            "type": "string"
          },
          "slot": {
            "$ref": "#/components/schemas/SchoolTimetablingInputStartingSlotModel"
          },
          "class_group_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Class Group Id"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Subject Id"
          },
          "teacher_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Teacher Ids"
          },
          "room_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Room Id"
          }
        },
        "required": [
          "course_id",
          "slot"
        ],
        "title": "StartingLessonModel",
        "type": "object"
      },
      "SchoolTimetablingInputStartingSlotModel": {
        "description": "The slot of a starting lesson: a weekday (0 = Monday) and a 1-based period; other keys are ignored.",
        "properties": {
          "day": {
            "maximum": 7,
            "minimum": 0,
            "title": "Day",
            "type": "integer"
          },
          "period": {
            "minimum": 1,
            "title": "Period",
            "type": "integer"
          }
        },
        "required": [
          "day",
          "period"
        ],
        "title": "StartingSlotModel",
        "type": "object"
      },
      "SchoolTimetablingInputStartingSolutionModel": {
        "description": "A starting solution that is not a whole `TimetableResultModel`: ``{\"lessons\": [...]}`` and nothing else needed.",
        "properties": {
          "lessons": {
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputStartingLessonModel"
            },
            "title": "Lessons",
            "type": "array"
          }
        },
        "required": [
          "lessons"
        ],
        "title": "StartingSolutionModel",
        "type": "object"
      },
      "SchoolTimetablingInputSubjectModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "required_room_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The special room type it needs; None is the class's own room.",
            "title": "Required Room Type"
          },
          "preferred_periods": {
            "description": "Periods it prefers; empty is no preference.",
            "items": {
              "type": "integer"
            },
            "title": "Preferred Periods",
            "type": "array"
          },
          "avoided_periods": {
            "description": "Periods it avoids.",
            "items": {
              "type": "integer"
            },
            "title": "Avoided Periods",
            "type": "array"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "SubjectModel",
        "type": "object"
      },
      "SchoolTimetablingInputTeacherModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "subject_ids": {
            "description": "Subjects the teacher may teach; empty is any.",
            "items": {
              "type": "string"
            },
            "title": "Subject Ids",
            "type": "array"
          },
          "unavailable": {
            "description": "Slots the teacher cannot teach in.",
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputSlotModel"
            },
            "title": "Unavailable",
            "type": "array"
          },
          "max_periods_per_week": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Periods Per Week"
          },
          "max_periods_per_day": {
            "default": 6,
            "minimum": 1,
            "title": "Max Periods Per Day",
            "type": "integer"
          },
          "max_consecutive_periods": {
            "default": 4,
            "description": "Most periods in a row without a break.",
            "minimum": 1,
            "title": "Max Consecutive Periods",
            "type": "integer"
          },
          "preferred_free_days": {
            "description": "Weekdays the teacher would like free.",
            "items": {
              "type": "integer"
            },
            "title": "Preferred Free Days",
            "type": "array"
          },
          "homeroom_class_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "The class group the teacher is homeroom teacher of.",
            "title": "Homeroom Class Id"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "TeacherModel",
        "type": "object"
      },
      "SchoolTimetablingInputTimetableProblemModel": {
        "additionalProperties": false,
        "description": "The timetabling problem `solve()` takes: the pydantic form of the `TimetableProblem` dict.",
        "properties": {
          "calendar": {
            "$ref": "#/components/schemas/SchoolTimetablingInputCalendarModel"
          },
          "subjects": {
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputSubjectModel"
            },
            "title": "Subjects",
            "type": "array"
          },
          "teachers": {
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputTeacherModel"
            },
            "title": "Teachers",
            "type": "array"
          },
          "class_groups": {
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputClassGroupModel"
            },
            "title": "Class Groups",
            "type": "array"
          },
          "rooms": {
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputClassroomModel"
            },
            "title": "Rooms",
            "type": "array"
          },
          "courses": {
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputCourseModel"
            },
            "title": "Courses",
            "type": "array"
          }
        },
        "required": [
          "calendar",
          "subjects",
          "teachers",
          "class_groups",
          "courses"
        ],
        "title": "TimetableProblemModel",
        "type": "object"
      },
      "SchoolTimetablingInputTimetableResultModel": {
        "additionalProperties": false,
        "description": "What `solve()` returns for a `TimetableProblemModel`: the pydantic form of the `Timetable` dict.",
        "properties": {
          "status": {
            "description": "FEASIBLE or INFEASIBLE from the engine.",
            "title": "Status",
            "type": "string"
          },
          "lessons": {
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingInputScheduledLessonModel"
            },
            "title": "Lessons",
            "type": "array"
          },
          "objective_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Objective Value"
          },
          "best_objective_bound": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Best Objective Bound"
          },
          "wall_time_seconds": {
            "default": 0.0,
            "title": "Wall Time Seconds",
            "type": "number"
          },
          "penalties": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Raw violation per soft constraint.",
            "title": "Penalties",
            "type": "object"
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "title": "Notes",
            "type": "array"
          }
        },
        "required": [
          "status"
        ],
        "title": "TimetableResultModel",
        "type": "object"
      },
      "SchoolTimetablingJobProblem": {
        "additionalProperties": false,
        "description": "The school timetabling problem with the settings of this run (`time_limit_seconds`, `random_seed`, `parallel_solver_count`).",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "time_limit_seconds": {
            "default": 30.0,
            "description": "Seconds the search may run. Alias: timelimit.",
            "minimum": 0,
            "title": "Time Limit Seconds",
            "type": "number"
          },
          "random_seed": {
            "default": 0,
            "description": "Seed of the first start; start i uses random_seed + i.",
            "title": "Random Seed",
            "type": "integer"
          },
          "parallel_solver_count": {
            "default": 1,
            "description": "Independent starts; the best is returned. Alias: num_workers.",
            "minimum": 1,
            "title": "Parallel Solver Count",
            "type": "integer"
          },
          "stop_at_first_feasible": {
            "default": false,
            "description": "Stop as soon as the hard score is 0.",
            "title": "Stop At First Feasible",
            "type": "boolean"
          },
          "full_assert": {
            "default": false,
            "description": "Check every incremental score against a full recompute (slow; for debugging).",
            "title": "Full Assert",
            "type": "boolean"
          },
          "model_input": {
            "$ref": "#/components/schemas/SchoolTimetablingInputTimetableProblemModel"
          },
          "mode": {
            "default": "canonical",
            "description": "canonical: every constraint; quickstart: the approximate domain.",
            "enum": [
              "canonical",
              "quickstart"
            ],
            "title": "Mode",
            "type": "string"
          },
          "weights": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "number"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Soft weights by constraint name, for the default fast path (canonical mode).",
            "title": "Weights"
          },
          "initial_solution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SchoolTimetablingInputTimetableResultModel"
              },
              {
                "$ref": "#/components/schemas/SchoolTimetablingInputStartingSolutionModel"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "An earlier result to start from; its lessons are matched by course id. A lesson needs its course_id and slot only.",
            "title": "Initial Solution"
          }
        },
        "required": [
          "model_input"
        ],
        "title": "TimetableRequest",
        "type": "object"
      },
      "SchoolTimetablingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a school timetabling problem. `request` is the problem, as the engine model's JSON.",
        "properties": {
          "request": {
            "$ref": "#/components/schemas/SchoolTimetablingJobProblem",
            "description": "First argument of `solve_request`, as the engine model's JSON."
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingUnassignedLessonsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingClassConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingTeacherConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingDisallowedSlotCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingRoomCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingCourseMaxPeriodsPerDayCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingBlockAdjacencyCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingTeacherMaxPeriodsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingTeacherMaxConsecutivePeriodsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingTeacherGapCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingTeacherWorkdayCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingTeacherFreeDayCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingClassGapCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingAvoidedPeriodCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingNonPreferredPeriodCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingFixedSlotsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SchoolTimetablingParallelGroupsCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "request"
        ],
        "title": "SchoolTimetablingJobRequest",
        "type": "object"
      },
      "SchoolTimetablingNonPreferredPeriodCostConstraint": {
        "type": "object",
        "title": "Non-preferred periods",
        "description": "Lessons whose subject lists preferred_periods but that sit in another period (a subject without preferences never counts). One unit of cost is one such lesson; 0 means every lesson with a preference sits in a preferred period.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "non_preferred_period_cost",
            "default": "non_preferred_period_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingOutputScheduledLessonModel": {
        "additionalProperties": false,
        "description": "One placed period of a course.",
        "properties": {
          "course_id": {
            "title": "Course Id",
            "type": "string"
          },
          "class_group_id": {
            "title": "Class Group Id",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          },
          "teacher_ids": {
            "items": {
              "type": "string"
            },
            "title": "Teacher Ids",
            "type": "array"
          },
          "slot": {
            "$ref": "#/components/schemas/SchoolTimetablingOutputSlotModel"
          },
          "room_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Room Id"
          }
        },
        "required": [
          "course_id",
          "class_group_id",
          "subject_id",
          "teacher_ids",
          "slot"
        ],
        "title": "ScheduledLessonModel",
        "type": "object"
      },
      "SchoolTimetablingOutputSlotModel": {
        "additionalProperties": false,
        "description": "One lesson cell: a weekday (0 = Monday) and a 1-based period.",
        "properties": {
          "day": {
            "maximum": 7,
            "minimum": 0,
            "title": "Day",
            "type": "integer"
          },
          "period": {
            "minimum": 1,
            "title": "Period",
            "type": "integer"
          }
        },
        "required": [
          "day",
          "period"
        ],
        "title": "SlotModel",
        "type": "object"
      },
      "SchoolTimetablingParallelGroupsCostConstraint": {
        "type": "object",
        "title": "Parallel groups",
        "description": "Sections of one parallel_group (a class split into groups taught at the same time) placed at different times. The engine merges each group into one lesson, so the cost is 0 by construction; it cannot be made soft.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "parallel_groups_cost",
            "default": "parallel_groups_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingResult": {
        "additionalProperties": false,
        "description": "What `solve()` returns for a `TimetableProblemModel`: the pydantic form of the `Timetable` dict.",
        "properties": {
          "status": {
            "description": "FEASIBLE or INFEASIBLE from the engine.",
            "title": "Status",
            "type": "string"
          },
          "lessons": {
            "items": {
              "$ref": "#/components/schemas/SchoolTimetablingOutputScheduledLessonModel"
            },
            "title": "Lessons",
            "type": "array"
          },
          "objective_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Objective Value"
          },
          "best_objective_bound": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Best Objective Bound"
          },
          "wall_time_seconds": {
            "default": 0.0,
            "title": "Wall Time Seconds",
            "type": "number"
          },
          "penalties": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Raw violation per soft constraint.",
            "title": "Penalties",
            "type": "object"
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "title": "Notes",
            "type": "array"
          }
        },
        "required": [
          "status"
        ],
        "title": "TimetableResultModel",
        "type": "object"
      },
      "SchoolTimetablingRoomCapacityCostConstraint": {
        "type": "object",
        "title": "Special-room capacity",
        "description": "Per special-room type and period, the lessons that need such a room beyond the rooms the school has. One unit of cost is one lesson without a room; 0 means every special-room lesson finds a room.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "room_capacity_cost",
            "default": "room_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingTeacherConflictCostConstraint": {
        "type": "object",
        "title": "Teacher double-booking",
        "description": "Pairs of lessons in the same period that share a teacher, counted once per shared teacher (team teaching included). One unit of cost is one clashing pair; 0 means no teacher stands in two lessons at once.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "teacher_conflict_cost",
            "default": "teacher_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingTeacherFreeDayCostConstraint": {
        "type": "object",
        "title": "Worked requested free days",
        "description": "Days a teacher asked to keep free (preferred_free_days) on which they still have a lesson. One unit of cost is one worked requested free day; 0 means every requested free day stays free.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "teacher_free_day_cost",
            "default": "teacher_free_day_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingTeacherGapCostConstraint": {
        "type": "object",
        "title": "Teacher gaps",
        "description": "Free periods between a teacher's first and last lesson of a day, summed over teachers and days. One unit of cost is one idle period; 0 means every teacher's day is one compact run.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "teacher_gap_cost",
            "default": "teacher_gap_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingTeacherMaxConsecutivePeriodsCostConstraint": {
        "type": "object",
        "title": "Teacher consecutive periods",
        "description": "Per teacher and day, the periods of each unbroken run beyond max_consecutive_periods. One unit of cost is one period over the limit; 0 means no teacher teaches longer runs than allowed.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "teacher_max_consecutive_periods_cost",
            "default": "teacher_max_consecutive_periods_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingTeacherMaxPeriodsCostConstraint": {
        "type": "object",
        "title": "Teacher period limits",
        "description": "Per teacher, the periods beyond max_periods_per_day on each day plus the periods beyond max_periods_per_week in the week. One unit of cost is one period over a cap; 0 means every teacher is within both caps.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "teacher_max_periods_cost",
            "default": "teacher_max_periods_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingTeacherWorkdayCostConstraint": {
        "type": "object",
        "title": "Teacher workdays",
        "description": "The days each teacher has at least one lesson, summed over teachers. One unit of cost is one teacher-day; it pulls each teacher's lessons onto fewer days (0 only without lessons).",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "teacher_workday_cost",
            "default": "teacher_workday_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SchoolTimetablingUnassignedLessonsCostConstraint": {
        "type": "object",
        "title": "Unassigned lessons",
        "description": "Weekly periods of a course that have no time slot. One unit of cost is one unplaced period; 0 means every course gets all of its weekly periods.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "unassigned_lessons_cost",
            "default": "unassigned_lessons_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingAuxiliaryResourceCapacityCostConstraint": {
        "type": "object",
        "title": "Auxiliary resource capacity",
        "description": "For every operator, reticle, fixture or transporter, the time during which more operations use it than its capacity, weighted by the excess (an operation listing a resource twice uses it twice). One unit is one use-time unit above capacity; 0 means no resource is over-used.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "auxiliary_resource_capacity_cost",
            "default": "auxiliary_resource_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingAuxiliaryResourceUnavailabilityCostConstraint": {
        "type": "object",
        "title": "Auxiliary resource unavailability",
        "description": "The time operations use an auxiliary resource inside its unavailable windows. One unit is one time unit of use while unavailable; 0 means no resource is used while it is unavailable.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "auxiliary_resource_unavailability_cost",
            "default": "auxiliary_resource_unavailability_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingBatchCapacityCostConstraint": {
        "type": "object",
        "title": "Batch capacity",
        "description": "On every batch tool, the time during which it runs more lots than its batch capacity, weighted by the excess. One unit is one lot-time unit above capacity; 0 means no batch tool is overfilled.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "batch_capacity_cost",
            "default": "batch_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingBatchFamilyConflictCostConstraint": {
        "type": "object",
        "title": "Batch recipe-family conflict",
        "description": "On every batch tool, the time two lots of different recipe families run at the same time, summed over the overlapping pairs. One unit is one time unit of mixed families; 0 means every batch run holds one family.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "batch_family_conflict_cost",
            "default": "batch_family_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingCycleTimeCostConstraint": {
        "type": "object",
        "title": "Total cycle time",
        "description": "For every lot with a completed route, the time from its release to its completion, summed. One unit is one time unit; 0 means no lot has completed its route.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "cycle_time_cost",
            "default": "cycle_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingInputAssignmentModel": {
        "additionalProperties": false,
        "properties": {
          "lot_id": {
            "title": "Lot Id",
            "type": "string"
          },
          "operation_id": {
            "title": "Operation Id",
            "type": "string"
          },
          "machine_id": {
            "title": "Machine Id",
            "type": "string"
          },
          "start": {
            "minimum": 0,
            "title": "Start",
            "type": "integer"
          },
          "end": {
            "exclusiveMinimum": 0,
            "title": "End",
            "type": "integer"
          },
          "batch_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Batch Id"
          }
        },
        "required": [
          "lot_id",
          "operation_id",
          "machine_id",
          "start",
          "end"
        ],
        "title": "AssignmentModel",
        "type": "object"
      },
      "SemiconductorSchedulingInputAuxiliaryResourceModel": {
        "additionalProperties": false,
        "description": "Reusable operator, reticle, fixture, or transport resource.",
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "capacity": {
            "default": 1,
            "minimum": 1,
            "title": "Capacity",
            "type": "integer"
          },
          "unavailable": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputTimeWindowModel"
            },
            "title": "Unavailable",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "AuxiliaryResourceModel",
        "type": "object"
      },
      "SemiconductorSchedulingInputLotModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "product": {
            "minLength": 1,
            "title": "Product",
            "type": "string"
          },
          "release_time": {
            "default": 0,
            "minimum": 0,
            "title": "Release Time",
            "type": "integer"
          },
          "due_time": {
            "exclusiveMinimum": 0,
            "title": "Due Time",
            "type": "integer"
          },
          "priority": {
            "default": 1,
            "minimum": 1,
            "title": "Priority",
            "type": "integer"
          },
          "max_cycle_time": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum elapsed time from lot release to completion.",
            "title": "Max Cycle Time"
          },
          "operations": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputOperationModel"
            },
            "minItems": 1,
            "title": "Operations",
            "type": "array"
          }
        },
        "required": [
          "id",
          "product",
          "due_time",
          "operations"
        ],
        "title": "LotModel",
        "type": "object"
      },
      "SemiconductorSchedulingInputMachineModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "group": {
            "description": "Equipment group, for example LITHO or ETCH.",
            "minLength": 1,
            "title": "Group",
            "type": "string"
          },
          "batch_capacity": {
            "default": 1,
            "description": "Simultaneous compatible-lot capacity; 1 denotes a unary tool.",
            "minimum": 1,
            "title": "Batch Capacity",
            "type": "integer"
          },
          "minimum_batch_size": {
            "default": 1,
            "description": "Preferred minimum number of compatible lots in one batch run.",
            "minimum": 1,
            "title": "Minimum Batch Size",
            "type": "integer"
          },
          "unavailable": {
            "description": "Preventive-maintenance and other machine downtime windows.",
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputTimeWindowModel"
            },
            "title": "Unavailable",
            "type": "array"
          }
        },
        "required": [
          "id",
          "group"
        ],
        "title": "MachineModel",
        "type": "object"
      },
      "SemiconductorSchedulingInputMachineOptionModel": {
        "additionalProperties": false,
        "properties": {
          "machine_id": {
            "title": "Machine Id",
            "type": "string"
          },
          "duration": {
            "exclusiveMinimum": 0,
            "title": "Duration",
            "type": "integer"
          },
          "preference_cost": {
            "default": 0,
            "minimum": 0,
            "title": "Preference Cost",
            "type": "integer"
          }
        },
        "required": [
          "machine_id",
          "duration"
        ],
        "title": "MachineOptionModel",
        "type": "object"
      },
      "SemiconductorSchedulingInputOperationModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "family": {
            "description": "Recipe/family used for batching and setup transitions.",
            "minLength": 1,
            "title": "Family",
            "type": "string"
          },
          "eligible_machines": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputMachineOptionModel"
            },
            "minItems": 1,
            "title": "Eligible Machines",
            "type": "array"
          },
          "required_resources": {
            "description": "Operators, reticles, fixtures, or other auxiliary resources required while processing.",
            "items": {
              "type": "string"
            },
            "title": "Required Resources",
            "type": "array"
          },
          "min_queue_time": {
            "default": 0,
            "description": "Minimum hold or transport wait after this operation before the next route step.",
            "minimum": 0,
            "title": "Min Queue Time",
            "type": "integer"
          },
          "max_queue_time": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum waiting time after this operation before the next route step starts.",
            "title": "Max Queue Time"
          }
        },
        "required": [
          "id",
          "family",
          "eligible_machines"
        ],
        "title": "OperationModel",
        "type": "object"
      },
      "SemiconductorSchedulingInputSetupTimeModel": {
        "additionalProperties": false,
        "properties": {
          "machine_group": {
            "title": "Machine Group",
            "type": "string"
          },
          "from_family": {
            "title": "From Family",
            "type": "string"
          },
          "to_family": {
            "title": "To Family",
            "type": "string"
          },
          "duration": {
            "minimum": 0,
            "title": "Duration",
            "type": "integer"
          }
        },
        "required": [
          "machine_group",
          "from_family",
          "to_family",
          "duration"
        ],
        "title": "SetupTimeModel",
        "type": "object"
      },
      "SemiconductorSchedulingInputTimeWindowModel": {
        "additionalProperties": false,
        "properties": {
          "start": {
            "minimum": 0,
            "title": "Start",
            "type": "integer"
          },
          "end": {
            "exclusiveMinimum": 0,
            "title": "End",
            "type": "integer"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "title": "TimeWindowModel",
        "type": "object"
      },
      "SemiconductorSchedulingInputTransportTimeModel": {
        "additionalProperties": false,
        "properties": {
          "from_group": {
            "title": "From Group",
            "type": "string"
          },
          "to_group": {
            "title": "To Group",
            "type": "string"
          },
          "duration": {
            "minimum": 0,
            "title": "Duration",
            "type": "integer"
          }
        },
        "required": [
          "from_group",
          "to_group",
          "duration"
        ],
        "title": "TransportTimeModel",
        "type": "object"
      },
      "SemiconductorSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a semiconductor fab scheduling problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/SemiconductorSchedulingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMachineEligibilityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingLotRoutePrecedenceCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMachineCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingBatchCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingBatchFamilyConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMissingSetupTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMachineUnavailabilityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMaxQueueTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMinQueueTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMissingTransportTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingAuxiliaryResourceCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingAuxiliaryResourceUnavailabilityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingPinnedAssignmentsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMaxCycleTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMachinePreferenceCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMinBatchSizeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMachineLoadImbalanceCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingWeightedTardinessCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingCycleTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SemiconductorSchedulingMakespanCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "SemiconductorSchedulingJobRequest",
        "type": "object"
      },
      "SemiconductorSchedulingLotRoutePrecedenceCostConstraint": {
        "type": "object",
        "title": "Lot route precedence",
        "description": "The time a lot's first step starts before the lot's release, plus the time each route step starts before the previous step ends. One unit is one time unit too early; 0 means every lot starts after its release and follows its route in order.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "lot_route_precedence_cost",
            "default": "lot_route_precedence_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMachineCapacityCostConstraint": {
        "type": "object",
        "title": "Unary equipment capacity",
        "description": "On every tool that processes one lot at a time, the time during which more than one lot runs, weighted by how many lots are too many. One unit is one lot-time unit of overload; 0 means no two lots overlap on a unary tool.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "machine_capacity_cost",
            "default": "machine_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMachineEligibilityCostConstraint": {
        "type": "object",
        "title": "Eligible equipment",
        "description": "Counts every operation that has no assignment, runs on a machine none of its options names, or runs longer or shorter than that option's duration. One unit is one such operation; 0 means every operation runs on an eligible tool for exactly its duration.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "machine_eligibility_cost",
            "default": "machine_eligibility_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMachineLoadImbalanceCostConstraint": {
        "type": "object",
        "title": "Equipment-group load imbalance",
        "description": "In every equipment group with two or more machines, the difference between the most and the least loaded machine, a load being the summed processing time. One unit is one time unit of difference; 0 means every group is evenly loaded.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "machine_load_imbalance_cost",
            "default": "machine_load_imbalance_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMachinePreferenceCostConstraint": {
        "type": "object",
        "title": "Equipment preference",
        "description": "The qualification, yield or operating preference cost of the machine option each operation runs on. One unit is one unit of preference cost; 0 means only zero-cost tools are used.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "machine_preference_cost",
            "default": "machine_preference_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMachineUnavailabilityCostConstraint": {
        "type": "object",
        "title": "Equipment unavailability",
        "description": "The processing time that falls inside a machine's unavailable windows (preventive maintenance or other downtime). One unit is one time unit of work during downtime; 0 means nothing runs while its machine is down.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "machine_unavailability_cost",
            "default": "machine_unavailability_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMakespanCostConstraint": {
        "type": "object",
        "title": "Makespan",
        "description": "The latest completion time among the lots that completed their route. One unit is one time unit; 0 means no lot has completed its route.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "makespan_cost",
            "default": "makespan_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMaxCycleTimeCostConstraint": {
        "type": "object",
        "title": "Maximum cycle time",
        "description": "For every lot with a maximum cycle time and a completed route, the time from release to completion beyond that maximum. One unit is one time unit over; 0 means every lot completes within its maximum.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_cycle_time_cost",
            "default": "max_cycle_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMaxQueueTimeCostConstraint": {
        "type": "object",
        "title": "Maximum queue time",
        "description": "After every route step with a maximum queue time, the wait before the next step starts beyond that limit. One unit is one time unit of excess waiting; 0 means every lot moves on in time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_queue_time_cost",
            "default": "max_queue_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMinBatchSizeCostConstraint": {
        "type": "object",
        "title": "Batch below minimum size",
        "description": "For every batch run (one recipe family and batch id on a batch tool), the lots missing to reach the tool's minimum batch size. One unit is one missing lot; 0 means every batch run is full enough.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "min_batch_size_cost",
            "default": "min_batch_size_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMinQueueTimeCostConstraint": {
        "type": "object",
        "title": "Minimum queue time",
        "description": "After every route step, the part of its minimum hold time that the lot did not wait before the next step started (with no minimum, an overlap of the two steps counts too). One unit is one time unit short; 0 means every hold time is respected.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "min_queue_time_cost",
            "default": "min_queue_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMissingSetupTimeCostConstraint": {
        "type": "object",
        "title": "Missing setup time",
        "description": "Between consecutive runs on a machine that need a setup for their recipe change, the part of the setup time that does not fit before the next run starts. One unit is one time unit of missing setup; 0 means every required setup fits.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "missing_setup_time_cost",
            "default": "missing_setup_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingMissingTransportTimeCostConstraint": {
        "type": "object",
        "title": "Missing transport time",
        "description": "Between consecutive route steps, the part of the transport time between their equipment groups that does not fit into the wait (without a transport entry, an overlap of the two steps counts too). One unit is one time unit short; 0 means every transfer fits.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "missing_transport_time_cost",
            "default": "missing_transport_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingOutputAssignmentModel": {
        "additionalProperties": false,
        "properties": {
          "lot_id": {
            "title": "Lot Id",
            "type": "string"
          },
          "operation_id": {
            "title": "Operation Id",
            "type": "string"
          },
          "machine_id": {
            "title": "Machine Id",
            "type": "string"
          },
          "start": {
            "minimum": 0,
            "title": "Start",
            "type": "integer"
          },
          "end": {
            "exclusiveMinimum": 0,
            "title": "End",
            "type": "integer"
          },
          "batch_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Batch Id"
          }
        },
        "required": [
          "lot_id",
          "operation_id",
          "machine_id",
          "start",
          "end"
        ],
        "title": "AssignmentModel",
        "type": "object"
      },
      "SemiconductorSchedulingOutputAuxiliaryResourceModel": {
        "additionalProperties": false,
        "description": "Reusable operator, reticle, fixture, or transport resource.",
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "capacity": {
            "default": 1,
            "minimum": 1,
            "title": "Capacity",
            "type": "integer"
          },
          "unavailable": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputTimeWindowModel"
            },
            "title": "Unavailable",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "AuxiliaryResourceModel",
        "type": "object"
      },
      "SemiconductorSchedulingOutputLotModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "product": {
            "minLength": 1,
            "title": "Product",
            "type": "string"
          },
          "release_time": {
            "default": 0,
            "minimum": 0,
            "title": "Release Time",
            "type": "integer"
          },
          "due_time": {
            "exclusiveMinimum": 0,
            "title": "Due Time",
            "type": "integer"
          },
          "priority": {
            "default": 1,
            "minimum": 1,
            "title": "Priority",
            "type": "integer"
          },
          "max_cycle_time": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum elapsed time from lot release to completion.",
            "title": "Max Cycle Time"
          },
          "operations": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputOperationModel"
            },
            "minItems": 1,
            "title": "Operations",
            "type": "array"
          }
        },
        "required": [
          "id",
          "product",
          "due_time",
          "operations"
        ],
        "title": "LotModel",
        "type": "object"
      },
      "SemiconductorSchedulingOutputMachineModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "group": {
            "description": "Equipment group, for example LITHO or ETCH.",
            "minLength": 1,
            "title": "Group",
            "type": "string"
          },
          "batch_capacity": {
            "default": 1,
            "description": "Simultaneous compatible-lot capacity; 1 denotes a unary tool.",
            "minimum": 1,
            "title": "Batch Capacity",
            "type": "integer"
          },
          "minimum_batch_size": {
            "default": 1,
            "description": "Preferred minimum number of compatible lots in one batch run.",
            "minimum": 1,
            "title": "Minimum Batch Size",
            "type": "integer"
          },
          "unavailable": {
            "description": "Preventive-maintenance and other machine downtime windows.",
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputTimeWindowModel"
            },
            "title": "Unavailable",
            "type": "array"
          }
        },
        "required": [
          "id",
          "group"
        ],
        "title": "MachineModel",
        "type": "object"
      },
      "SemiconductorSchedulingOutputMachineOptionModel": {
        "additionalProperties": false,
        "properties": {
          "machine_id": {
            "title": "Machine Id",
            "type": "string"
          },
          "duration": {
            "exclusiveMinimum": 0,
            "title": "Duration",
            "type": "integer"
          },
          "preference_cost": {
            "default": 0,
            "minimum": 0,
            "title": "Preference Cost",
            "type": "integer"
          }
        },
        "required": [
          "machine_id",
          "duration"
        ],
        "title": "MachineOptionModel",
        "type": "object"
      },
      "SemiconductorSchedulingOutputOperationModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "title": "Id",
            "type": "string"
          },
          "family": {
            "description": "Recipe/family used for batching and setup transitions.",
            "minLength": 1,
            "title": "Family",
            "type": "string"
          },
          "eligible_machines": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputMachineOptionModel"
            },
            "minItems": 1,
            "title": "Eligible Machines",
            "type": "array"
          },
          "required_resources": {
            "description": "Operators, reticles, fixtures, or other auxiliary resources required while processing.",
            "items": {
              "type": "string"
            },
            "title": "Required Resources",
            "type": "array"
          },
          "min_queue_time": {
            "default": 0,
            "description": "Minimum hold or transport wait after this operation before the next route step.",
            "minimum": 0,
            "title": "Min Queue Time",
            "type": "integer"
          },
          "max_queue_time": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum waiting time after this operation before the next route step starts.",
            "title": "Max Queue Time"
          }
        },
        "required": [
          "id",
          "family",
          "eligible_machines"
        ],
        "title": "OperationModel",
        "type": "object"
      },
      "SemiconductorSchedulingOutputSetupTimeModel": {
        "additionalProperties": false,
        "properties": {
          "machine_group": {
            "title": "Machine Group",
            "type": "string"
          },
          "from_family": {
            "title": "From Family",
            "type": "string"
          },
          "to_family": {
            "title": "To Family",
            "type": "string"
          },
          "duration": {
            "minimum": 0,
            "title": "Duration",
            "type": "integer"
          }
        },
        "required": [
          "machine_group",
          "from_family",
          "to_family",
          "duration"
        ],
        "title": "SetupTimeModel",
        "type": "object"
      },
      "SemiconductorSchedulingOutputTimeWindowModel": {
        "additionalProperties": false,
        "properties": {
          "start": {
            "minimum": 0,
            "title": "Start",
            "type": "integer"
          },
          "end": {
            "exclusiveMinimum": 0,
            "title": "End",
            "type": "integer"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "title": "TimeWindowModel",
        "type": "object"
      },
      "SemiconductorSchedulingOutputTransportTimeModel": {
        "additionalProperties": false,
        "properties": {
          "from_group": {
            "title": "From Group",
            "type": "string"
          },
          "to_group": {
            "title": "To Group",
            "type": "string"
          },
          "duration": {
            "minimum": 0,
            "title": "Duration",
            "type": "integer"
          }
        },
        "required": [
          "from_group",
          "to_group",
          "duration"
        ],
        "title": "TransportTimeModel",
        "type": "object"
      },
      "SemiconductorSchedulingPinnedAssignmentsCostConstraint": {
        "type": "object",
        "title": "Pinned assignments",
        "description": "Counts the pinned assignments whose operation is missing or runs on another machine, start or end. One unit is one moved pin; 0 means every pin is kept.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "pinned_assignments_cost",
            "default": "pinned_assignments_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SemiconductorSchedulingProblem": {
        "additionalProperties": false,
        "description": "Re-entrant semiconductor-fab lot and equipment scheduling contract.",
        "properties": {
          "machines": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputMachineModel"
            },
            "minItems": 1,
            "title": "Machines",
            "type": "array"
          },
          "auxiliary_resources": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputAuxiliaryResourceModel"
            },
            "title": "Auxiliary Resources",
            "type": "array"
          },
          "setup_times": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputSetupTimeModel"
            },
            "title": "Setup Times",
            "type": "array"
          },
          "transport_times": {
            "description": "Minimum inter-operation transport time between equipment groups.",
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputTransportTimeModel"
            },
            "title": "Transport Times",
            "type": "array"
          },
          "lots": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputLotModel"
            },
            "minItems": 1,
            "title": "Lots",
            "type": "array"
          },
          "pinned_assignments": {
            "description": "Frozen operation assignments retained during real-time replanning.",
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputAssignmentModel"
            },
            "title": "Pinned Assignments",
            "type": "array"
          },
          "assignments": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingInputAssignmentModel"
            },
            "title": "Assignments",
            "type": "array"
          },
          "makespan": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Makespan"
          },
          "total_weighted_tardiness": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Total Weighted Tardiness"
          },
          "total_cycle_time": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Total Cycle Time"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from `assignments`; a complete seed is scored as supplied, not decoded.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "machines",
          "lots"
        ],
        "title": "SemiconductorScheduleModel",
        "type": "object"
      },
      "SemiconductorSchedulingResult": {
        "additionalProperties": false,
        "description": "Re-entrant semiconductor-fab lot and equipment scheduling contract.",
        "properties": {
          "machines": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputMachineModel"
            },
            "minItems": 1,
            "title": "Machines",
            "type": "array"
          },
          "auxiliary_resources": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputAuxiliaryResourceModel"
            },
            "title": "Auxiliary Resources",
            "type": "array"
          },
          "setup_times": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputSetupTimeModel"
            },
            "title": "Setup Times",
            "type": "array"
          },
          "transport_times": {
            "description": "Minimum inter-operation transport time between equipment groups.",
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputTransportTimeModel"
            },
            "title": "Transport Times",
            "type": "array"
          },
          "lots": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputLotModel"
            },
            "minItems": 1,
            "title": "Lots",
            "type": "array"
          },
          "pinned_assignments": {
            "description": "Frozen operation assignments retained during real-time replanning.",
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputAssignmentModel"
            },
            "title": "Pinned Assignments",
            "type": "array"
          },
          "assignments": {
            "items": {
              "$ref": "#/components/schemas/SemiconductorSchedulingOutputAssignmentModel"
            },
            "title": "Assignments",
            "type": "array"
          },
          "makespan": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Makespan"
          },
          "total_weighted_tardiness": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Total Weighted Tardiness"
          },
          "total_cycle_time": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Total Cycle Time"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          },
          "warm_start": {
            "default": false,
            "description": "Start the search from `assignments`; a complete seed is scored as supplied, not decoded.",
            "title": "Warm Start",
            "type": "boolean"
          }
        },
        "required": [
          "machines",
          "lots"
        ],
        "title": "SemiconductorScheduleModel",
        "type": "object"
      },
      "SemiconductorSchedulingWeightedTardinessCostConstraint": {
        "type": "object",
        "title": "Weighted lot tardiness",
        "description": "For every lot with a completed route, the time its completion passes its due time, multiplied by the lot's priority. One unit is one priority-weighted time unit late; 0 means every lot is on time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "weighted_tardiness_cost",
            "default": "weighted_tardiness_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SolveJobRead": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "kind": {
            "$ref": "#/components/schemas/JobKind"
          },
          "status": {
            "$ref": "#/components/schemas/JobStatus"
          },
          "use_case": {
            "$ref": "#/components/schemas/UseCaseSlug"
          },
          "solve_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SolveStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Warnings",
            "description": "Parts of the request that were ignored, for example a field of the Python call that this API does not take. The job was solved without them. Empty when nothing was ignored."
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At"
          },
          "started_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started At"
          },
          "finished_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finished At"
          },
          "status_url": {
            "type": "string",
            "title": "Status Url"
          },
          "result_url": {
            "type": "string",
            "title": "Result Url"
          }
        },
        "type": "object",
        "required": [
          "id",
          "kind",
          "status",
          "use_case",
          "created_at",
          "status_url",
          "result_url"
        ],
        "title": "SolveJobRead",
        "description": "The state of one job."
      },
      "SolveJobStatusRead": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "status": {
            "$ref": "#/components/schemas/JobStatus"
          },
          "solve_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SolveStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Warnings",
            "description": "Parts of the request that were ignored, for example a field of the Python call that this API does not take. The job was solved without them. Empty when nothing was ignored."
          },
          "status_url": {
            "type": "string",
            "title": "Status Url"
          },
          "result_url": {
            "type": "string",
            "title": "Result Url"
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "status_url",
          "result_url"
        ],
        "title": "SolveJobStatusRead",
        "description": "Compact polling response for a use-case solve job."
      },
      "SolveStatus": {
        "type": "string",
        "enum": [
          "OPTIMAL",
          "FEASIBLE",
          "INFEASIBLE",
          "MODEL_INVALID",
          "UNKNOWN"
        ],
        "title": "SolveStatus",
        "description": "The solver's answer. Separate from the job's lifecycle: an INFEASIBLE answer is a succeeded job."
      },
      "SportsLeagueSchedulingAwayToAwayHopCostConstraint": {
        "type": "object",
        "title": "Away-to-away travel",
        "description": "Kilometres a team playing away in two consecutive rounds travels straight from one host's ground to the next. One unit of cost is one kilometre; 0 means no such trip.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "away_to_away_hop_cost",
            "default": "away_to_away_hop_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingAwayToEndHopCostConstraint": {
        "type": "object",
        "title": "Travel home after the last round",
        "description": "Kilometres each away team travels home after a match in a round with no round index right after it (the season's last round, or the last round before a gap in the indices). One unit of cost is one kilometre; 0 means no such trip.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "away_to_end_hop_cost",
            "default": "away_to_end_hop_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingAwayToHomeHopCostConstraint": {
        "type": "object",
        "title": "Away-to-home travel",
        "description": "Kilometres a team travels back home when it plays away in one round and at home in the next (the distance of the earlier away match). One unit of cost is one kilometre; 0 means no such trip.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "away_to_home_hop_cost",
            "default": "away_to_home_hop_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingConsecutiveAwayMatchesCostConstraint": {
        "type": "object",
        "title": "Consecutive away matches",
        "description": "For each team, the full length of every run of four or more consecutive rounds played away (a run of 4 costs 4). One unit of cost is one round of such a run; 0 means no team plays away more than three rounds in a row.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "consecutive_away_matches_cost",
            "default": "consecutive_away_matches_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingConsecutiveHomeMatchesCostConstraint": {
        "type": "object",
        "title": "Consecutive home matches",
        "description": "For each team, the full length of every run of four or more consecutive rounds played at home (a run of 4 costs 4). One unit of cost is one round of such a run; 0 means no team plays at home more than three rounds in a row.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "consecutive_home_matches_cost",
            "default": "consecutive_home_matches_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingHomeToAwayHopCostConstraint": {
        "type": "object",
        "title": "Home-to-away travel",
        "description": "Kilometres a team travels from its home ground to the next host when it plays at home in one round and away in the next. One unit of cost is one kilometre; 0 means no such trip.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "home_to_away_hop_cost",
            "default": "home_to_away_hop_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingInputMatchModel": {
        "additionalProperties": false,
        "description": "One match. round is a position in the rounds list (-1 = unassigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "home_team": {
            "minimum": 0,
            "title": "Home Team",
            "type": "integer"
          },
          "away_team": {
            "minimum": 0,
            "title": "Away Team",
            "type": "integer"
          },
          "classic_match": {
            "default": false,
            "title": "Classic Match",
            "type": "boolean"
          },
          "round": {
            "default": -1,
            "title": "Round",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "home_team",
          "away_team"
        ],
        "title": "MatchModel",
        "type": "object"
      },
      "SportsLeagueSchedulingInputRoundModel": {
        "additionalProperties": false,
        "description": "A round, the value a match is assigned. index is the round number the\nconstraints use (same day / next day / first / last checks), weekend_or_holiday feeds\nworkday_classic_matches_cost.",
        "properties": {
          "index": {
            "minimum": 0,
            "title": "Index",
            "type": "integer"
          },
          "weekend_or_holiday": {
            "default": false,
            "title": "Weekend Or Holiday",
            "type": "boolean"
          }
        },
        "required": [
          "index"
        ],
        "title": "RoundModel",
        "type": "object"
      },
      "SportsLeagueSchedulingInputTeamModel": {
        "additionalProperties": false,
        "description": "Problem fact: a team. A match's home/away reference positions in the team list.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "TeamModel",
        "type": "object"
      },
      "SportsLeagueSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a sports league scheduling problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/SportsLeagueSchedulingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingStartToAwayHopCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingAwayToEndHopCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingWorkdayClassicMatchesCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingTeamConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingConsecutiveHomeMatchesCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingConsecutiveAwayMatchesCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingRepeatMatchOnNextDayCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingHomeToAwayHopCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingAwayToAwayHopCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/SportsLeagueSchedulingAwayToHomeHopCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "SportsLeagueSchedulingJobRequest",
        "type": "object"
      },
      "SportsLeagueSchedulingOutputMatchModel": {
        "additionalProperties": false,
        "description": "One match. round is a position in the rounds list (-1 = unassigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "home_team": {
            "minimum": 0,
            "title": "Home Team",
            "type": "integer"
          },
          "away_team": {
            "minimum": 0,
            "title": "Away Team",
            "type": "integer"
          },
          "classic_match": {
            "default": false,
            "title": "Classic Match",
            "type": "boolean"
          },
          "round": {
            "default": -1,
            "title": "Round",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "home_team",
          "away_team"
        ],
        "title": "MatchModel",
        "type": "object"
      },
      "SportsLeagueSchedulingOutputRoundModel": {
        "additionalProperties": false,
        "description": "A round, the value a match is assigned. index is the round number the\nconstraints use (same day / next day / first / last checks), weekend_or_holiday feeds\nworkday_classic_matches_cost.",
        "properties": {
          "index": {
            "minimum": 0,
            "title": "Index",
            "type": "integer"
          },
          "weekend_or_holiday": {
            "default": false,
            "title": "Weekend Or Holiday",
            "type": "boolean"
          }
        },
        "required": [
          "index"
        ],
        "title": "RoundModel",
        "type": "object"
      },
      "SportsLeagueSchedulingOutputTeamModel": {
        "additionalProperties": false,
        "description": "Problem fact: a team. A match's home/away reference positions in the team list.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "TeamModel",
        "type": "object"
      },
      "SportsLeagueSchedulingProblem": {
        "additionalProperties": false,
        "description": "Pydantic mirror of the schedule. score is a read-only result, kept as a separate field.",
        "properties": {
          "teams": {
            "items": {
              "$ref": "#/components/schemas/SportsLeagueSchedulingInputTeamModel"
            },
            "title": "Teams",
            "type": "array"
          },
          "rounds": {
            "items": {
              "$ref": "#/components/schemas/SportsLeagueSchedulingInputRoundModel"
            },
            "title": "Rounds",
            "type": "array"
          },
          "matches": {
            "items": {
              "$ref": "#/components/schemas/SportsLeagueSchedulingInputMatchModel"
            },
            "title": "Matches",
            "type": "array"
          },
          "distance_to_team": {
            "items": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "title": "Distance To Team",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "teams",
          "rounds",
          "matches"
        ],
        "title": "LeagueScheduleModel",
        "type": "object"
      },
      "SportsLeagueSchedulingRepeatMatchOnNextDayCostConstraint": {
        "type": "object",
        "title": "Return match in the next round",
        "description": "Matches whose return fixture (home and away swapped) is played in the very next round, counted at most once per match. One unit of cost is one such match; 0 means no return fixture follows immediately.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "repeat_match_on_next_day_cost",
            "default": "repeat_match_on_next_day_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingResult": {
        "additionalProperties": false,
        "description": "Pydantic mirror of the schedule. score is a read-only result, kept as a separate field.",
        "properties": {
          "teams": {
            "items": {
              "$ref": "#/components/schemas/SportsLeagueSchedulingOutputTeamModel"
            },
            "title": "Teams",
            "type": "array"
          },
          "rounds": {
            "items": {
              "$ref": "#/components/schemas/SportsLeagueSchedulingOutputRoundModel"
            },
            "title": "Rounds",
            "type": "array"
          },
          "matches": {
            "items": {
              "$ref": "#/components/schemas/SportsLeagueSchedulingOutputMatchModel"
            },
            "title": "Matches",
            "type": "array"
          },
          "distance_to_team": {
            "items": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "title": "Distance To Team",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "teams",
          "rounds",
          "matches"
        ],
        "title": "LeagueScheduleModel",
        "type": "object"
      },
      "SportsLeagueSchedulingStartToAwayHopCostConstraint": {
        "type": "object",
        "title": "Travel to the first round",
        "description": "Kilometres each away team travels from its home to a match in a round with no round index right before it (the season's first round, or the first round after a gap in the indices). One unit of cost is one kilometre; 0 means no such trip.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "start_to_away_hop_cost",
            "default": "start_to_away_hop_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingTeamConflictCostConstraint": {
        "type": "object",
        "title": "Team conflict",
        "description": "Pairs of matches in the same round that share a team; a pair sharing both teams counts once. One unit of cost is one such pair; 0 means no team plays twice in a round.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "team_conflict_cost",
            "default": "team_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "SportsLeagueSchedulingWorkdayClassicMatchesCostConstraint": {
        "type": "object",
        "title": "Derby on a workday",
        "description": "Classic matches (derbies) played in a round that is neither a weekend nor a holiday. One unit of cost is one such derby (default weight 1000); 0 means every derby is on a weekend or holiday.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "workday_classic_matches_cost",
            "default": "workday_classic_matches_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TaskAssigningCriticalPriorityTaskEndTimeCostConstraint": {
        "type": "object",
        "title": "Critical task end times",
        "description": "The end time (minutes) of every CRITICAL-priority task, summed, so critical work is scheduled early. One unit of cost is one minute; 0 means no CRITICAL task is assigned.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "critical_priority_task_end_time_cost",
            "default": "critical_priority_task_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TaskAssigningInputCustomerModel": {
        "additionalProperties": false,
        "description": "A customer (problem fact).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "CustomerModel",
        "type": "object"
      },
      "TaskAssigningInputEmployeeModel": {
        "additionalProperties": false,
        "description": "An employee. `tasks` is the decision variable — the ordered\nlist of task ids this employee performs back to back. Customers missing from\n`customer_to_affinity` count as NONE (multiplier 4).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "full_name": {
            "default": "",
            "title": "Full Name",
            "type": "string"
          },
          "skills": {
            "items": {
              "type": "string"
            },
            "title": "Skills",
            "type": "array"
          },
          "customer_to_affinity": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Customer To Affinity",
            "type": "object"
          },
          "tasks": {
            "items": {
              "type": "string"
            },
            "title": "Tasks",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "EmployeeModel",
        "type": "object"
      },
      "TaskAssigningInputTaskModel": {
        "additionalProperties": false,
        "description": "One task to perform. Which employee does it is decided by\n`EmployeeModel.tasks` (an ordered list of task ids).\n`start_time` is the computed start (minutes; None when unassigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "task_type_code": {
            "title": "Task Type Code",
            "type": "string"
          },
          "index_in_task_type": {
            "default": 1,
            "title": "Index In Task Type",
            "type": "integer"
          },
          "customer_id": {
            "title": "Customer Id",
            "type": "string"
          },
          "min_start_time": {
            "default": 0,
            "minimum": 0,
            "title": "Min Start Time",
            "type": "integer"
          },
          "priority": {
            "default": "MINOR",
            "title": "Priority",
            "type": "string"
          },
          "start_time": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Time"
          }
        },
        "required": [
          "id",
          "task_type_code",
          "customer_id"
        ],
        "title": "TaskModel",
        "type": "object"
      },
      "TaskAssigningInputTaskTypeModel": {
        "additionalProperties": false,
        "description": "A task type. base_duration is the base duration in minutes (before the affinity\nmultiplier).",
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "title": {
            "default": "",
            "title": "Title",
            "type": "string"
          },
          "base_duration": {
            "minimum": 0,
            "title": "Base Duration",
            "type": "integer"
          },
          "required_skills": {
            "items": {
              "type": "string"
            },
            "title": "Required Skills",
            "type": "array"
          }
        },
        "required": [
          "code",
          "base_duration"
        ],
        "title": "TaskTypeModel",
        "type": "object"
      },
      "TaskAssigningJobRequest": {
        "additionalProperties": false,
        "description": "Solve a task assigning problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/TaskAssigningProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/TaskAssigningRequiredSkillCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/TaskAssigningSquaredMakespanCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/TaskAssigningCriticalPriorityTaskEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/TaskAssigningMajorPriorityTaskEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/TaskAssigningMinorPriorityTaskEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/TaskAssigningUnassignedTasksCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "TaskAssigningJobRequest",
        "type": "object"
      },
      "TaskAssigningMajorPriorityTaskEndTimeCostConstraint": {
        "type": "object",
        "title": "Major task end times",
        "description": "The end time (minutes) of every MAJOR-priority task, summed, so major work is scheduled early. One unit of cost is one minute; 0 means no MAJOR task is assigned.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "major_priority_task_end_time_cost",
            "default": "major_priority_task_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TaskAssigningMinorPriorityTaskEndTimeCostConstraint": {
        "type": "object",
        "title": "Minor task end times",
        "description": "The end time (minutes) of every MINOR-priority task, summed: the baseline the critical and major constraints weigh four and two times as heavily. One unit of cost is one minute; 0 means no MINOR task is assigned.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "minor_priority_task_end_time_cost",
            "default": "minor_priority_task_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TaskAssigningOutputCustomerModel": {
        "additionalProperties": false,
        "description": "A customer (problem fact).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "default": "",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "CustomerModel",
        "type": "object"
      },
      "TaskAssigningOutputEmployeeModel": {
        "additionalProperties": false,
        "description": "An employee. `tasks` is the decision variable — the ordered\nlist of task ids this employee performs back to back. Customers missing from\n`customer_to_affinity` count as NONE (multiplier 4).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "full_name": {
            "default": "",
            "title": "Full Name",
            "type": "string"
          },
          "skills": {
            "items": {
              "type": "string"
            },
            "title": "Skills",
            "type": "array"
          },
          "customer_to_affinity": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Customer To Affinity",
            "type": "object"
          },
          "tasks": {
            "items": {
              "type": "string"
            },
            "title": "Tasks",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "EmployeeModel",
        "type": "object"
      },
      "TaskAssigningOutputTaskModel": {
        "additionalProperties": false,
        "description": "One task to perform. Which employee does it is decided by\n`EmployeeModel.tasks` (an ordered list of task ids).\n`start_time` is the computed start (minutes; None when unassigned).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "task_type_code": {
            "title": "Task Type Code",
            "type": "string"
          },
          "index_in_task_type": {
            "default": 1,
            "title": "Index In Task Type",
            "type": "integer"
          },
          "customer_id": {
            "title": "Customer Id",
            "type": "string"
          },
          "min_start_time": {
            "default": 0,
            "minimum": 0,
            "title": "Min Start Time",
            "type": "integer"
          },
          "priority": {
            "default": "MINOR",
            "title": "Priority",
            "type": "string"
          },
          "start_time": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Start Time"
          }
        },
        "required": [
          "id",
          "task_type_code",
          "customer_id"
        ],
        "title": "TaskModel",
        "type": "object"
      },
      "TaskAssigningOutputTaskTypeModel": {
        "additionalProperties": false,
        "description": "A task type. base_duration is the base duration in minutes (before the affinity\nmultiplier).",
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "title": {
            "default": "",
            "title": "Title",
            "type": "string"
          },
          "base_duration": {
            "minimum": 0,
            "title": "Base Duration",
            "type": "integer"
          },
          "required_skills": {
            "items": {
              "type": "string"
            },
            "title": "Required Skills",
            "type": "array"
          }
        },
        "required": [
          "code",
          "base_duration"
        ],
        "title": "TaskTypeModel",
        "type": "object"
      },
      "TaskAssigningProblem": {
        "additionalProperties": false,
        "description": "Pydantic mirror of the solution. score_* are read-only results, kept as separate fields\n(the four score levels, [1]hard/[3]soft).",
        "properties": {
          "task_types": {
            "items": {
              "$ref": "#/components/schemas/TaskAssigningInputTaskTypeModel"
            },
            "title": "Task Types",
            "type": "array"
          },
          "customers": {
            "items": {
              "$ref": "#/components/schemas/TaskAssigningInputCustomerModel"
            },
            "title": "Customers",
            "type": "array"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/TaskAssigningInputTaskModel"
            },
            "title": "Tasks",
            "type": "array"
          },
          "employees": {
            "items": {
              "$ref": "#/components/schemas/TaskAssigningInputEmployeeModel"
            },
            "title": "Employees",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft0": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft0"
          },
          "score_soft1": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft1"
          },
          "score_soft2": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft2"
          }
        },
        "required": [
          "task_types",
          "customers",
          "tasks",
          "employees"
        ],
        "title": "TaskAssigningSolutionModel",
        "type": "object"
      },
      "TaskAssigningRequiredSkillCostConstraint": {
        "type": "object",
        "title": "Required skills",
        "description": "Required skills of each assigned task's type that its employee does not have, summed over the employee's tasks (one task can miss several). One unit of cost is one missing skill; 0 means every assigned task is done by a fully skilled employee.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "required_skill_cost",
            "default": "required_skill_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TaskAssigningResult": {
        "additionalProperties": false,
        "description": "Pydantic mirror of the solution. score_* are read-only results, kept as separate fields\n(the four score levels, [1]hard/[3]soft).",
        "properties": {
          "task_types": {
            "items": {
              "$ref": "#/components/schemas/TaskAssigningOutputTaskTypeModel"
            },
            "title": "Task Types",
            "type": "array"
          },
          "customers": {
            "items": {
              "$ref": "#/components/schemas/TaskAssigningOutputCustomerModel"
            },
            "title": "Customers",
            "type": "array"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/TaskAssigningOutputTaskModel"
            },
            "title": "Tasks",
            "type": "array"
          },
          "employees": {
            "items": {
              "$ref": "#/components/schemas/TaskAssigningOutputEmployeeModel"
            },
            "title": "Employees",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft0": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft0"
          },
          "score_soft1": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft1"
          },
          "score_soft2": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft2"
          }
        },
        "required": [
          "task_types",
          "customers",
          "tasks",
          "employees"
        ],
        "title": "TaskAssigningSolutionModel",
        "type": "object"
      },
      "TaskAssigningSquaredMakespanCostConstraint": {
        "type": "object",
        "title": "Squared makespan",
        "description": "The square of each employee's end time (the end of the last task on the list, in minutes), summed over the employees, which spreads work away from the busiest employee. One unit of cost is one squared minute; 0 means no employee has any task.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "squared_makespan_cost",
            "default": "squared_makespan_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TaskAssigningUnassignedTasksCostConstraint": {
        "type": "object",
        "title": "Unassigned tasks",
        "description": "The number of tasks on no employee's list, on the medium level (below the missing skills, above every soft term). One unit of cost is one unassigned task; 0 means every task is assigned.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "unassigned_tasks_cost",
            "default": "unassigned_tasks_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TournamentSchedulingAssignmentCountImbalanceCostConstraint": {
        "type": "object",
        "title": "Uneven assignment counts across teams",
        "description": "How unevenly the match slots are spread over the teams that play, on the medium level: sqrt(sum(count^2) - sum(count)^2 / n) over the n teams with at least one assignment, rounded to 6 significant figures. One unit of cost is one unit of that spread; 0 means every playing team holds the same number of assignments.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "assignment_count_imbalance_cost",
            "default": "assignment_count_imbalance_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TournamentSchedulingConfrontationCountImbalanceCostConstraint": {
        "type": "object",
        "title": "Uneven head-to-head counts across team pairs",
        "description": "How unevenly the head-to-head meetings are spread over the team pairs that meet: sqrt(sum(count^2) - sum(count)^2 / n) over the n pairs with at least one same-day meeting, rounded to 6 significant figures. One unit of cost is one unit of that spread; 0 means every meeting pair meets equally often.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "confrontation_count_imbalance_cost",
            "default": "confrontation_count_imbalance_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TournamentSchedulingInputDayModel": {
        "additionalProperties": false,
        "description": "A match day. date_index is informational (references use the days list index).",
        "properties": {
          "date_index": {
            "minimum": 0,
            "title": "Date Index",
            "type": "integer"
          }
        },
        "required": [
          "date_index"
        ],
        "title": "DayModel",
        "type": "object"
      },
      "TournamentSchedulingInputTeamAssignmentModel": {
        "additionalProperties": false,
        "description": "One match slot of a day. team is the decision variable\n(None == unassigned); ids must be unique.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "day": {
            "minimum": 0,
            "title": "Day",
            "type": "integer"
          },
          "index_in_day": {
            "default": 0,
            "minimum": 0,
            "title": "Index In Day",
            "type": "integer"
          },
          "team": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Team"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "day"
        ],
        "title": "TeamAssignmentModel",
        "type": "object"
      },
      "TournamentSchedulingInputTeamModel": {
        "additionalProperties": false,
        "description": "A participating team, identified by its list index.",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "TeamModel",
        "type": "object"
      },
      "TournamentSchedulingInputUnavailabilityPenaltyModel": {
        "additionalProperties": false,
        "description": "Unavailability: one hard point when (team, day) has at least one assignment.",
        "properties": {
          "team": {
            "minimum": 0,
            "title": "Team",
            "type": "integer"
          },
          "day": {
            "minimum": 0,
            "title": "Day",
            "type": "integer"
          }
        },
        "required": [
          "team",
          "day"
        ],
        "title": "UnavailabilityPenaltyModel",
        "type": "object"
      },
      "TournamentSchedulingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a tournament scheduling problem. `problem` is the problem, as the engine model's JSON.",
        "properties": {
          "problem": {
            "$ref": "#/components/schemas/TournamentSchedulingProblem",
            "description": "First argument of `solve`, as the engine model's JSON."
          },
          "time_limit_seconds": {
            "anyOf": [
              {
                "exclusiveMinimum": 0,
                "maximum": 1000000000.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Wall-clock budget in seconds, at most 1,000,000,000. Null keeps the default of 30 seconds.",
            "title": "Time Limit Seconds"
          },
          "random_seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Random seed. The same seed fixes each run's randomness, but the result can still differ between runs. Null keeps the default.",
            "title": "Random Seed"
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/TournamentSchedulingTeamConflictCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/TournamentSchedulingTeamUnavailabilityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/TournamentSchedulingAssignmentCountImbalanceCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/TournamentSchedulingConfrontationCountImbalanceCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "problem"
        ],
        "title": "TournamentSchedulingJobRequest",
        "type": "object"
      },
      "TournamentSchedulingOutputDayModel": {
        "additionalProperties": false,
        "description": "A match day. date_index is informational (references use the days list index).",
        "properties": {
          "date_index": {
            "minimum": 0,
            "title": "Date Index",
            "type": "integer"
          }
        },
        "required": [
          "date_index"
        ],
        "title": "DayModel",
        "type": "object"
      },
      "TournamentSchedulingOutputTeamAssignmentModel": {
        "additionalProperties": false,
        "description": "One match slot of a day. team is the decision variable\n(None == unassigned); ids must be unique.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "day": {
            "minimum": 0,
            "title": "Day",
            "type": "integer"
          },
          "index_in_day": {
            "default": 0,
            "minimum": 0,
            "title": "Index In Day",
            "type": "integer"
          },
          "team": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Team"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "day"
        ],
        "title": "TeamAssignmentModel",
        "type": "object"
      },
      "TournamentSchedulingOutputTeamModel": {
        "additionalProperties": false,
        "description": "A participating team, identified by its list index.",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "TeamModel",
        "type": "object"
      },
      "TournamentSchedulingOutputUnavailabilityPenaltyModel": {
        "additionalProperties": false,
        "description": "Unavailability: one hard point when (team, day) has at least one assignment.",
        "properties": {
          "team": {
            "minimum": 0,
            "title": "Team",
            "type": "integer"
          },
          "day": {
            "minimum": 0,
            "title": "Day",
            "type": "integer"
          }
        },
        "required": [
          "team",
          "day"
        ],
        "title": "UnavailabilityPenaltyModel",
        "type": "object"
      },
      "TournamentSchedulingProblem": {
        "additionalProperties": false,
        "description": "Pydantic mirror of the schedule. score is a read-only result, kept as a separate field.",
        "properties": {
          "teams": {
            "items": {
              "$ref": "#/components/schemas/TournamentSchedulingInputTeamModel"
            },
            "title": "Teams",
            "type": "array"
          },
          "days": {
            "items": {
              "$ref": "#/components/schemas/TournamentSchedulingInputDayModel"
            },
            "title": "Days",
            "type": "array"
          },
          "unavailability_penalties": {
            "items": {
              "$ref": "#/components/schemas/TournamentSchedulingInputUnavailabilityPenaltyModel"
            },
            "title": "Unavailability Penalties",
            "type": "array"
          },
          "team_assignments": {
            "items": {
              "$ref": "#/components/schemas/TournamentSchedulingInputTeamAssignmentModel"
            },
            "title": "Team Assignments",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "teams",
          "days"
        ],
        "title": "TournamentScheduleModel",
        "type": "object"
      },
      "TournamentSchedulingResult": {
        "additionalProperties": false,
        "description": "Pydantic mirror of the schedule. score is a read-only result, kept as a separate field.",
        "properties": {
          "teams": {
            "items": {
              "$ref": "#/components/schemas/TournamentSchedulingOutputTeamModel"
            },
            "title": "Teams",
            "type": "array"
          },
          "days": {
            "items": {
              "$ref": "#/components/schemas/TournamentSchedulingOutputDayModel"
            },
            "title": "Days",
            "type": "array"
          },
          "unavailability_penalties": {
            "items": {
              "$ref": "#/components/schemas/TournamentSchedulingOutputUnavailabilityPenaltyModel"
            },
            "title": "Unavailability Penalties",
            "type": "array"
          },
          "team_assignments": {
            "items": {
              "$ref": "#/components/schemas/TournamentSchedulingOutputTeamAssignmentModel"
            },
            "title": "Team Assignments",
            "type": "array"
          },
          "score_hard": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Hard"
          },
          "score_soft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Score Soft"
          }
        },
        "required": [
          "teams",
          "days"
        ],
        "title": "TournamentScheduleModel",
        "type": "object"
      },
      "TournamentSchedulingTeamConflictCostConstraint": {
        "type": "object",
        "title": "Team double-booked on a day",
        "description": "A team given more than one match slot on the same day. Each pair of a team's assignments on one day costs 1 (c assignments on a day give c(c-1)/2); 0 means every team plays at most once a day.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "team_conflict_cost",
            "default": "team_conflict_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TournamentSchedulingTeamUnavailabilityCostConstraint": {
        "type": "object",
        "title": "Team plays on an unavailable day",
        "description": "A team scheduled on a day it cannot play. Each unavailability fact whose team holds at least one assignment on that day costs 1, however many assignments it holds there; 0 means no team plays on an unavailable day.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "team_unavailability_cost",
            "default": "team_unavailability_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "TravelProfileUpload": {
        "type": "object",
        "title": "Travel profile from an upload",
        "description": "A travel profile read from an upload (`POST /api/uploads`) instead of inline `durations` and `distances`. The server takes the upload's rows and columns of this request's depot and stop ids; every one of them must be in the upload. Use it when the travel data would make the request body too large.",
        "additionalProperties": false,
        "required": [
          "upload"
        ],
        "properties": {
          "upload": {
            "type": "string",
            "format": "uuid",
            "description": "The upload's id. Its file must have been sent."
          }
        }
      },
      "UploadCreate": {
        "properties": {
          "ttl_hours": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 3.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Ttl Hours",
            "description": "Keep the upload this many hours instead of the server's default lifetime (which is also the maximum). At least 3: a job refuses an upload that expires within 2 hours."
          }
        },
        "type": "object",
        "title": "UploadCreate",
        "description": "Optional settings of a new upload."
      },
      "UploadCreated": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "status": {
            "$ref": "#/components/schemas/UploadStatus",
            "description": "`pending`: the file has not been read yet (send it first, then poll); `ready`: checked, jobs may name it; `invalid`: the file is not a travel profile matrix, see `error` (create a new upload)."
          },
          "size_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Size Bytes",
            "description": "Size of the stored file in bytes (compressed if sent as gzip)."
          },
          "place_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place Count",
            "description": "Number of places in the matrix, once checked."
          },
          "has_distances": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Distances",
            "description": "Whether the file gives `distances` besides `durations`."
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error",
            "description": "Why the file is invalid."
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "title": "Expires At",
            "description": "From this moment the upload is gone (404) and jobs can no longer name it."
          },
          "form": {
            "$ref": "#/components/schemas/UploadForm"
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "size_bytes",
          "place_count",
          "has_distances",
          "error",
          "created_at",
          "expires_at",
          "form"
        ],
        "title": "UploadCreated",
        "description": "A new upload: send the file with `form`, then name the upload in a job."
      },
      "UploadForm": {
        "properties": {
          "url": {
            "type": "string",
            "title": "Url"
          },
          "fields": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "title": "Fields",
            "description": "Form fields to send as they are, before the file field. Add no other field: it is refused."
          },
          "file_field": {
            "type": "string",
            "title": "File Field",
            "description": "Name of the form field that carries the file; send it last.",
            "default": "file"
          },
          "max_bytes": {
            "type": "integer",
            "title": "Max Bytes",
            "description": "Largest file accepted, in bytes (also the limit once decompressed)."
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "title": "Expires At",
            "description": "The form must be sent before this moment."
          }
        },
        "type": "object",
        "required": [
          "url",
          "fields",
          "max_bytes",
          "expires_at"
        ],
        "title": "UploadForm",
        "description": "Where to send the file: a `multipart/form-data` POST to `url` with every field of `fields`, then the file."
      },
      "UploadRead": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "status": {
            "$ref": "#/components/schemas/UploadStatus",
            "description": "`pending`: the file has not been read yet (send it first, then poll); `ready`: checked, jobs may name it; `invalid`: the file is not a travel profile matrix, see `error` (create a new upload)."
          },
          "size_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Size Bytes",
            "description": "Size of the stored file in bytes (compressed if sent as gzip)."
          },
          "place_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place Count",
            "description": "Number of places in the matrix, once checked."
          },
          "has_distances": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Distances",
            "description": "Whether the file gives `distances` besides `durations`."
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error",
            "description": "Why the file is invalid."
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "title": "Expires At",
            "description": "From this moment the upload is gone (404) and jobs can no longer name it."
          }
        },
        "type": "object",
        "required": [
          "id",
          "status",
          "size_bytes",
          "place_count",
          "has_distances",
          "error",
          "created_at",
          "expires_at"
        ],
        "title": "UploadRead",
        "description": "An uploaded file. Name it in a routing request as a travel profile: `{\"upload\": \"<id>\"}`."
      },
      "UploadStatus": {
        "type": "string",
        "enum": [
          "pending",
          "ready",
          "invalid"
        ],
        "title": "UploadStatus",
        "description": "Whether the uploaded file can be used yet."
      },
      "UseCaseInfo": {
        "properties": {
          "slug": {
            "$ref": "#/components/schemas/UseCaseSlug"
          },
          "title": {
            "type": "string",
            "title": "Title"
          },
          "jobs_url": {
            "type": "string",
            "title": "Jobs Url",
            "description": "Where to submit a problem as a solve job."
          },
          "constraints": {
            "$ref": "#/components/schemas/ConstraintSlot"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug",
          "title",
          "jobs_url",
          "constraints"
        ],
        "title": "UseCaseInfo",
        "description": "One use case: its name and where to submit its solve jobs."
      },
      "UseCaseSlug": {
        "type": "string",
        "enum": [
          "assembly-line-balancing",
          "bed-allocation",
          "bin-packing",
          "conference-scheduling",
          "employee-scheduling",
          "facility-location",
          "flight-crew-scheduling",
          "food-packaging",
          "knapsack",
          "maintenance-scheduling",
          "max-cut",
          "meeting-scheduling",
          "order-picking",
          "pickup-delivery",
          "project-job-scheduling",
          "quadratic-assignment",
          "school-timetabling",
          "semiconductor-scheduling",
          "sports-league-scheduling",
          "task-assigning",
          "tournament-scheduling",
          "vehicle-routing"
        ],
        "title": "UseCaseSlug"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "VehicleRoutingEnclosingCircleRadiusCostConstraint": {
        "type": "object",
        "title": "Enclosing circle radius",
        "description": "Radius in meters of the smallest circle enclosing each route's visits (the depots excluded), to prefer compact routes. One unit of cost is one meter; 0 for a route with fewer than two visits. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "enclosing_circle_radius_cost",
            "default": "enclosing_circle_radius_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingInputDepotModel": {
        "additionalProperties": false,
        "description": "A place where routes start or end.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "location": {
            "maxItems": 2,
            "minItems": 2,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "title": "Location",
            "type": "array"
          }
        },
        "required": [
          "id",
          "location"
        ],
        "title": "DepotModel",
        "type": "object"
      },
      "VehicleRoutingInputRoutingInput": {
        "additionalProperties": false,
        "properties": {
          "depots": {
            "items": {
              "$ref": "#/components/schemas/VehicleRoutingInputDepotModel"
            },
            "title": "Depots",
            "type": "array"
          },
          "vehicles": {
            "items": {
              "$ref": "#/components/schemas/VehicleRoutingInputVehicleModel"
            },
            "title": "Vehicles",
            "type": "array"
          },
          "visits": {
            "items": {
              "$ref": "#/components/schemas/VehicleRoutingInputVisitModel"
            },
            "title": "Visits",
            "type": "array"
          },
          "profiles": {
            "additionalProperties": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/VehicleRoutingInputTravelProfile"
                },
                {
                  "$ref": "#/components/schemas/TravelProfileUpload"
                }
              ]
            },
            "description": "Travel profiles by name: driving seconds and meters between depots and visits, keyed by their ids, and the visits each profile's vehicles may not serve or are preferred for. Empty (the default): every vehicle drives straight lines between the coordinates and may serve any visit.",
            "title": "Profiles",
            "type": "object"
          }
        },
        "required": [
          "depots",
          "vehicles",
          "visits"
        ],
        "title": "RoutingInput",
        "type": "object"
      },
      "VehicleRoutingInputTravelProfile": {
        "additionalProperties": false,
        "description": "How a kind of vehicle drives (see `optimaru._routing.TravelProfile`), and which visits it takes.",
        "properties": {
          "durations": {
            "anyOf": [
              {
                "additionalProperties": {
                  "additionalProperties": {
                    "type": "integer"
                  },
                  "type": "object"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Driving seconds, `{from_id: {to_id: seconds}}` over depot and stop ids. None drives straight lines at 50 km/h; an empty dict is refused.",
            "title": "Durations"
          },
          "distances": {
            "anyOf": [
              {
                "additionalProperties": {
                  "additionalProperties": {
                    "type": "integer"
                  },
                  "type": "object"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Driving meters, `{from_id: {to_id: meters}}` over depot and stop ids. None drives straight lines (haversine); an empty dict is refused.",
            "title": "Distances"
          },
          "missing_value": {
            "default": 10000000,
            "description": "What a pair the two dicts leave out costs, in seconds or meters. A place to itself costs 0 unless given.",
            "minimum": 0,
            "title": "Missing Value",
            "type": "integer"
          },
          "same_travel_as": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Name of another profile whose durations, distances and missing_value this one drives on, given instead of its own: profiles that differ only in the jobs their vehicles take then share one set of dicts. The named profile gives its own travel.",
            "title": "Same Travel As"
          },
          "forbidden_visits": {
            "description": "Ids of visits a vehicle on this profile may not serve: each one it serves costs `profile_forbidden_visit_cost` (hard), which every solve scores, listed or not. A visit no vehicle may serve stays unassigned.",
            "items": {
              "type": "string"
            },
            "title": "Forbidden Visits",
            "type": "array"
          },
          "preferred_visits": {
            "description": "Ids of visits that should go to a vehicle on this profile: each one served by a vehicle whose profile does not prefer it costs `profile_preferred_visit_cost` (soft). When a vehicle drives on the profile, the constraints of the solve must include that cost; a profile no vehicle drives on prefers nothing.",
            "items": {
              "type": "string"
            },
            "title": "Preferred Visits",
            "type": "array"
          }
        },
        "title": "TravelProfile",
        "type": "object"
      },
      "VehicleRoutingInputVehicleModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "capacity": {
            "title": "Capacity",
            "type": "integer"
          },
          "start_depot": {
            "description": "Id of the depot the route starts at.",
            "title": "Start Depot",
            "type": "string"
          },
          "end_depot": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Id of the depot the route ends at, the start depot or another. None (the default) is an open route: it ends at its last visit, so no closing leg is driven or counted toward the route end time.",
            "title": "End Depot"
          },
          "profile": {
            "default": "default",
            "description": "Name of the travel profile in `RoutingInput.profiles` the vehicle drives on.",
            "title": "Profile",
            "type": "string"
          },
          "departure_time": {
            "default": 0,
            "title": "Departure Time",
            "type": "integer"
          },
          "max_travel_time": {
            "default": 0,
            "minimum": 0,
            "title": "Max Travel Time",
            "type": "integer"
          },
          "max_route_duration": {
            "default": 0,
            "minimum": 0,
            "title": "Max Route Duration",
            "type": "integer"
          },
          "max_end_time": {
            "default": 0,
            "minimum": 0,
            "title": "Max End Time",
            "type": "integer"
          },
          "max_stops": {
            "default": 0,
            "minimum": 0,
            "title": "Max Stops",
            "type": "integer"
          },
          "min_load_ratio": {
            "default": 0.0,
            "maximum": 1.0,
            "minimum": 0.0,
            "title": "Min Load Ratio",
            "type": "number"
          },
          "fixed_cost": {
            "default": 0.0,
            "minimum": 0.0,
            "title": "Fixed Cost",
            "type": "number"
          },
          "max_route_radius_meters": {
            "default": 0.0,
            "minimum": 0.0,
            "title": "Max Route Radius Meters",
            "type": "number"
          },
          "initial_route": {
            "description": "Visit ids this vehicle's route starts from. The solve keeps them as its starting point instead of constructing them, and places only what no route holds.",
            "items": {
              "type": "string"
            },
            "title": "Initial Route",
            "type": "array"
          }
        },
        "required": [
          "id",
          "capacity",
          "start_depot"
        ],
        "title": "VehicleModel",
        "type": "object"
      },
      "VehicleRoutingInputVisitModel": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "location": {
            "maxItems": 2,
            "minItems": 2,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "title": "Location",
            "type": "array"
          },
          "demand": {
            "default": 1,
            "title": "Demand",
            "type": "integer"
          },
          "min_start_time": {
            "default": 0,
            "title": "Min Start Time",
            "type": "integer"
          },
          "max_end_time": {
            "default": 86400,
            "title": "Max End Time",
            "type": "integer"
          },
          "service_duration": {
            "default": 0,
            "title": "Service Duration",
            "type": "integer"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "unassigned_penalty_minutes": {
            "default": -1,
            "minimum": -1,
            "title": "Unassigned Penalty Minutes",
            "type": "integer"
          },
          "group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "A name shared by visits that are one job. The visits of a group ride one vehicle together, or all stay unassigned. None or an empty name is no group.",
            "title": "Group"
          },
          "after": {
            "description": "Ids of visits of the same group that are served before this one on the route. Together these are a partial order on the group: visits it does not relate may be served in either order, and other visits may come in between.",
            "items": {
              "type": "string"
            },
            "title": "After",
            "type": "array"
          }
        },
        "required": [
          "id",
          "location"
        ],
        "title": "VisitModel",
        "type": "object"
      },
      "VehicleRoutingJobProblem": {
        "additionalProperties": false,
        "description": "The vehicle routing problem with the settings of this run (`time_limit_seconds`, `random_seed`, `parallel_solver_count`).",
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "time_limit_seconds": {
            "default": 30.0,
            "description": "Seconds the search may run. Alias: timelimit.",
            "minimum": 0,
            "title": "Time Limit Seconds",
            "type": "number"
          },
          "random_seed": {
            "default": 0,
            "description": "Seed of the first start; start i uses random_seed + i.",
            "title": "Random Seed",
            "type": "integer"
          },
          "parallel_solver_count": {
            "default": 1,
            "description": "Independent starts; the best is returned. Alias: num_workers.",
            "minimum": 1,
            "title": "Parallel Solver Count",
            "type": "integer"
          },
          "stop_at_first_feasible": {
            "default": false,
            "description": "Stop as soon as the hard score is 0.",
            "title": "Stop At First Feasible",
            "type": "boolean"
          },
          "full_assert": {
            "default": false,
            "description": "Check every incremental score against a full recompute (slow; for debugging).",
            "title": "Full Assert",
            "type": "boolean"
          },
          "model_input": {
            "$ref": "#/components/schemas/VehicleRoutingInputRoutingInput"
          }
        },
        "required": [
          "model_input"
        ],
        "title": "RoutePlanRequest",
        "type": "object"
      },
      "VehicleRoutingJobRequest": {
        "additionalProperties": false,
        "description": "Solve a vehicle routing problem. `request` is the problem, as the engine model's JSON.",
        "properties": {
          "request": {
            "$ref": "#/components/schemas/VehicleRoutingJobProblem",
            "description": "First argument of `solve_request`, as the engine model's JSON."
          },
          "constraints": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/VehicleRoutingVehicleCapacityCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingMaxEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingTravelTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingTravelDistanceCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingMaxTravelTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingMaxRouteDurationCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingVehicleMaxEndTimeCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingMaxStopsCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingMaxRouteRadiusCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingEnclosingCircleRadiusCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingMinCapacityUtilizationCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingRouteDurationCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingLatencyCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingVehicleFixedCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingVisitOrderCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingProfileForbiddenVisitCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingProfilePreferredVisitCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingVisitGroupCostConstraint"
                    },
                    {
                      "$ref": "#/components/schemas/VehicleRoutingUnassignedVisitsCostConstraint"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Only the listed constraints are scored. Null uses the engine defaults."
          }
        },
        "required": [
          "request"
        ],
        "title": "VehicleRoutingJobRequest",
        "type": "object"
      },
      "VehicleRoutingLatencyCostConstraint": {
        "type": "object",
        "title": "Latency",
        "description": "The time from each vehicle's departure to its arrival at every visit, summed over the visits. One unit of cost is one second; 0 means no visit is served. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "latency_cost",
            "default": "latency_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingMaxEndTimeCostConstraint": {
        "type": "object",
        "title": "Time window end",
        "description": "Minutes, rounded up, by which a visit's service (arrival + service duration) finishes after its time window closes (`max_end_time`). One unit of cost is one late minute at one visit; 0 means every visit finishes in time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_end_time_cost",
            "default": "max_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingMaxRouteDurationCostConstraint": {
        "type": "object",
        "title": "Maximum route duration",
        "description": "Seconds by which a route's duration (departure to route end, waiting and service included; the leg to the `end_depot` when there is one) exceeds the vehicle's `max_route_duration`. One unit of cost is one second over the limit; 0 means every route is within its limit or has none.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_route_duration_cost",
            "default": "max_route_duration_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingMaxRouteRadiusCostConstraint": {
        "type": "object",
        "title": "Maximum route radius",
        "description": "Meters by which the farthest visit's straight-line distance from the vehicle's `start_depot` exceeds `max_route_radius_meters`. One unit of cost is one meter beyond the radius; 0 means every visit is inside it or no radius is set.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_route_radius_cost",
            "default": "max_route_radius_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingMaxStopsCostConstraint": {
        "type": "object",
        "title": "Maximum stops",
        "description": "Visits on a route above the vehicle's `max_stops`. One unit of cost is one visit over the cap; 0 means every vehicle is within its cap or has none.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_stops_cost",
            "default": "max_stops_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingMaxTravelTimeCostConstraint": {
        "type": "object",
        "title": "Maximum travel time",
        "description": "Driving seconds above the vehicle's `max_travel_time` (the leg to the `end_depot` counts when there is one). One unit of cost is one second over the limit; 0 means every vehicle is within its limit or has none.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "max_travel_time_cost",
            "default": "max_travel_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingMinCapacityUtilizationCostConstraint": {
        "type": "object",
        "title": "Minimum capacity utilization",
        "description": "For each used vehicle, how far the summed demand of its visits falls short of `capacity * min_load_ratio`. One unit of cost is one unit of demand short; 0 means every used vehicle reaches its target or has none.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "min_capacity_utilization_cost",
            "default": "min_capacity_utilization_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingOutputVehicleMetrics": {
        "additionalProperties": false,
        "description": "Per-vehicle figures derived from a finished route (post-processing).\n\nNothing here is scored. The numbers are recomputed from the reported stop\norder and arrival times with the vehicle's travel profile.",
        "properties": {
          "stops": {
            "default": 0,
            "title": "Stops",
            "type": "integer"
          },
          "load": {
            "default": 0,
            "title": "Load",
            "type": "integer"
          },
          "driving_seconds": {
            "default": 0,
            "title": "Driving Seconds",
            "type": "integer"
          },
          "driving_meters": {
            "default": 0,
            "title": "Driving Meters",
            "type": "integer"
          },
          "departure_time": {
            "title": "Departure Time",
            "type": "integer"
          },
          "end_time": {
            "title": "End Time",
            "type": "integer"
          },
          "route_duration_seconds": {
            "default": 0,
            "title": "Route Duration Seconds",
            "type": "integer"
          },
          "waiting_seconds": {
            "default": 0,
            "title": "Waiting Seconds",
            "type": "integer"
          },
          "service_seconds": {
            "default": 0,
            "title": "Service Seconds",
            "type": "integer"
          }
        },
        "required": [
          "departure_time",
          "end_time"
        ],
        "title": "VehicleMetrics",
        "type": "object"
      },
      "VehicleRoutingOutputVisitStop": {
        "additionalProperties": false,
        "properties": {
          "visit_id": {
            "title": "Visit Id",
            "type": "string"
          },
          "arrival_time": {
            "title": "Arrival Time",
            "type": "integer"
          },
          "demand": {
            "title": "Demand",
            "type": "integer"
          }
        },
        "required": [
          "visit_id",
          "arrival_time",
          "demand"
        ],
        "title": "VisitStop",
        "type": "object"
      },
      "VehicleRoutingProfileForbiddenVisitCostConstraint": {
        "type": "object",
        "title": "Forbidden visits",
        "description": "Visits served by a vehicle whose travel profile lists them in `forbidden_visits`, such as a job that needs a skill the technician lacks. One unit of cost is one such visit; 0 means every vehicle serves only visits it may. Always scored, even when a constraint list leaves it out.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "profile_forbidden_visit_cost",
            "default": "profile_forbidden_visit_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingProfilePreferredVisitCostConstraint": {
        "type": "object",
        "title": "Preferred visits",
        "description": "Visits that some vehicle's travel profile lists in `preferred_visits` but that a vehicle whose profile does not prefer them serves. One unit of cost is one such visit; 0 means every preferred visit rides a vehicle that prefers it, or stays unassigned. The default weight, 600, trades one such visit for ten minutes of driving.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "profile_preferred_visit_cost",
            "default": "profile_preferred_visit_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingResult": {
        "additionalProperties": false,
        "properties": {
          "routes": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/VehicleRoutingOutputVisitStop"
              },
              "type": "array"
            },
            "title": "Routes",
            "type": "object"
          },
          "unassigned": {
            "items": {
              "type": "string"
            },
            "title": "Unassigned",
            "type": "array"
          },
          "score": {
            "title": "Score",
            "type": "string"
          },
          "feasible": {
            "title": "Feasible",
            "type": "boolean"
          },
          "total_driving_seconds": {
            "title": "Total Driving Seconds",
            "type": "integer"
          },
          "total_driving_meters": {
            "default": 0,
            "title": "Total Driving Meters",
            "type": "integer"
          },
          "vehicle_metrics": {
            "additionalProperties": {
              "$ref": "#/components/schemas/VehicleRoutingOutputVehicleMetrics"
            },
            "title": "Vehicle Metrics",
            "type": "object"
          }
        },
        "required": [
          "routes",
          "score",
          "feasible",
          "total_driving_seconds"
        ],
        "title": "RouteSolution",
        "type": "object"
      },
      "VehicleRoutingRouteDurationCostConstraint": {
        "type": "object",
        "title": "Route duration",
        "description": "Each used vehicle's working time from departure to route end, waiting and service included (the leg to the `end_depot` when there is one). One unit of cost is one second; 0 means no vehicle is used. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "route_duration_cost",
            "default": "route_duration_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingTravelDistanceCostConstraint": {
        "type": "object",
        "title": "Travel distance",
        "description": "Each vehicle's driving meters from its `start_depot` through its visits, plus the leg to its `end_depot` when it has one, from the distances of the vehicle's travel profile. One unit of cost is one meter; 0 means no vehicle drives. Opt-in: the default weight is 0.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "travel_distance_cost",
            "default": "travel_distance_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingTravelTimeCostConstraint": {
        "type": "object",
        "title": "Travel time",
        "description": "Each vehicle's driving seconds from its `start_depot` through its visits, plus the leg to its `end_depot` when it has one. One unit of cost is one second of driving; 0 means no vehicle drives.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "travel_time_cost",
            "default": "travel_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingUnassignedVisitsCostConstraint": {
        "type": "object",
        "title": "Unassigned visits",
        "description": "The unassigned penalty (`unassigned_penalty_minutes`, by default the service time in whole minutes) of every visit left off all routes, on the medium level. One unit of cost is one penalty minute; 0 means no visit with a penalty is left out.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "unassigned_visits_cost",
            "default": "unassigned_visits_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingVehicleCapacityCostConstraint": {
        "type": "object",
        "title": "Vehicle capacity",
        "description": "The summed demand of a vehicle's visits above its capacity. One unit of cost is one unit of demand over capacity; 0 means no vehicle is overloaded.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "vehicle_capacity_cost",
            "default": "vehicle_capacity_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingVehicleFixedCostConstraint": {
        "type": "object",
        "title": "Vehicle fixed cost",
        "description": "Adds `Vehicle.fixed_cost` for every vehicle that serves at least one visit. One unit of cost is one unit of fixed cost; 0 means no vehicle with a fixed cost is used.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "vehicle_fixed_cost",
            "default": "vehicle_fixed_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingVehicleMaxEndTimeCostConstraint": {
        "type": "object",
        "title": "Vehicle end time",
        "description": "Seconds by which a route ends (the last visit's departure, or the arrival at the `end_depot` when there is one) after the vehicle's `max_end_time`. One unit of cost is one second late; 0 means every vehicle finishes in time or has no end time.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "vehicle_max_end_time_cost",
            "default": "vehicle_max_end_time_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingVisitGroupCostConstraint": {
        "type": "object",
        "title": "Visit group",
        "description": "Visits that are not where most of their `group` is: on another vehicle, or left unassigned while the others ride (or riding while the others wait). One unit of cost is one such visit; 0 means every group rides one vehicle together or waits together.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "visit_group_cost",
            "default": "visit_group_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      },
      "VehicleRoutingVisitOrderCostConstraint": {
        "type": "object",
        "title": "Visit order",
        "description": "Pairs of visits on one route that are served the wrong way round: a visit before one that its `after` says it follows. One unit of cost is one such pair; 0 means every route keeps the order. A pair whose visits ride different vehicles is priced by `visit_group_cost`.",
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "const": "visit_order_cost",
            "default": "visit_order_cost"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "weight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Weight in units of the constraint's level (finite, >= 0); null keeps the component default."
          },
          "level": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "hard",
                  "medium",
                  "soft"
                ]
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Score level this pick is charged on; null keeps the default level. The listed levels are the ones the catalog row allows (`levels`); the engine validates the choice."
          },
          "exponent": {
            "type": "number",
            "default": 1.0,
            "description": "Sign-preserving power applied to the raw cost (> 0); 1.0 leaves it as it is."
          },
          "offset": {
            "type": "number",
            "default": 0.0,
            "description": "Shift of the raw cost before the exponent, in the raw cost's unit (finite, any sign); 0.0 leaves it as it is."
          },
          "clip": {
            "type": "boolean",
            "default": true,
            "description": "true: the offset is a threshold and only the part beyond it counts; false: the literal shifted cost, negative (a reward) below the offset."
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "use-case: assembly-line-balancing",
      "description": "Dedicated Assembly line balancing solve, status, and result operations."
    },
    {
      "name": "use-case: bed-allocation",
      "description": "Dedicated Bed allocation solve, status, and result operations."
    },
    {
      "name": "use-case: bin-packing",
      "description": "Dedicated Bin packing solve, status, and result operations."
    },
    {
      "name": "use-case: conference-scheduling",
      "description": "Dedicated Conference scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: employee-scheduling",
      "description": "Dedicated Employee scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: facility-location",
      "description": "Dedicated Facility location solve, status, and result operations."
    },
    {
      "name": "use-case: flight-crew-scheduling",
      "description": "Dedicated Flight crew scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: food-packaging",
      "description": "Dedicated Food packaging solve, status, and result operations."
    },
    {
      "name": "use-case: knapsack",
      "description": "Dedicated Knapsack solve, status, and result operations."
    },
    {
      "name": "use-case: maintenance-scheduling",
      "description": "Dedicated Maintenance scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: max-cut",
      "description": "Dedicated Max-Cut solve, status, and result operations."
    },
    {
      "name": "use-case: meeting-scheduling",
      "description": "Dedicated Meeting scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: order-picking",
      "description": "Dedicated Order picking solve, status, and result operations."
    },
    {
      "name": "use-case: pickup-delivery",
      "description": "Dedicated Pickup and delivery solve, status, and result operations."
    },
    {
      "name": "use-case: project-job-scheduling",
      "description": "Dedicated Project job scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: quadratic-assignment",
      "description": "Dedicated Quadratic assignment solve, status, and result operations."
    },
    {
      "name": "use-case: school-timetabling",
      "description": "Dedicated School timetabling solve, status, and result operations."
    },
    {
      "name": "use-case: semiconductor-scheduling",
      "description": "Dedicated Semiconductor fab scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: sports-league-scheduling",
      "description": "Dedicated Sports league scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: task-assigning",
      "description": "Dedicated Task assigning solve, status, and result operations."
    },
    {
      "name": "use-case: tournament-scheduling",
      "description": "Dedicated Tournament scheduling solve, status, and result operations."
    },
    {
      "name": "use-case: vehicle-routing",
      "description": "Dedicated Vehicle routing solve, status, and result operations."
    }
  ]
}
