Declares a typed item stream. The catalog records the encoder's media type
and the item schema; the SDK validates yielded items, passes them through
the encoder, and exposes the resulting byte stream to the transport.
Declares a raw byte stream whose format the application owns. Defaults to
application/octet-stream when no media type is supplied; a more precise
media type should be used when known.
Declares a typed item stream. The catalog records the encoder's media type and the item schema; the SDK validates yielded items, passes them through the encoder, and exposes the resulting byte stream to the transport.