OptionalbytesThe exact upstream bytes, set together with text. Use these to save or pass on
the record unchanged (any charset, CRs and control bytes intact).
The response Content-Type the decoding was based on.
OptionalheldSet when the item has no such component of its own and the API pointed to an
ancestor's (a section of a digitised book, a unit of an archive finding aid; seen for
source-record): the id of the item whose component this is. The record is then the
ancestor's whole record (e.g. the volume's METS), not one for the requested item.
OptionaljsonParsed JSON body, when the component returned JSON.
OptionaltextText body, when the component returned XML / a plain file: the bytes decoded by the Content-Type's charset (UTF-8 when none is given or the label is unknown).
The decoded body of an item component. Exactly one of
json/textis set:jsonfor JSON components (view, aip, binaries, ...),textfor the ones the API serves as XML or a plain file (edm RDF/XML, source record XML, citation BIB).