Format of serialization

The serialization is composed of two items; the SupplyChainObject properties and the SupplyChainNode array. These two items are separated by a bang (“!”) character. 

{SupplyChainObject}!{SupplyChainNode array} 


SupplyChainObject properties

There are two properties in a SupplyChain object; version and complete. These two values must be included at the beginning of the serialized value and must be separated by a comma (“,”). 

ver,complete


Array of SupplyChainNode properties 

Following the SupplyChainObject properties, every node in the SupplyChain must be included. Properties of a SupplyChainNode object must be separated by a comma (“,”) and if there is more than one node, each must be separated by a bang (“!”) character. 

The order of properties is as follows: 

asi,sid,hp,rid,name,domain,ext