Add API to create message model from CSV file upload

Input

CSV file with header row and 0 or more data rows

Output

Message model specification in STH

Proces

  • A new specification (message model) should be generated.
  • A specification version is created with the name of the dataset.
  • Each column within the CSV becomes an element of that message model
  • If every instance within a column is filled, the cardinality is 1..1; otherwise, it is 0..1.
  • Determine the data type of a column/element from the sample data, for example, string.
  • The second row of the CSV file (with instances) can be utilized as example values in the message model.
  • Data can be discarded after message model is produced
Edited by Michiel Stornebrink