18F / data-act-pilot

This small DATA Act pilot contains code that translates agency data to a uniform DATA act format.
Other
21 stars 14 forks source link

Added a JSON schema for the ingestion CSV format #192

Closed harrisj closed 9 years ago

harrisj commented 9 years ago

Inspired by the excellent conversation in #161, I decided to quickly implement a CSV schema for the format used to ingest data from partner agencies into the pilot. This is merely a first draft and there is some work to be done, but I was able to validate some example CSV using these schemas with the Open Knowledge Foundation's GoodTables tool and to verify the format of these schemas are correct.

There is technically only one schema file (datapackage.json) in the Tabular Data Package format, but I decided to also extract the individual schema for each of the 4 CSV files into separate schema files for those using command line tools that only support single-file CSV validation. But technically the schema is just that one file.