Commit Graph

3 Commits

Author SHA1 Message Date
alexandercerutti
c05bd130c3 Added schemas for 'field' and 'structure' 2018-07-22 23:48:55 +02:00
alexandercerutti
b74da4ba93 Added Barcode(s) correctness check with backward and forward compatibility check;
Added constants in schema.js to keep all the schemas against which validate;
Added schema for barcodes;
Renamed "settingSchema" in "schema";
Renamed schemas "validate" function in "isValid";
Edited "isValid" fn to accept both the schema and the object;
Added more error-catching conditions;
2018-07-22 23:21:17 +02:00
alexandercerutti
5085d27fe6 Added a schema for input parameters to Pass class 2018-07-17 23:26:05 +02:00