Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Integrate schema creator #278

Open
Floppy opened this issue Jan 6, 2017 · 2 comments
Open

Integrate schema creator #278

Floppy opened this issue Jan 6, 2017 · 2 comments

Comments

@Floppy
Copy link
Member

Floppy commented Jan 6, 2017

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.

@jamesjefferies
Copy link

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?

@pezholio
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants