[ckan-dev] Metadata fields

Stefan Oderbolz stefan.oderbolz at liip.ch
Thu Dec 5 12:31:08 UTC 2013


Hi Mark,

yes you can add arbitrary fields using the so called "extras".
The predefined metadata fields are listed here:
https://github.com/okfn/ckan/blob/master/ckan/logic/schema.py#L63
They used to be in the docs, see e.g. for CKAN 1.8:
http://docs.ckan.org/en/ckan-1.8/domain-model-dataset.html, but I can't
find this page in the latest docs anymore.

So apart from all the predefined fields, the "extras" may contain any
key/value pair, which allows you to store whatever you want.

Regards Stefan



On Thu, Dec 5, 2013 at 1:13 PM, Mark Brady - NOAA Federal <
mark.brady at noaa.gov> wrote:

> Here is a very basic question.  Is it possible to set up an instance
> of CKAN with any number of custom metadata fields or is one restricted
> to the use a predefined fields?
>
> -Mark
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>



-- 
Liip AG  //  Feldstrasse 133 //  CH-8004 Zurich
Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131205/346affd4/attachment-0003.html>


More information about the ckan-dev mailing list