Closed coderbyheart closed 4 years ago
This is no longer needed.
The forms mentioned above (example) are no longer used, instead a Google Form ("DA Quote Request") is used to collect the necessary information. Work to support this form has been started in #84.
This issue tracks work around this idea.
Input needed
User story
Implementation
This does not necessarily need to be implement in
toolbox
. It could be implemented as a microservice which is capable of taking a Google Drive URL, extracting the data from Google Drive, and matching it against a JSON schema URL.Input:
Output:
Parsing a spreadsheet
In order to allow the spreadsheet be flexible in formatting and allow for re-arranging of fields, I'd follow the sample from German Tax Forms:
Note the green numbers (Field Code) in front of the white boxes where data is supposed to be entered. These numbers are used to identify values and while allowing for different representations (on paper, electronically).
So, in our forms we can establish the rule that all fields need to have a Field Code in the column before the data:
101
201
202
203
As long as there is a column labeled
FC
(Field Code) and it contains a number we can locate that value regardless of the spreadsheet layout.For inputs that produce multiple entries (e.g. Cargo details) it would work the same. Every input field gets a number, and the parser will generate a list of items if it detects entries with the same code.
901
902
903
904
905
906
907
908