Data-Liberation-Front / csvlint.io

Check that your CSV files are valid
http://csvlint.io
MIT License
73 stars 12 forks source link

Update link to JSON Table Schema specification and explain variations #289

Open Stephen-Gates opened 7 years ago

Stephen-Gates commented 7 years ago

The specification is now at https://specs.frictionlessdata.io/table-schema/ not http://dataprotocols.org/json-table-schema/ as used in the about page.

The link in the about page redirects to the new specification.

The about page says, "We currently recognise schemas that use the JSON Table Schema, with a few modifications." but doesn't explicitly say what these variations are.

Why not just support the JSON Table Schema as it is defined?

mhGLEIF commented 6 years ago

Or this language:

https://github.com/digital-preservation/csv-schema

?

mhGLEIF commented 6 years ago

@Stephen-Gates @quadrophobiac seems like the variations are substantial.

I tried to use a schema with minimum lengths of 1 for all columns, with any empty values i.e. "" indicated as missingValues but this failed spectacularly, with all the empty values failing the minLength check.

Stephen-Gates commented 6 years ago

@mhGLEIF if you need software libraries or apps to valid csv files against a schema, I'd look here https://frictionlessdata.io/software/ I lead the Data Curator project.

Be warned not every software listed supports v1 of the specification (see https://github.com/frictionlessdata/website/issues/135) - e.g. CSVLint

The correct link for the CSVLint About page to use is now https://frictionlessdata.io/specs/table-schema/