{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rekognition/json-schema/amazon-rekognition-describe-project-versions-response-schema.json",
  "title": "DescribeProjectVersionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rekognition-project-version-api-openapi.yml#/components/schemas/DescribeProjectVersionsResponse",
  "type": "object",
  "properties": {
    "ProjectVersionDescriptions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProjectVersionDescription"
      },
      "description": "A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest."
    },
    "NextToken": {
      "type": "string",
      "description": "If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results."
    }
  },
  "$defs": {
    "Asset": {
      "type": "object",
      "properties": {
        "GroundTruthManifest": {
          "$ref": "#/$defs/GroundTruthManifest"
        }
      }
    },
    "CustomizationFeatureConfig": {
      "type": "object",
      "properties": {
        "ContentModeration": {
          "$ref": "#/$defs/CustomizationFeatureContentModerationConfig"
        }
      }
    },
    "CustomizationFeatureContentModerationConfig": {
      "type": "object",
      "properties": {
        "ConfidenceThreshold": {
          "type": "number",
          "description": "The confidence level you plan to use to identify if unsafe content is present during inference."
        }
      }
    },
    "EvaluationResult": {
      "type": "object",
      "properties": {
        "F1Score": {
          "type": "number",
          "description": "The F1 score for the evaluation of all labels. The F1 score metric evaluates the overall precision and recall performance of the model as a single value. A higher value indicates better precision and recall performance. A lower score indicates that precision, recall, or both are performing poorly."
        },
        "Summary": {
          "$ref": "#/$defs/Summary"
        }
      }
    },
    "GroundTruthManifest": {
      "type": "object",
      "properties": {
        "S3Object": {
          "$ref": "#/$defs/S3Object"
        }
      }
    },
    "OutputConfig": {
      "type": "object",
      "properties": {
        "S3Bucket": {
          "type": "string",
          "description": "The S3 bucket where training output is placed."
        },
        "S3KeyPrefix": {
          "type": "string",
          "description": "The prefix applied to the training output files."
        }
      }
    },
    "ProjectVersionDescription": {
      "type": "object",
      "properties": {
        "ProjectVersionArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the project version."
        },
        "CreationTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix datetime for the date and time that training started."
        },
        "MinInferenceUnits": {
          "type": "integer",
          "description": "The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion."
        },
        "Status": {
          "type": "string",
          "enum": [
            "TRAINING_IN_PROGRESS",
            "TRAINING_COMPLETED",
            "TRAINING_FAILED",
            "STARTING",
            "RUNNING",
            "FAILED",
            "STOPPING",
            "STOPPED",
            "DELETING",
            "COPYING_IN_PROGRESS",
            "COPYING_COMPLETED",
            "COPYING_FAILED",
            "DEPRECATED",
            "EXPIRED"
          ],
          "description": "The current status of the model version."
        },
        "StatusMessage": {
          "type": "string",
          "description": "A descriptive message for an error or warning that occurred."
        },
        "BillableTrainingTimeInSeconds": {
          "type": "integer",
          "description": "The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained."
        },
        "TrainingEndTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix date and time that training of the model ended."
        },
        "OutputConfig": {
          "$ref": "#/$defs/OutputConfig"
        },
        "TrainingDataResult": {
          "$ref": "#/$defs/TrainingDataResult"
        },
        "TestingDataResult": {
          "$ref": "#/$defs/TestingDataResult"
        },
        "EvaluationResult": {
          "$ref": "#/$defs/EvaluationResult"
        },
        "ManifestSummary": {
          "$ref": "#/$defs/GroundTruthManifest"
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training."
        },
        "MaxInferenceUnits": {
          "type": "integer",
          "description": "The maximum number of inference units Amazon Rekognition uses to auto-scale the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion."
        },
        "SourceProjectVersionArn": {
          "type": "string",
          "description": "If the model version was copied from a different project, SourceProjectVersionArn contains the ARN of the source model version."
        },
        "VersionDescription": {
          "type": "string",
          "description": "A user-provided description of the project version."
        },
        "Feature": {
          "type": "string",
          "enum": [
            "CONTENT_MODERATION",
            "CUSTOM_LABELS"
          ],
          "description": "The feature that was customized."
        },
        "BaseModelVersion": {
          "type": "string",
          "description": "The base detection model version used to create the project version."
        },
        "FeatureConfig": {
          "$ref": "#/$defs/CustomizationFeatureConfig"
        }
      }
    },
    "S3Object": {
      "type": "object",
      "properties": {
        "Bucket": {
          "type": "string",
          "description": "Name of the S3 bucket."
        },
        "Name": {
          "type": "string",
          "description": "S3 object key name."
        },
        "Version": {
          "type": "string",
          "description": "If the bucket is versioning enabled, you can specify the object version."
        }
      }
    },
    "Summary": {
      "type": "object",
      "properties": {
        "S3Object": {
          "$ref": "#/$defs/S3Object"
        }
      }
    },
    "TestingData": {
      "type": "object",
      "properties": {
        "Assets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Asset"
          },
          "description": "The assets used for testing."
        },
        "AutoCreate": {
          "type": "boolean",
          "description": "If specified, Rekognition splits training dataset to create a test dataset for the training job."
        }
      }
    },
    "TestingDataResult": {
      "type": "object",
      "properties": {
        "Input": {
          "$ref": "#/$defs/TestingData"
        },
        "Output": {
          "$ref": "#/$defs/TestingData"
        },
        "Validation": {
          "$ref": "#/$defs/ValidationData"
        }
      }
    },
    "TrainingData": {
      "type": "object",
      "properties": {
        "Assets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Asset"
          },
          "description": "A manifest file that contains references to the training images and ground-truth annotations."
        }
      }
    },
    "TrainingDataResult": {
      "type": "object",
      "properties": {
        "Input": {
          "$ref": "#/$defs/TrainingData"
        },
        "Output": {
          "$ref": "#/$defs/TrainingData"
        },
        "Validation": {
          "$ref": "#/$defs/ValidationData"
        }
      }
    },
    "ValidationData": {
      "type": "object",
      "properties": {
        "Assets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Asset"
          },
          "description": "The assets that comprise the validation data."
        }
      }
    }
  }
}