Enumeration ContentType

namespace: Tensor
type: Tensor.uint8
default: Tensor.ContentType.undefined

Description

Enum defines the content type of XID interactions. These are defined to facilitate standard definitions within XID interactions independent of the specific transport protocol or XID conduit.

Literals

undefined : 0

 

dataobject : 1

 

xmf : 2

Data is XMF binary format. The binary data is structured using atoms and atom lists. For textual wireline encodings like JSON, this is XMF base64 encoded.

json : 3

Data is formatted as JSON compliant ascii text. For binary encodings like XMF, the content will be JSON instead.