{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-neptune/json-schema/amazon-neptune-get-mlmodel-training-job-output-schema.json",
  "title": "GetMLModelTrainingJobOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-neptune-ml-api-openapi.yml#/components/schemas/GetMLModelTrainingJobOutput",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "The status of the model training job."
    },
    "id": {
      "type": "string",
      "description": "The unique identifier of this model-training job."
    },
    "processingJob": {
      "$ref": "#/$defs/MlResourceDefinition"
    },
    "hpoJob": {
      "$ref": "#/$defs/MlResourceDefinition"
    },
    "modelTransformJob": {
      "$ref": "#/$defs/MlResourceDefinition"
    },
    "mlModels": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MlConfigDefinition"
      },
      "description": "A list of the configurations of the ML models being used."
    }
  },
  "$defs": {
    "MlConfigDefinition": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The configuration name."
        },
        "arn": {
          "type": "string",
          "description": "The ARN for the configuration."
        }
      }
    },
    "MlResourceDefinition": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The resource name."
        },
        "arn": {
          "type": "string",
          "description": "The resource ARN."
        },
        "status": {
          "type": "string",
          "description": "The resource status."
        },
        "outputLocation": {
          "type": "string",
          "description": "The output location."
        },
        "failureReason": {
          "type": "string",
          "description": "The failure reason, in case of a failure."
        },
        "cloudwatchLogUrl": {
          "type": "string",
          "description": "The CloudWatch log URL for the resource."
        }
      }
    }
  }
}