ropensci-archive / datapkg

:no_entry: ARCHIVED :no_entry: Read and Write Data Packages
https://docs.ropensci.org/datapkg
Other
40 stars 6 forks source link

Validate JSON #6

Closed jeroen closed 8 years ago

jeroen commented 8 years ago

Using https://github.com/ropenscilabs/jsonvalidate. @pwalsh where can I find the schema for data packages?

pwalsh commented 8 years ago

@jeroenooms

The Tabular Data Package Profile is here: http://schemas.datapackages.org/tabular-data-package.json

FYI, we have a registry of different schemas here and we load different profiles from here dynamically in Python and JS libs. Example. Because R only needs Tabular data package support, I guess you only need that particular profile.

jeroen commented 8 years ago

We now have a datapkg_validate function: https://github.com/ropenscilabs/datapkg/commit/14dad38cac4d929405aaea2f6bdbff8843880594