{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divinci-app/json-schema/divinci-app-fine-tune-job-schema.json",
  "title": "FineTuneJob",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/divinci-app-api-openapi.yml#/components/schemas/FineTuneJob",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "baseModel": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "running",
        "completed",
        "failed",
        "cancelled"
      ]
    },
    "trainingFileIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "hyperparameters": {
      "type": "object",
      "properties": {
        "epochs": {
          "type": "integer"
        },
        "learningRate": {
          "type": "number",
          "format": "float"
        },
        "batchSize": {
          "type": "integer"
        }
      }
    },
    "resultModelId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The ID of the resulting fine-tuned model (available after completion)"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}