name
"document.pdf"
.
mimeType
"application/pdf"
.
data
"JVBERi0xLjQKJ..."
(for a PDF)
encoding
data
field represents text that was then Base64 encoded (e.g., a text file’s content).
Common values include UTF8
or ASCII
.
If the data
field is Base64 encoded binary (like an image), this field is often not needed or can be omitted.
See BufferEncoding
enum.