Skip to content

Instantly share code, notes, and snippets.

@happyrainb
Last active May 21, 2016 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save happyrainb/3b21cbdc7e64a1a2311ed54abc4ed5dd to your computer and use it in GitHub Desktop.
Save happyrainb/3b21cbdc7e64a1a2311ed54abc4ed5dd to your computer and use it in GitHub Desktop.
{
"scheming_version": 1,
"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. The URL of the dataset in the CUSP Catalog (CKAN)"
},
{
"field_name": "Data_Classification",
"label": "Data Classification",
"form_placeholder": "Description about the dataset. What are included, when and why, etc."
},
{
"field_name": "Description",
"label": "Description",
"form_snippet": "markdown.html",
"form_placeholder": "Description about the dataset. What are included, when and why, etc."
},
{
"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": "Copyright",
"label": "Copyright",
"form_placeholder": "Is there a copyright or user agreement for this dataset? Yes or No."
},
{
"field_name": "owner_org",
"label": "Organization",
"preset": "dataset_organization",
"form_placeholder": "Organization which owns this dataset."
},
{
"field_name": "version",
"label": "Version",
"validators": "ignore_missing unicode package_version_validator",
"form_placeholder": "1.0"
},
{
"field_name": "Availability_Status",
"label": "Availability Status",
"form_placeholder": "Availability Status of the dataset: Private or Public."
},
{
"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_snippet": "email.html",
"display_email_name_field": "author"
},
{
"field_name": "data_steward",
"label": "Data Steward",
"form_placeholder": "Joe Bloggs",
"form_placeholder": "Name of the Data Steward who is responsible to ensure that the CUSP Dataset."
},
{
"field_name": "data_steward_email",
"label": "Data Steward Email",
"form_placeholder": "joe@example.com",
"display_snippet": "email.html",
"display_email_name_field": "maintainer"
},
{
"field_name": "CUSP_Location",
"label": "CUSP Location",
"form_snippet": "text.html",
"form_placeholder": "eg. The file path where CUSP stores the dataset."
},
{
"field_name": "File_Format",
"label": "File Format",
"form_snippet": "text.html",
"form_placeholder": "eg. Format of the data file."
},
{
"field_name": "Create_Date",
"label": "Create Date",
"preset": "date",
"form_placeholder": "eg. create date."
},
{
"field_name": "Last_Updated",
"label": "Last Updated",
"preset": "date",
"form_placeholder": "eg. The last updated date."
},
{
"field_name": "Geographic_Coverage",
"label": "Geographic Coverage",
"form_snippet": "markdown.html",
"form_placeholder": "eg. Geographic Coverage"
},
{
"field_name": "Number_of_Files",
"label": "Number of Files",
"form_snippet": "text.html",
"form_placeholder": "eg. Number of Files"
},
{
"field_name": "DOI",
"label": "DOI",
"form_snippet": "text.html",
"form_placeholder": "eg. The DOI number"
},
{
"field_name": "Temporal_Coverage",
"label": "Temporal Coverage",
"form_snippet": "text.html",
"form_placeholder": "eg. Temporal Coverage"
},
{
"field_name": "Related Data",
"label": "Related Data",
"form_placeholder": "eg. Information on the relationship of the current dataset to other datasets."
},
{
"field_name": "notes",
"label": "Notes",
"form_snippet": "markdown.html",
"form_placeholder": "eg. Some useful notes about the data"
},
{
"field_name": "Update Frequency",
"label": "Update Frequency",
"form_placeholder": "eg. Update Frequency of the datasets."
}
],
"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"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment