diff --git a/ckanext/alisea/alisea_dataset_schema.yaml b/ckanext/alisea/alisea_dataset_schema.yaml index 9559ec7..87f3315 100644 --- a/ckanext/alisea/alisea_dataset_schema.yaml +++ b/ckanext/alisea/alisea_dataset_schema.yaml @@ -1,10 +1,34 @@ scheming_version: 2 dataset_type: dataset -about: A reimplementation of the default CKAN dataset schema -about_url: http://github.com/ckan/ckanext-scheming +about: ALiSEA custom metadata scheme +about_url: https://github.com/keitaroinc/ckanext-alisea dataset_fields: +- field_name: type_of_alisea_product + label: + en: Type of ALiSEA product + fr: Type of ALiSEA product + preset: select + choices: + - value: None + label: + en: None + fr: None + - value: policy_brief + label: + en: Policy Brief + fr: Policy Brief + - value: Research_brief + label: + en: Research Brief + fr: Research Brief + - value: agroecology_insights + label: + en: Agroecology Insights + fr: Agroecology Insights + - value: videos + label: Videos - field_name: title label: Title @@ -21,55 +45,163 @@ dataset_fields: form_snippet: markdown.html form_placeholder: eg. Some useful notes about the data -- field_name: tag_string - label: Tags - preset: tag_string_autocomplete - form_placeholder: eg. economy, mental health, government +- field_name: agroecology_category + label: Agroecology Category -- field_name: license_id - label: License - form_snippet: license.html - help_text: License definitions and additional information can be found at http://opendefinition.org/ +- field_name: agroecology_keyword + label: Agroecology Keyword - field_name: owner_org label: Organization preset: dataset_organization -- field_name: url - label: Source - form_placeholder: http://example.com/dataset.json - display_property: foaf:homepage - display_snippet: link.html - -- field_name: version - label: Version - validators: ignore_missing unicode_safe package_version_validator - form_placeholder: '1.0' - - field_name: author label: Author form_placeholder: Joe Bloggs display_property: dc:creator -- field_name: author_email - label: Author Email - form_placeholder: joe@example.com - display_property: dc:creator - display_snippet: email.html - display_email_name_field: author +- field_name: year + label: Year + preset: date + +- field_name: type_of_document + label: + en: Type of document + fr: Type of document + preset: select + choices: + - value: research_articles + label: + en: Research Articles + fr: Research Articles + - value: books_and_chapters + label: + en: Books and Chapters + fr: Books and Chapters + - value: theses_and_essays + label: + en: Theses and Essays + fr: Theses and Essays + - value: briefs_and_memos + label: + en: Briefs and Memos + fr: Briefs and Memos + - value: brochures_and_flyers + label: + en: Brochures and Flyers + fr: Brochures and Flyers + - value: manuals and_guides + label: + en: Manuals and Guides + fr: Manuals and Guides + - value: media_articles_and_texts + label: + en: Media Articles and Texts + fr: Media Articles and Texts + - value: other_text_documents + label: + en: Other Text Documents + fr: Other Text Documents + - value: illustrations_and_presentations + label: + en: Illustrations and Presentations + fr: Illustrations and Presentations + - value: maps + label: + en: Maps + fr: Maps + - value: audio_files + label: + en: Audio files + fr: Audio files + - value: video_files + label: + en: Video files + fr: Video files + - value: data_sets + label: + en: Data Sets + fr: Data Sets + +- field_name: language + label: Language + +- field_name : spatial + label: Spatial + form_placeholder : {\"type\": \"Point\", \"coordinates\": [8.609762390208658, 47.40381297881529]} + +- field_name: country + label: + en: Country + fr: Country + preset: select + choices: + - value: Brunei Darussalam + label: + en: Brunei Darussalam + fr: Brunei Darussalam + - value: Cambodia + label: + en: Cambodia + fr: Cambodia + - value: Indonesia + label: + en: Indonesia + fr: Indonesia + - value: Lao PDR + label: + en: Lao PDR + fr: Lao PDR + - value: Malaysia + label: + en: Malaysia + fr: Malaysia + - value: Myanmar + label: + en: Myanmar + fr: Myanmar + - value: Philippines + label: + en: Philippines + fr: Philippines + - value: Singapore + label: + en: Singapore + fr: Singapore + - value: Thailand + label: + en: Thailand + fr: Thailand + - value: Vietnam + label: + en: Vietnam + fr: Vietnam + - value: Others + label: + en: Others + fr: Others + +- field_name: administrative_level_1 + label: Administrative level 1 + +- field_name: administrative_level_2 + label: Administrative level 2 -- field_name: maintainer - label: Maintainer - form_placeholder: Joe Bloggs - display_property: dc:contributor +- field_name: url + label: Web Link + form_placeholder: http://example.com/dataset.json + display_property: foaf:homepage + display_snippet: link.html -- field_name: maintainer_email - label: Maintainer Email - form_placeholder: joe@example.com - display_property: dc:contributor - display_snippet: email.html - display_email_name_field: maintainer +- field_name: license_id + label: License + form_snippet: license.html + help_text: License definitions and additional information can be found at http://opendefinition.org/ +- field_name: tag_string + label: Tags + preset: tag_string_autocomplete + form_placeholder: eg. economy, mental health, government resource_fields: