{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-labeling-jobs-response-schema.json",
  "title": "ListLabelingJobsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-labeling-job-api-openapi.yml#/components/schemas/ListLabelingJobsResponse",
  "type": "object",
  "properties": {
    "LabelingJobSummaryList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LabelingJobSummary"
      },
      "description": "An array of LabelingJobSummary objects, each describing a labeling job."
    },
    "NextToken": {
      "type": "string",
      "description": "If the response is truncated, SageMaker returns this token. To retrieve the next set of labeling jobs, use it in the subsequent request."
    }
  },
  "$defs": {
    "LabelCounters": {
      "type": "object",
      "properties": {
        "TotalLabeled": {
          "type": "integer",
          "description": "The total number of objects labeled."
        },
        "HumanLabeled": {
          "type": "integer",
          "description": "The total number of objects labeled by a human worker."
        },
        "MachineLabeled": {
          "type": "integer",
          "description": "The total number of objects labeled by automated data labeling."
        },
        "FailedNonRetryableError": {
          "type": "integer",
          "description": "The total number of objects that could not be labeled due to an error."
        },
        "Unlabeled": {
          "type": "integer",
          "description": "The total number of objects not yet labeled."
        }
      }
    },
    "LabelingJobDataAttributes": {
      "type": "object",
      "properties": {
        "ContentClassifiers": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "FreeOfPersonallyIdentifiableInformation",
              "FreeOfAdultContent"
            ]
          },
          "description": "Declares that your content is free of personally identifiable information or adult content. SageMaker may restrict the Amazon Mechanical Turk workers that can view your task based on this information."
        }
      }
    },
    "LabelingJobDataSource": {
      "type": "object",
      "properties": {
        "S3DataSource": {
          "$ref": "#/$defs/LabelingJobS3DataSource"
        },
        "SnsDataSource": {
          "$ref": "#/$defs/LabelingJobSnsDataSource"
        }
      }
    },
    "LabelingJobInputConfig": {
      "type": "object",
      "properties": {
        "DataSource": {
          "$ref": "#/$defs/LabelingJobDataSource"
        },
        "DataAttributes": {
          "$ref": "#/$defs/LabelingJobDataAttributes"
        }
      },
      "required": [
        "DataSource"
      ]
    },
    "LabelingJobOutput": {
      "type": "object",
      "properties": {
        "OutputDatasetS3Uri": {
          "type": "string",
          "description": "The Amazon S3 bucket location of the manifest file for labeled data."
        },
        "FinalActiveLearningModelArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the most recent SageMaker model trained as part of automated data labeling."
        }
      },
      "required": [
        "OutputDatasetS3Uri"
      ]
    },
    "LabelingJobS3DataSource": {
      "type": "object",
      "properties": {
        "ManifestS3Uri": {
          "type": "string",
          "description": "The Amazon S3 location of the manifest file that describes the input data objects. The input manifest file referenced in ManifestS3Uri must contain one of the following keys: source-ref or source. The value of the keys are interpreted as follows: source-ref: The source of the object is the Amazon S3 object specified in the value. Use this value when the object is a binary object, such as an image. source: The source of the object is the value. Use this value when the object is a text value. If you are a new user of Ground Truth, it is recommended you review Use an Input Manifest File in the Am"
        }
      },
      "required": [
        "ManifestS3Uri"
      ]
    },
    "LabelingJobSnsDataSource": {
      "type": "object",
      "properties": {
        "SnsTopicArn": {
          "type": "string",
          "description": "The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of the input topic you will use to send new data objects to a streaming labeling job."
        }
      },
      "required": [
        "SnsTopicArn"
      ]
    },
    "LabelingJobSummary": {
      "type": "object",
      "properties": {
        "LabelingJobName": {
          "type": "string",
          "description": "The name of the labeling job."
        },
        "LabelingJobArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) assigned to the labeling job when it was created."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the job was created (timestamp)."
        },
        "LastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the job was last modified (timestamp)."
        },
        "LabelingJobStatus": {
          "type": "string",
          "enum": [
            "Initializing",
            "InProgress",
            "Completed",
            "Failed",
            "Stopping",
            "Stopped"
          ],
          "description": "The current status of the labeling job."
        },
        "LabelCounters": {
          "$ref": "#/$defs/LabelCounters"
        },
        "WorkteamArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the work team assigned to the job."
        },
        "PreHumanTaskLambdaArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of a Lambda function. The function is run before each data object is sent to a worker."
        },
        "AnnotationConsolidationLambdaArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Lambda function used to consolidate the annotations from individual workers into a label for a data object. For more information, see Annotation Consolidation."
        },
        "FailureReason": {
          "type": "string",
          "description": "If the LabelingJobStatus field is Failed, this field contains a description of the error."
        },
        "LabelingJobOutput": {
          "$ref": "#/$defs/LabelingJobOutput"
        },
        "InputConfig": {
          "$ref": "#/$defs/LabelingJobInputConfig"
        }
      },
      "required": [
        "LabelingJobName",
        "LabelingJobArn",
        "CreationTime",
        "LastModifiedTime",
        "LabelingJobStatus",
        "LabelCounters",
        "WorkteamArn"
      ]
    }
  }
}