Skip to main content

FileStagingMetadata

Transport metadata staged for a file in presigned mode. Carries only what is needed to move and verify the bytes — descriptive metadata about the file lives in the deposited metadata document.

sizeinteger<int64>required

The file's size in bytes. Verified at finalise.

Possible values: >= 0

Example: 2048576
checksumstring

The file's checksum, prefixed with the algorithm (e.g. sha256:). Verified at finalise when supplied.

Example: sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
mediaTypestring

The MIME type of the file.

Possible values: <= 127 characters, Value must match regular expression ^[a-z]+/[a-z0-9\-\+\.]+$

Example: audio/x-wav
FileStagingMetadata
{
"size": 2048576,
"checksum": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"mediaType": "audio/x-wav"
}