Skip to content

Commit

Permalink
Dataset schema change
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed Dec 18, 2023
1 parent 3ab2eda commit 0a0fbca
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions ckanext/kepa/kepa_dataset_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,21 @@ dataset_fields:
label: Abstract
form_snippet: markdown.html

- field_name: status
label: Status
preset: select
choices :
- value: Completed
label: Completed
- value: NotCompleted
label: Not Completed



- field_name: tag_string
label: Tags
preset: tag_string_autocomplete
form_placeholder: eg. economy, mental health, government
form_placeholder: eg. water, air, agency

- field_name: license_id
label: License
Expand All @@ -42,21 +53,16 @@ dataset_fields:
form_placeholder: '1.0'



- field_name: separator
display_snippet: separator.html
label: Test Separator


- field_name: author
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
Expand All @@ -69,6 +75,13 @@ dataset_fields:
label: Voice
form_placeholder: eg. +38344 XXX-XXX

- field_name: author_email
label: Author Email
form_placeholder: [email protected]
display_property: dc:creator
display_snippet: email.html
display_email_name_field: author




Expand Down

0 comments on commit 0a0fbca

Please sign in to comment.