{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3-glacier/json-schema/amazon-s3-glacier-upload-archive-input-schema.json",
  "title": "UploadArchiveInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-glacier-vaults-api-openapi.yml#/components/schemas/UploadArchiveInput",
  "type": "object",
  "properties": {
    "vaultName": {
      "type": "string",
      "description": "The name of the vault."
    },
    "accountId": {
      "type": "string",
      "description": "The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID."
    },
    "archiveDescription": {
      "type": "string",
      "description": "The optional description of the archive you are uploading."
    },
    "checksum": {
      "type": "string",
      "description": "The SHA256 tree hash of the data being uploaded."
    },
    "body": {
      "type": "string",
      "format": "byte",
      "description": "The data to upload."
    }
  },
  "required": [
    "vaultName",
    "accountId"
  ]
}