Open Floppy opened 7 years ago
Should this be an option on 'Adding a Dataset', i.e. a checkbox saying 'Generate my schema automatically' or an option from 'Edit dataset' or both?
Should we do this by default or not when a schema is added?
Also, it's worth looking at https://github.com/frictionlessdata/jsontableschema-rb which is slightly more fully-featured, but I'm not sure if the generated schemas are 100% CSVlint compatible
CSVlint might be a sensible place to allow people to create schemas. Once someone's uploaded a valid CSV, they could then get an interface to make a schema from it. @slowe created https://github.com/odileeds/JSONSchema, which does this, and @pezholio created a ruby gem based on it using the same algorithms in https://github.com/theodi/csv2schema.