JSON format

The producer will be required to have the data in JSON format on a hosting of his preference (proprietary servers and databases, GitHub, DropBox, Drive, etc ..) where the producer will keep the ownership and total control of the data. JSON is an open standard file format, and data interchange format, that uses human-readable text to store and transmit data objects consisting of attribute–value pairs.

This is an example of a supply chain step in JSON format:

  "name": "Harvest",
  "description": "The harvest of Thor olives",
  "image": "https://raw.githubusercontent.com/Devoleum/templates-json/master/steps/imgs/harvest.png",
  "quantity": "90kg",
  "method": "by hand",
  "randomValue": "N6L!Qw@EEdXP844",
  "thumbnail" : "https://raw.githubusercontent.com/Devoleum/templates-json/master/steps/imgs/thumbnails/small_harvest.png" ,
  "date" : 11/09/2020

The JSON files that we can use with Devoleum have a fixed part composed of four required parameters: name, description, image, thumbnail and ´date`. The JSON files can be enriched with many more parameters. For example, GPS coordinates, document links, values entries (eg. quantity), links to other media, etc. Everything that the user thinks can add values to the history of their products. This is possible because using a JSON we store only the references to the Ethereum blockchain and not the files themself.

namename that idenfies a merchant, product or a supply chain step
descriptiona description
imageimage direct link
thumbnailthumbnail direct link
datea date es. 25/09/2020

As we can see looking at the example above, in that case we have enriched the JSON with three additional properties: method and quantity. The randomValue is strongly recommended for privacy purposes.