Closed maryLoi closed 4 years ago
What we have in Beer7:
{
"scheming_version": 1,
"dataset_type": "dataset",
"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": "version",
"label": "Version",
"validators": "ignore_missing unicode 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": "maintainer",
"label": "Maintainer",
"form_placeholder": "Joe Bloggs",
"display_property": "dc:contributor"
},
{
"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": "category",
"label": "Category",
"preset": "select",
"choices": [
{
"value": "municipality",
"label": "עירייה"
},
{
"value": "transportation",
"label": "תחבורה"
},
{
"value": "city_planning",
"label": "תכנון עיר וגיאוגרפיה"
},
{
"value": "recreation_welfare_sport",
"label": "פנאי, רווחה וספורט"
},
{
"value": "security_infrastructure",
"label": "ביטחון ותשתיות"
},
{
"value": "education",
"label": "חינוך"
},
{
"value": "health",
"label": "בריאות ורפואה"
},
{
"value": "religion",
"label": "דת"
},
{
"value": "culture_tourism",
"label": "תרבות ותיירות"
},
{
"value": "economy_business",
"label": "כלכלה, עסקים ויזמות"
},
{
"value": "demographics",
"label": "אוכלוסייה ודמוגרפיה"
}
]
},
{
"field_name": "update_period",
"label": "Update Period",
"preset": "select",
"choices": [
{
"value": "online",
"label": "Online"
},
{
"value": "near_real_time",
"label": "Near real time"
},
{
"value": "hourly",
"label": "אחת לשעה"
},
{
"value": "daily",
"label": "אחת ליום"
},
{
"value": "weekly",
"label": "אחת לשבוע"
},
{
"value": "monthly",
"label": "אחת לחודש"
},
{
"value": "quarterly",
"label": "אחת לרבעון"
},
{
"value": "yearly",
"label": "אחת לשנה"
},
{
"value": "manually",
"label": "לפי צורך / באופן ייזום"
}
]
}
],
"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"
}
]
}
@OriHoch to ensure that all metadata fields are available.
done + deployed to maale-adummim
you can see the metadata here:
https://github.com/hasadna/ckanext-datacity/blob/master/ckanext/datacity/scheming-dataset.json
I added the following fields to dataset:
And the following fields to resource (each file in the dataset):
I suggest
לגבי תנאי שימוש ותנאים משפטיים, האם זה לא יהיה אחיד לכל המאגרים הפתוחים?