-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7389f3
commit 8fcbca4
Showing
1 changed file
with
42 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
scheming_version: 2 | ||
dataset_type: dataset | ||
about: A reimplementation of the default CKAN dataset schema (test only) | ||
about: A reimplementation of the default CKAN dataset schema | ||
about_url: http://github.com/ckan/ckanext-scheming | ||
|
||
|
||
|
@@ -14,12 +14,11 @@ dataset_fields: | |
- field_name: name | ||
label: URL | ||
preset: dataset_slug | ||
form_placeholder: eg. my-dataset | ||
form_placeholder: eg. my-dataset | ||
|
||
- field_name: notes | ||
label: Description | ||
- field_name: abstract | ||
label: Abstract | ||
form_snippet: markdown.html | ||
form_placeholder: eg. Some useful notes about the data | ||
|
||
- field_name: tag_string | ||
label: Tags | ||
|
@@ -31,7 +30,6 @@ dataset_fields: | |
form_snippet: license.html | ||
help_text: License definitions and additional information can be found at http://opendefinition.org/ | ||
|
||
|
||
- field_name: url | ||
label: Source | ||
form_placeholder: http://example.com/dataset.json | ||
|
@@ -43,11 +41,37 @@ dataset_fields: | |
validators: ignore_missing unicode_safe package_version_validator | ||
form_placeholder: '1.0' | ||
|
||
|
||
|
||
|
||
|
||
- field_name: author | ||
label: Author(s) | ||
label: Author | ||
form_placeholder: Joe Bloggs | ||
display_property: dc:creator | ||
|
||
- field_name: author_email | ||
label: Author Email | ||
form_placeholder: [email protected] | ||
display_property: dc:creator | ||
display_snippet: email.html | ||
display_email_name_field: author | ||
|
||
- field_name: owner_org | ||
label: Organization | ||
preset: dataset_organization | ||
|
||
- field_name: position_name | ||
label: Position Name | ||
form_placeholder: eg. Head of Department | ||
|
||
- field_name: voice | ||
label: Voice | ||
form_placeholder: eg. +38344 XXX-XXX | ||
|
||
|
||
|
||
|
||
|
||
- field_name: maintainer | ||
label: Maintainer | ||
|
@@ -61,27 +85,10 @@ dataset_fields: | |
display_snippet: email.html | ||
display_email_name_field: maintainer | ||
|
||
- field_name: update_frequency | ||
label: Update Frequency | ||
preset: select | ||
form_placeholder: "Select update frequency like: weekly or monthly" | ||
choices: | ||
- value: daily | ||
label: Daily | ||
- value: weekly | ||
label: Weekly | ||
- value: monthly | ||
label: Monthly | ||
- value: yearly | ||
label: Yearly | ||
- value: ad-hoc | ||
label: Ad-hoc | ||
- value: never | ||
label: Never | ||
|
||
- field_name: preferred_form_of_citation | ||
label: Preferred Form of Citation | ||
form_placeholder: "eg. INTERNATIONAL ATOMIC ENERGY AGENCY, [TITLE]. IN: IAEA Data Platform [online], IAEA, Vienna [YEAR]." | ||
|
||
- field_name : spatial | ||
label: Spatial | ||
form_placeholder : {\"type\": \"Point\", \"coordinates\": [8.609762390208658, 47.40381297881529]} | ||
|
||
|
||
resource_fields: | ||
|
@@ -99,3 +106,10 @@ resource_fields: | |
form_snippet: markdown.html | ||
form_placeholder: Some useful notes about the data | ||
|
||
- field_name: format | ||
label: Format | ||
preset: resource_format_autocomplete | ||
|
||
|
||
|
||
|