{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-batch-signed-s3-upload-schema.json",
  "title": "BatchSignedS3Upload",
  "description": "The response to a Batch Generate Signed S3 Upload URLs operation.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-aps-oss-openapi.yml#/components/schemas/BatchSignedS3Upload",
  "type": "object",
  "properties": {
    "results": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "required": [
          "uploadKey",
          "urls"
        ],
        "properties": {
          "reason": {
            "type": "string",
            "description": "Describes an error that was encountered. Returned only if the signed URL request for that object failed."
          },
          "status": {
            "type": "string",
            "description": "Returned only if the signed URL request for that object failed."
          },
          "uploadExpiration": {
            "type": "string",
            "description": "The deadline to call [Complete Batch Upload to S3 Signed URLs](/en/docs/data/v2/reference/http/oss/buckets-:bucketKey-objects-batchcompleteupload-POST/) for the object. If not completed by this time, all uploaded data for this session will be discarded."
          },
          "uploadKey": {
            "type": "string",
            "description": "An ID that uniquely identifies the upload session. It allows OSS to differentiate between fresh upload attempts from attempts to resume uploading data for an active upload session, in case of network interruptions. You must provide this value when:\n\n- Re-requesting chunk URLs for an active upload session.\n- When calling the [Complete Batch Upload to S3 Signed URL](/en/docs/data/v2/reference/http/oss/buckets-:bucketKey-objects-batchcompleteupload-POST/) operation to end an active upload session.\n"
          },
          "urlExpiration": {
            "type": "string",
            "description": "The date and time, in the ISO 8601 format, indicating when the signed URLs will expire."
          },
          "urls": {
            "type": "array",
            "description": "An array of signed URLs. For a single-part upload, this will only include a single URL. For a multipart upload, there will be one for each chunk of a multipart upload; the index of the URL in the array corresponds to the part number of the chunk.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "description": "A map of the returned results; each key in the map corresponds to an object key in the batch, and the value includes the results for that object."
    }
  },
  "required": [
    "results"
  ]
}