{
  "openapi": "3.0.1",
  "info": {
    "title": "Core Data Platform API",
    "version": "1"
  },
  "paths": {
    "/data-environments/{dataEnvironmentId}/jobs": {
      "get": {
        "tags": [
          "Job"
        ],
        "summary": "Retrieves a list of jobs for a specific data environment.",
        "operationId": "JobList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "description": "Gets a value indicating the number of records to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "description": "Gets filters the job list by status.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "description": "Gets the sort field.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "OrderBy",
            "in": "query",
            "description": "Gets the sort order.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JobListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Job"
        ],
        "summary": "Creates a new immediate or scheduled job.",
        "operationId": "CreateJob",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The data transfer object for creating a job.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for creating a job."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for creating a job."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for creating a job."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateJobResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/jobs/{jobId}": {
      "get": {
        "tags": [
          "Job"
        ],
        "summary": "Retrieves the details of a specific job.",
        "operationId": "JobDetails",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "includeEntityName",
            "in": "query",
            "description": "The includeEntityName option for the job.",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDetailsQueryResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Updates an existing job.",
        "operationId": "UpdateJob",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The data transfer object for updating a job.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for updating a job."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for updating a job."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for updating a job."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Job"
        ],
        "summary": "Partially updates an existing job.",
        "operationId": "PatchJob",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The data transfer object for patching a job.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PatchJobDto"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PatchJobDto"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PatchJobDto"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Job"
        ],
        "summary": "Deletes the specific job.",
        "operationId": "DeleteJob",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/jobs/{sourceJobId}/clone": {
      "post": {
        "tags": [
          "Job"
        ],
        "summary": "Creates a job using an existing source job as reference for values (clones a job).",
        "operationId": "CloneJob",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sourceJobId",
            "in": "path",
            "description": "The optional source job to create a new job from (clone).",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The data transfer object for creating a job.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CloneJobDto"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CloneJobDto"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CloneJobDto"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CloneJobResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/jobs/{jobId}/schedules": {
      "post": {
        "tags": [
          "Job"
        ],
        "summary": "Creates a schedule for an existing job.",
        "operationId": "ScheduleJob",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The schedule creation dto.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateScheduleDto"
                  }
                ],
                "description": "Represents the data transfer object for scheduling a job."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateScheduleDto"
                  }
                ],
                "description": "Represents the data transfer object for scheduling a job."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateScheduleDto"
                  }
                ],
                "description": "Represents the data transfer object for scheduling a job."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateScheduleResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Job"
        ],
        "summary": "Gets a list of Job Schedules for a specific job.",
        "operationId": "GetJobSchedules",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScheduleListQueryResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/jobs/{jobId}/schedules/{scheduleId}": {
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Updates the details of a job schedule.",
        "operationId": "UpdateJobSchedule",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scheduleId",
            "in": "path",
            "description": "The ID of the schedule.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The data transfer object for updating the schedule.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateScheduleDto"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateScheduleDto"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateScheduleDto"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateScheduleResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Job"
        ],
        "summary": "Deletes a job schedule.",
        "operationId": "DeleteJobSchedule",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scheduleId",
            "in": "path",
            "description": "The ID of the schedule.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Job"
        ],
        "summary": "Gets a specific Job Schedule for a specific job.",
        "operationId": "GetSpecificJobSchedule",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "description": "The ID of the job.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scheduleId",
            "in": "path",
            "description": "The ID of the schedule.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleDetailsQueryResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/jobs/job-preview": {
      "post": {
        "tags": [
          "Job"
        ],
        "summary": "Creates job preview.",
        "operationId": "CreateJobPreview",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The data transfer object for creating a job.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for creating a job."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for creating a job."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobDto"
                  }
                ],
                "description": "Represents the data transfer object for creating a job."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDatasetDeliveryJobPreviewResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/job-runs": {
      "get": {
        "tags": [
          "JobRun"
        ],
        "summary": "Retrieves a list of job runs for a specific data environment.",
        "operationId": "JobRunList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "query",
            "description": "The ID of the job.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JobRunListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "JobRun"
        ],
        "summary": "Creates a job run and an initial job run attempt.",
        "operationId": "CreateJobRun",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "A DTO containing the Job Run data.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobRunDto"
                  }
                ],
                "description": "Represents the creation of a job run."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobRunDto"
                  }
                ],
                "description": "Represents the creation of a job run."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobRunDto"
                  }
                ],
                "description": "Represents the creation of a job run."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateJobRunResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/job-runs/summary": {
      "get": {
        "tags": [
          "JobRun"
        ],
        "summary": "Retrieves a summary of runs for a specific job.",
        "operationId": "JobRunsByJobSummary",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobId",
            "in": "query",
            "description": "The ID of the job.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobRunSummaryQueryResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/job-runs/stats": {
      "get": {
        "tags": [
          "JobRun"
        ],
        "summary": "Retrieves job run statistics for a specific data environment.",
        "operationId": "JobRunStats",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "The optional start date for filtering job runs.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "The optional end date for filtering job runs.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobRunStatsQueryResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/job-runs/{jobRunId}": {
      "get": {
        "tags": [
          "JobRun"
        ],
        "summary": "Retrieves the details of a specific job run.",
        "operationId": "JobRunDetails",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobRunId",
            "in": "path",
            "description": "The ID of the job run.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobRunDetailsQueryResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/job-run-attempts": {
      "post": {
        "tags": [
          "JobRunAttempt"
        ],
        "summary": "Creates a job run attempt for a specific job run.",
        "operationId": "CreateJobRunAttempt",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "A DTO containing the Job Run Attempt data.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobRunAttemptDto"
                  }
                ],
                "description": "Represents the creation of a job run attempt."
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobRunAttemptDto"
                  }
                ],
                "description": "Represents the creation of a job run attempt."
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobRunAttemptDto"
                  }
                ],
                "description": "Represents the creation of a job run attempt."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateJobRunAttemptResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/lookup/propertydefinitions": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Retrieve a list of Property Definitions for a specific data environment.",
        "operationId": "PropertyDefinitionList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "resourceTypeTargetType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PropertyDefinitionListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/lookup/selectionsets": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Retrieve a list of Selection Sets for a specific data environment.",
        "operationId": "SelectionSetList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "selectionSetType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SelectionSetListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/lookup/performancevariations": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Retrieve a list of Performance Variations (Twr / Irr) for a specific data environment.",
        "operationId": "PerformanceVariationList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "performanceVariationType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PerformanceVariationListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/lookup/estimatelevels": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Retrieve a list of Estimate Levels (CE, 3rdParty, Actual etc) for a specific data environment.",
        "operationId": "EstimateLevelList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstimateLevelListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/lookup/entityidentifiertypes": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Retrieve a list of entity identifier types (system built-ins and custom property codes) for a specific data environment.",
        "operationId": "EntityIdentifierTypeList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EntityIdentifierTypeListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/lookup/currencies": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Retrieve a list of currencies available in the data environment's model environment.",
        "operationId": "CurrencyList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CurrencyListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/lookup/assets": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Retrieve a list of assets (entities) for a specific data environment.",
        "operationId": "AssetList",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nameFilter",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maxItems",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssetListQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/lookup/schedulepreview": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Preview the next fire times of a schedule's cron expression in its time zone.",
        "operationId": "SchedulePreview",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cronTab",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "timeZone",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "count",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 5
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchedulePreviewQueryResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/data-environments/{dataEnvironmentId}/users/module-apps": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Retrieves a list of module apps for a user's specific data environment.",
        "operationId": "ModuleApps",
        "parameters": [
          {
            "name": "dataEnvironmentId",
            "in": "path",
            "description": "The ID of the data environment.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuleAppsQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/users/data-environments": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Retrieves a list of data environments for a user.",
        "operationId": "DataEnvironments",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DataEnvironmentQueryResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SolovisProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AssetListQueryResult": {
        "required": [
          "code",
          "id",
          "label",
          "resourceId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "resourceId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "CloneJobDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Gets the name of the job.",
            "nullable": true
          },
          "dataEnvironmentId": {
            "type": "integer",
            "description": "Gets the ID of the data environment to use.",
            "format": "int32",
            "nullable": true
          },
          "sourceJobId": {
            "type": "string",
            "description": "Gets the ID of the CoreDataPlatform.Domain.Jobs.Job to clone i.e. the source job.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CloneJobResponse": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "description": "Gets the unique identifier of the cloned job.",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for cloning a job."
      },
      "CreateDatasetDeliveryJobPreviewResponse": {
        "required": [
          "datasetConfiguration",
          "outputFileName",
          "outputFileType",
          "previewOutput"
        ],
        "type": "object",
        "properties": {
          "previewOutput": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PreviewOutputPreviewResponse"
              }
            ],
            "description": "Gets or sets the preview of the job.",
            "nullable": true
          },
          "outputFileType": {
            "type": "integer",
            "format": "int32"
          },
          "outputFileName": {
            "type": "string",
            "nullable": true
          },
          "datasetConfiguration": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DatasetConfigurationJobPreviewResponse"
              }
            ],
            "nullable": true
          },
          "transformations": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DatasetTransformationJobPreviewResponse"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for creating a job preview."
      },
      "CreateJobDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Gets the name of the job.",
            "nullable": true
          },
          "dataEnvironmentId": {
            "type": "integer",
            "description": "Gets the ID of the data environment to use.",
            "format": "int32",
            "nullable": true
          },
          "attemptLimit": {
            "type": "integer",
            "description": "Gets the job run attempt.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents the data transfer object for creating a job."
      },
      "CreateJobResponse": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "description": "Gets the unique identifier of the job.",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for creating a job."
      },
      "CreateJobRunAttemptDto": {
        "type": "object",
        "properties": {
          "solovisSchedulerId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "jobRunId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "dataEnvironmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the creation of a job run attempt."
      },
      "CreateJobRunAttemptResponse": {
        "type": "object",
        "properties": {
          "jobRunId": {
            "type": "string",
            "format": "uuid"
          },
          "jobRunAttemptId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateJobRunDto": {
        "type": "object",
        "properties": {
          "solovisSchedulerId": {
            "type": "string",
            "description": "Gets the solovis scheduler ID for the job run.",
            "format": "uuid",
            "nullable": true
          },
          "jobId": {
            "type": "string",
            "description": "Gets the value of the Job ID to create a job run for.",
            "format": "uuid",
            "nullable": true
          },
          "dataEnvironmentId": {
            "type": "integer",
            "description": "Gets the value of the Data Environment ID for the job run.",
            "format": "int32",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Gets the value of the name for the job run.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Gets the value of the Job Run type (\"Manual\" or \"Scheduled\").",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the creation of a job run."
      },
      "CreateJobRunResponse": {
        "type": "object",
        "properties": {
          "jobRunId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for creating a job run."
      },
      "CreateScheduleDto": {
        "type": "object",
        "properties": {
          "dataEnvironmentId": {
            "type": "integer",
            "description": "Gets or sets the data environment identifier.",
            "format": "int32"
          },
          "jobId": {
            "type": "string",
            "description": "Gets or sets the job identifier.",
            "format": "uuid"
          },
          "cronTab": {
            "type": "string",
            "description": "Gets the crontab expression for the schedule.",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "description": "Gets the timezone to use for the schedule.",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "Gets a value indicating whether this schedule should be active after creation."
          }
        },
        "additionalProperties": false,
        "description": "Represents the data transfer object for scheduling a job."
      },
      "CreateScheduleResponse": {
        "type": "object",
        "properties": {
          "solovisSchedulerId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for creating a schedule."
      },
      "CurrencyListQueryResult": {
        "required": [
          "code",
          "id",
          "label"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DataEnvironmentQueryResult": {
        "required": [
          "hasPermission",
          "id",
          "isTest",
          "name",
          "url"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Gets the ID of the data environment.",
            "format": "int32"
          },
          "url": {
            "type": "string",
            "description": "Gets the URL of the data environment.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Gets the name of the data environment.",
            "nullable": true
          },
          "isTest": {
            "type": "boolean",
            "description": "Gets a value indicating whether this is a Test environment."
          },
          "hasPermission": {
            "type": "boolean",
            "description": "Gets a value indicating whether the user has permission to access this data environment."
          }
        },
        "additionalProperties": false
      },
      "DatasetConfigurationJobPreviewResponse": {
        "required": [
          "asOfDate"
        ],
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "description": "Gets the As of date.",
            "format": "date",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DatasetTransformationJobPreviewResponse": {
        "type": "object",
        "properties": {
          "propertyTransformations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyTransformationJobPreviewResponse"
            },
            "description": "Gets the collection of property transformations.",
            "nullable": true
          },
          "valueTransformations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValueTransformationJobPreviewResponse"
            },
            "description": "Gets the collection of value transformations.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntityIdentifierTypeListQueryResult": {
        "required": [
          "category",
          "code",
          "displayName"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "Gets the category: `System` for built-in PA identifiers; `Custom` for property-code-based identifiers.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstimateLevelListQueryResult": {
        "required": [
          "id",
          "label",
          "level"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "level": {
            "type": "integer",
            "format": "int32"
          },
          "label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExtractPreviewPreviewResponse": {
        "required": [
          "extractFormat",
          "extractName",
          "propertyMetadataSet"
        ],
        "type": "object",
        "properties": {
          "extractName": {
            "type": "string",
            "description": "Gets the name of the extract.",
            "nullable": true
          },
          "extractFormat": {
            "type": "string",
            "description": "Gets the format of the extract.",
            "nullable": true
          },
          "propertyMetadataSet": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyMetadataPreviewResponse"
            },
            "description": "Gets the collection of property metadata.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IdAndNameObject<Byte>": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Gets the ID.",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "Gets the name.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an object with an ID and a name."
      },
      "JobDetailsQueryResult": {
        "required": [
          "createdByUserId",
          "dataEnvironmentId",
          "dateCreated",
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "dataEnvironmentId": {
            "type": "integer",
            "format": "int32"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "createdByUserId": {
            "type": "string",
            "format": "uuid"
          },
          "dateModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "modifiedByUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "attemptLimit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "JobListQueryResult": {
        "required": [
          "createdByUserId",
          "datasetType",
          "dateCreated",
          "id",
          "jobType",
          "name",
          "status"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Gets the ID of the job.",
            "format": "uuid"
          },
          "jobType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdAndNameObject<Byte>"
              }
            ],
            "description": "Gets the job type.",
            "nullable": true
          },
          "datasetType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdAndNameObject<Byte>"
              }
            ],
            "description": "Gets the job type.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Gets the name of the job.",
            "nullable": true
          },
          "createdByUserId": {
            "type": "string",
            "description": "Gets the ID of the user who created the job.",
            "format": "uuid"
          },
          "dateCreated": {
            "type": "string",
            "description": "Gets the date and time when the job was created.",
            "nullable": true
          },
          "dataEnvironmentDescription": {
            "type": "string",
            "description": "Gets the description of the data environment in which the job runs.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets the Status of the most recent run of the job.",
            "nullable": true
          },
          "lastRunDate": {
            "type": "string",
            "description": "Gets the date of the most recent job run attempt of the job.",
            "nullable": true
          },
          "nextScheduledRunDate": {
            "type": "string",
            "description": "Gets the next scheduled run date for the job based crontab expressions.",
            "nullable": true
          },
          "modifiedByUserId": {
            "type": "string",
            "description": "Gets the ID of the user who last modified the job.",
            "format": "uuid",
            "nullable": true
          },
          "dateModified": {
            "type": "string",
            "description": "Gets the date and time when the job was last modified.",
            "nullable": true
          },
          "attemptLimit": {
            "type": "integer",
            "description": "Gets the attempt limit for this job.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents the result of a job list query."
      },
      "JobRunAttemptDetailsDetailsQueryResult": {
        "type": "object",
        "additionalProperties": false
      },
      "JobRunAttemptDetailsQueryResult": {
        "required": [
          "jobRunAttemptNumber",
          "name",
          "stage",
          "startDateTime",
          "status"
        ],
        "type": "object",
        "properties": {
          "jobRunAttemptId": {
            "type": "string",
            "description": "Gets the job run attempt ID.",
            "format": "uuid"
          },
          "jobRunId": {
            "type": "string",
            "description": "Gets the parent job run ID.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Gets the name of the job run attempt.",
            "nullable": true
          },
          "jobRunAttemptNumber": {
            "type": "integer",
            "description": "Gets the sequential attempt number.",
            "format": "int32"
          },
          "stage": {
            "type": "string",
            "description": "Gets the stage of the job run attempt.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets the status of the job run attempt.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Gets the message of the job run attempt.",
            "nullable": true
          },
          "startDateTime": {
            "type": "string",
            "description": "Gets the start date time of the job run attempt.",
            "nullable": true
          },
          "endDateTime": {
            "type": "string",
            "description": "Gets the end date time of the job run attempt.",
            "nullable": true
          },
          "isComplete": {
            "type": "boolean",
            "description": "Gets a value indicating whether the job attempt is complete."
          },
          "details": {
            "allOf": [
              {
                "$ref": "#/components/schemas/JobRunAttemptDetailsDetailsQueryResult"
              }
            ],
            "description": "Gets the job run attempt details details result.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobRunDetailsQueryResult": {
        "required": [
          "name",
          "startDateTime",
          "status",
          "type"
        ],
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "description": "Gets the Job ID of the job being run.",
            "format": "uuid"
          },
          "jobRunId": {
            "type": "string",
            "description": "Gets the Job ID of the job being run.",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Gets the name of the job run.",
            "nullable": true
          },
          "dataEnvironmentId": {
            "type": "integer",
            "description": "Gets the Data Environment ID of the job being run.",
            "format": "int32"
          },
          "solovisSchedulerId": {
            "type": "string",
            "description": "Gets the Solovis Scheduler ID for the job run.",
            "format": "uuid",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets the status of the job run.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Gets the type of the job run.",
            "nullable": true
          },
          "startDateTime": {
            "type": "string",
            "description": "Gets the start date time of the job run.",
            "nullable": true
          },
          "actualStartDateTime": {
            "type": "string",
            "description": "Gets the actual start date time of the job.",
            "nullable": true
          },
          "endDateTime": {
            "type": "string",
            "description": "Gets the end date time of the job run.",
            "nullable": true
          },
          "attempts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JobRunAttemptDetailsQueryResult"
            },
            "description": "Gets the job run attempts for this job run.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobRunListQueryResult": {
        "required": [
          "hasAttempts",
          "name",
          "startDateTime",
          "status",
          "type"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Gets the job name.",
            "nullable": true
          },
          "jobId": {
            "type": "string",
            "description": "Gets the Job ID of the job being run.",
            "format": "uuid"
          },
          "jobRunId": {
            "type": "string",
            "description": "Gets the Job Run ID of the job being run.",
            "format": "uuid"
          },
          "dataEnvironmentId": {
            "type": "integer",
            "description": "Gets the Data Environment ID of the job being run.",
            "format": "int32"
          },
          "dataEnvironmentDescription": {
            "type": "string",
            "description": "Gets the description of the data environment in which the job runs.",
            "nullable": true
          },
          "solovisSchedulerId": {
            "type": "string",
            "description": "Gets the Solovis Scheduler ID for the job run.",
            "format": "uuid",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Gets the status of the job run.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Gets the type of the job run.",
            "nullable": true
          },
          "hasAttempts": {
            "type": "boolean",
            "description": "Gets a value indicating whether the job run has any attempts or not."
          },
          "startDateTime": {
            "type": "string",
            "description": "Gets the start date time of the job run.",
            "nullable": true
          },
          "actualStartDateTime": {
            "type": "string",
            "description": "Gets the actual start date time of the job.",
            "nullable": true
          },
          "endDateTime": {
            "type": "string",
            "description": "Gets the end date time of the job run.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobRunStatsQueryResult": {
        "type": "object",
        "properties": {
          "totalJobRuns": {
            "type": "integer",
            "description": "Gets or sets the total number of job runs.",
            "format": "int32"
          },
          "successfulJobRuns": {
            "type": "integer",
            "description": "Gets or sets the number of successful job runs.",
            "format": "int32"
          },
          "failedJobRuns": {
            "type": "integer",
            "description": "Gets or sets the number of failed job runs.",
            "format": "int32"
          },
          "warningJobRuns": {
            "type": "integer",
            "description": "Gets or sets the number of job runs with warnings.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents the result of a job run statistics query."
      },
      "JobRunSummaryQueryResult": {
        "required": [
          "createdByUserFullName",
          "jobName",
          "jobStatus",
          "jobType"
        ],
        "type": "object",
        "properties": {
          "jobName": {
            "type": "string",
            "description": "Gets the name of the job.",
            "nullable": true
          },
          "jobStatus": {
            "type": "string",
            "description": "Gets the current status of the job (e.g., Running, Completed, Failed).",
            "nullable": true
          },
          "createdByUserFullName": {
            "type": "string",
            "description": "Gets the full name of the user that created the job.",
            "nullable": true
          },
          "dataEnvironmentDescription": {
            "type": "string",
            "description": "Gets the description of the data environment in which the job runs.",
            "nullable": true
          },
          "jobType": {
            "type": "string",
            "description": "Gets the type classification of the job.",
            "nullable": true
          },
          "attemptLimit": {
            "type": "integer",
            "description": "Gets the attemptlimit of the job.",
            "format": "int32"
          },
          "nextRunScheduled": {
            "type": "string",
            "description": "Gets the date and time when the job is next scheduled to run.",
            "nullable": true
          },
          "lastRunScheduled": {
            "type": "string",
            "description": "Gets the date and time when the job was last scheduled to run.",
            "nullable": true
          },
          "lastRunCompleted": {
            "type": "string",
            "description": "Gets the date and time when the job last completed its execution.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the result of a job run summary query containing essential information about a job's execution status."
      },
      "ModuleAppsQueryResult": {
        "required": [
          "href",
          "initials",
          "label"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "Gets the display name of the module application.",
            "nullable": true
          },
          "href": {
            "type": "string",
            "description": "Gets the link to the module application.",
            "nullable": true
          },
          "initials": {
            "type": "string",
            "description": "Gets the initials for the module application.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "A module application (e.g. \"Predict\", \"Risk\", etc.)."
      },
      "PatchJobDto": {
        "required": [
          "dataEnvironmentId",
          "id"
        ],
        "type": "object",
        "properties": {
          "dataEnvironmentId": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "attemptLimit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PerformanceVariationListQueryResult": {
        "required": [
          "code",
          "label"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PreviewOutputPreviewResponse": {
        "required": [
          "extractPreviews"
        ],
        "type": "object",
        "properties": {
          "extractPreviews": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExtractPreviewPreviewResponse"
            },
            "description": "Gets the collection of extract previews.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "ProblemDetailsError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "propertyName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PropertyCategory": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "PropertyDefinitionListQueryResult": {
        "required": [
          "code",
          "id",
          "label"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PropertyMetadataPreviewResponse": {
        "required": [
          "label",
          "propertySource",
          "type"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "Gets the label.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Gets the type.",
            "nullable": true
          },
          "propertySource": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PropertySource"
              }
            ],
            "description": "Gets the property source.",
            "nullable": true
          },
          "propertyDefinitionId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "tagId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tagCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PropertySource": {
        "required": [
          "category",
          "compositeIdentifier"
        ],
        "type": "object",
        "properties": {
          "compositeIdentifier": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PropertySourceCompositeIdentifier"
              }
            ],
            "nullable": true
          },
          "category": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PropertyCategory"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "PropertySourceCompositeIdentifier": {
        "required": [
          "baseIdentifier"
        ],
        "type": "object",
        "properties": {
          "baseIdentifier": {
            "type": "string",
            "nullable": true
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertySourceGroup"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PropertySourceGroup": {
        "required": [
          "baseIdentifier"
        ],
        "type": "object",
        "properties": {
          "baseIdentifier": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PropertyTransformationJobPreviewResponse": {
        "type": "object",
        "properties": {
          "extractName": {
            "type": "string",
            "description": "Gets the name of the extract to apply this transformation to.",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "description": "Gets the order in which the transformation will be applied.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents a transformation."
      },
      "ScheduleDetailsQueryResponse": {
        "type": "object",
        "properties": {
          "solovisSchedulerId": {
            "type": "string",
            "format": "uuid"
          },
          "jobId": {
            "type": "string",
            "format": "uuid"
          },
          "cronTab": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ScheduleListQueryResponse": {
        "type": "object",
        "properties": {
          "solovisSchedulerId": {
            "type": "string",
            "format": "uuid"
          },
          "jobId": {
            "type": "string",
            "format": "uuid"
          },
          "cronTab": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SchedulePreviewQueryResult": {
        "required": [
          "occurrences"
        ],
        "type": "object",
        "properties": {
          "occurrences": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date-time"
            },
            "description": "Gets the next fire times, in order, with the schedule time zone's offset applied.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SelectionSetListQueryResult": {
        "required": [
          "category",
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SolovisProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProblemDetailsError"
            },
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "UpdateJobDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Gets the ID of the job.",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Gets the name of the job.",
            "nullable": true
          },
          "dataEnvironmentId": {
            "type": "integer",
            "description": "Gets the ID of the data environment.",
            "format": "int32",
            "nullable": true
          },
          "attemptLimit": {
            "type": "integer",
            "description": "Gets the job run attempt.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents the data transfer object for updating a job."
      },
      "UpdateScheduleDto": {
        "type": "object",
        "properties": {
          "dataEnvironmentId": {
            "type": "integer",
            "format": "int32"
          },
          "scheduleId": {
            "type": "string",
            "format": "uuid"
          },
          "jobId": {
            "type": "string",
            "format": "uuid"
          },
          "solovisSchedulerId": {
            "type": "string",
            "format": "uuid"
          },
          "cronTab": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateScheduleResponse": {
        "type": "object",
        "properties": {
          "solovisSchedulerId": {
            "type": "string",
            "format": "uuid"
          },
          "jobId": {
            "type": "string",
            "format": "uuid"
          },
          "createdByUserId": {
            "type": "string",
            "format": "uuid"
          },
          "cronTab": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ValueTransformationJobPreviewResponse": {
        "type": "object",
        "properties": {
          "extractName": {
            "type": "string",
            "description": "Gets the name of the extract to apply this transformation to.",
            "nullable": true
          },
          "order": {
            "type": "integer",
            "description": "Gets the order in which the transformation will be applied.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents a transformation."
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Please enter JWT with Bearer into field",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [
        "readAccess",
        "writeAccess"
      ]
    }
  ]
}