theodi / comma-chameleon

A desktop CSV editor for data publishers
https://comma-chameleon.io/
MIT License
278 stars 27 forks source link

data package schema fields in wrong order #115

Open Stephen-Gates opened 8 years ago

Stephen-Gates commented 8 years ago

When I use the export as datapackage feature, the resulting datapackage.json has the schema field elements in a strange order - constraints first, then the name:

screenshot 2016-09-09 06 30 09

I would expect name to be first to support easier reading.

pezholio commented 8 years ago

We can probably get round this by using the OKF datapackage JS library https://github.com/frictionlessdata/datapackage-js

pwalsh commented 8 years ago

@pezholio we could look at this too.

pezholio commented 8 years ago

Excellent 👍 That would be great