forked from tum-gis/ckan-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tum-gis#11 from ondics/sddi-odp-2.9.9-datasetfields
SDDI ODP 2.9.9 Branch datasetfields mit diversen Änderungen
- Loading branch information
Showing
16 changed files
with
1,070 additions
and
39 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
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
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
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
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,2 +1,2 @@ | ||
include license.json | ||
recursive-include ckanext/ogdmunich *.html *.json *.js *.less *.css *.yml *.mo *.po *.pot *.ico *.png *.svg *.woff *.woff2 *.eot *.ttf | ||
recursive-include ckanext/ogdmunich *.html *.json *.js *.less *.css *.yaml *.yml *.mo *.po *.pot *.ico *.png *.svg *.woff *.woff2 *.eot *.ttf |
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
92 changes: 92 additions & 0 deletions
92
sddi-odp/ckan-extensions/ckanext-ogdmunich/ckanext/ogdmunich/ckan_dataset.yaml
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 |
---|---|---|
@@ -0,0 +1,92 @@ | ||
scheming_version: 2 | ||
dataset_type: dataset | ||
about: A reimplementation of the default CKAN dataset schema | ||
about_url: http://github.com/ckan/ckanext-scheming | ||
|
||
|
||
dataset_fields: | ||
|
||
- field_name: title | ||
label: Title | ||
preset: title | ||
form_placeholder: eg. A descriptive title | ||
|
||
- field_name: name | ||
label: URL | ||
preset: dataset_slug | ||
form_placeholder: eg. my-dataset | ||
|
||
- field_name: notes | ||
label: Description | ||
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: license_id | ||
label: License | ||
form_snippet: license.html | ||
help_text: License definitions and additional information can be found at http://opendefinition.org/ | ||
|
||
- 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: maintainer | ||
label: Maintainer | ||
form_placeholder: Joe Bloggs | ||
display_property: dc:contributor | ||
|
||
- field_name: maintainer_email | ||
label: Maintainer Email | ||
form_placeholder: [email protected] | ||
display_property: dc:contributor | ||
display_snippet: email.html | ||
display_email_name_field: maintainer | ||
|
||
- field_name: frequency | ||
label: Update-Zyklus | ||
form_snippet: select.html | ||
display_snippet: select.html | ||
choices_helper: ogdmunich_frequency_list | ||
|
||
- field_name: references | ||
label: Musterdatenkatalog | ||
form_placeholder: https://musterdatenkatalog.de/def/musterdatensatz/bevoelkerungsstruktur/einwohnerzahl | ||
help_text: Musterdatensatz aus <a href="https://bertelsmannstift.github.io/Musterdatenkatalog/def/musterdatensatz.html" target="_blank">Musterdatenkatalog</a> | ||
help_allow_html: true | ||
validators: url_validator ogdmunich_is_musterdatensatz | ||
|
||
- field_name: hvd_category | ||
label: Hochwertiger Datensatz | ||
form_snippet: select.html | ||
choices_helper: ogdmunich_hvd_category_list | ||
|
||
|
||
resource_fields: | ||
|
||
- field_name: url | ||
label: URL | ||
preset: resource_url_upload | ||
|
||
- field_name: name | ||
label: Name | ||
form_placeholder: eg. January 2011 Gold Prices | ||
|
||
- field_name: description | ||
label: Description | ||
form_snippet: markdown.html | ||
form_placeholder: Some useful notes about the data | ||
|
||
- field_name: format | ||
label: Format | ||
preset: resource_format_autocomplete |
Oops, something went wrong.