[ckan-dev] JSON Metadata Schema file for CKAN?

Ian Ward ian at excess.org
Mon Jul 7 19:18:44 UTC 2014


(sorry, sent too soon)

On Mon, Jul 7, 2014 at 3:14 PM, Ian Ward <ian at excess.org> wrote:
> On Mon, Jul 7, 2014 at 3:04 PM, Aaron Couch <acinternets at gmail.com> wrote:
>> hi:
>>
>> Is there a JSON schema file for CKAN?
>>
>> I'm looking for something similar to what OGDP in Germany has published:
>> https://github.com/fraunhoferfokus/ogd-metadata/blob/master/OGPD_JSON_Schema.json
>> and Project Open Data has published:
>> http://project-open-data.github.io/schema/1_0_final/single_entry.json
>>
>> FWIW I'm working on making it easier for Drupal sites to publish endpoints
>> such as "package_list" and "package_show"
>> https://github.com/NuCivic/open_data_schema_map that can be consumed by CKAN
>> catalogs.
>
> Not exactly what you've asked, but I'm working on a way to describe
> CKAN schemas in a (very CKAN-specific) JSON format. Here's what the
> default schema looks like in this format:

https://github.com/open-data/ckanext-scheming/blob/master/ckanext/scheming/ckan_dataset.json

The "validators" list CKAN validation and conversion functions that
are applied to each field. It's not really possible to express them as
regular expressions or other JSON-schema-type validation.

Ian



More information about the ckan-dev mailing list