| data |
{'author': None, 'author_email': None, 'creator_user_id': 'edabd58a-206b-4837-ae44-ff17c126fe88', 'doi': '10.15493/SARVA.31092023', 'featured': 'false', 'id': '63b05561-7191-4736-9e5b-e94f8375bfe6', 'isopen': False, 'license_id': None, 'license_title': None, 'lineage_statement': 'The increase in wards from 4,277 in 2009 to 4,468 in 2020 was driven by population growth and governance reforms aimed at improving representation and service delivery at the local level.', 'maintainer': None, 'maintainer_email': None, 'metadata_created': '2025-08-13T14:28:21.053535', 'metadata_date': '2025-08-13T16:27', 'metadata_modified': '2025-08-13T14:29:11.850938', 'metadata_thumbnail': '', 'name': 'south_african_municipal_ward_boundaries_2020', 'notes': 'In 2020, South Africa was divided into 4,468 municipal wards, forming the smallest administrative units within the local government system. These wards were distributed across 205 local municipalities and 8 metropolitan municipalities, with each ward represented by an elected ward councilor. Ward boundaries were determined by the Municipal Demarcation Board based on factors such as population size, geographic considerations, and administrative efficiency.', 'num_resources': 1, 'num_tags': 1, 'organization': {'id': 'daf47320-a59c-48de-99e1-ed79d1edb8bb', 'name': 'municipal-demarcation-board', 'title': 'Municipal Demarcation Board', 'type': 'organization', 'description': 'The Municipal Demarcation Board is an independent authority responsible for the determination of municipal boundaries.', 'image_url': '2025-08-13-114446.597008mdb-logo.png', 'created': '2025-08-13T11:44:46.616053', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': 'daf47320-a59c-48de-99e1-ed79d1edb8bb', 'private': True, 'reference_system_additional_info': '', 'spatial': '{"type": "Polygon", "coordinates": [[[16.4699, -34.8212], [32.8931, -34.8212], [32.8931, -22.1265], [16.4699, -22.1265], [16.4699, -34.8212]]]}', 'state': 'active', 'title': 'South African Municipal Ward Boundaries, 2020', 'type': 'dataset', 'url': None, 'version': None, 'contact': [{'electronic_mail_address': 'info@demarcation.org.za', 'individual_name': 'Municipal Demarcation Board', 'position_name': 'Independent Authority', 'role': 'point_of_contact'}], 'contact_information': [{'facsimile': '', 'voice': ''}], 'dataset_reference_date': [{'reference': '2020-11-12T00:00', 'reference_date_type': 2}], 'distribution_format': [{'name': 'Electronic metadata record', 'version': '1.0'}], 'metadata_language_and_character_set': [{'dataset_character_set': 'utf-8', 'dataset_language': 'English', 'metadata_character_set': 'utf-8', 'metadata_language': 'English'}], 'metadata_standard': [{'name': 'SANS 1878-1:2011', 'version': '1.1'}], 'online_resource': [{'application_profile': '', 'description': 1, 'linkage': 'https://spatialhub-mdb-sa.opendata.arcgis.com/datasets/279fbf82a48f46678ddd498627af3f0a_0/about', 'name': 'MDB Wards 2020'}], 'resources': [{'cache_last_updated': None, 'cache_url': None, 'created': '2025-08-13T14:28:43.087975', 'description': '', 'format': '', 'format_version': '', 'hash': '', 'id': 'ef152e47-80d9-4126-bbcb-359000d590c6', 'last_modified': None, 'metadata_modified': '2025-08-13T14:28:43.051644', 'mimetype': None, 'mimetype_inner': None, 'name': 'MDB Wards 2020', 'package_id': '63b05561-7191-4736-9e5b-e94f8375bfe6', 'position': 0, 'resource_type': 'other', 'size': None, 'state': 'active', 'upload_mode': 'single', 'url': 'https://spatialhub-mdb-sa.opendata.arcgis.com/datasets/279fbf82a48f46678ddd498627af3f0a_0/about', 'url_type': None, 'has_views': False}], 'responsible_party': [{'electronic_mail_address': '', 'individual_name': 'Municipal Demarcation Board', 'position_name': 'Independent Authority', 'role': 'resource_provider', 'website': ''}], 'responsible_party_contact_address': [{'administrative_area': '', 'city': '', 'delivery_point': '', 'postal_code': ''}], 'responsible_party_contact_info': [{'facsimile': '', 'voice': ''}], 'spatial_parameters': [{'equivalent_scale': 'NA', 'spatial_reference_system': 'WGS:84', 'spatial_representation_type': '002'}], 'tags': [{'display_name': 'Boundaries', 'id': '8c110fef-c0c0-4d78-a7d9-5a0cb06120c1', 'name': 'Boundaries', 'state': 'active', 'vocabulary_id': None}], 'topic_and_saeoss_themes': [{'iso_topic_category': 'boundaries'}], 'groups': [], 'relationships_as_subject': [], 'relationships_as_object': [], 'reference_date': '2020-11-12T00:00'} |
| h |
{'redirect_to': <function redirect_to at 0x7f70916a1d30>, 'url': <function url at 0x7f70916a1e50>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7f70916a1dc0>, 'url_for': <function url_for at 0x7f70916a4040>, 'url_for_static': <function url_for_static at 0x7f70916a41f0>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7f70916a4280>, 'is_url': <function is_url at 0x7f70916a4310>, 'url_is_local': <function url_is_local at 0x7f70916a4430>, 'full_current_url': <function full_current_url at 0x7f70916a44c0>, 'current_url': <function current_url at 0x7f70916a4550>, 'lang': <function lang at 0x7f70916a45e0>, 'ckan_version': <function ckan_version at 0x7f70916a4670>, 'lang_native_name': <function lang_native_name at 0x7f70916a4700>, 'is_rtl_language': <function is_rtl_language at 0x7f70916a4790>, 'get_rtl_theme': <function get_rtl_theme at 0x7f70916a4820>, 'get_rtl_css': <function get_rtl_css at 0x7f70916a48b0>, 'flash_notice': <function flash_notice at 0x7f70916a4940>, 'flash_error': <function flash_error at 0x7f70916a4dc0>, 'flash_success': <function flash_success at 0x7f70916a4e50>, 'are_there_flash_messages': <function are_there_flash_messages at 0x7f70916a4ee0>, 'link_to': <function link_to at 0x7f70916253a0>, 'file': <function file at 0x7f7091625430>, 'submit': <function submit at 0x7f70916254c0>, 'nav_link': <function nav_link at 0x7f7091625550>, 'nav_named_link': <function nav_named_link at 0x7f7091625820>, 'subnav_link': <function subnav_link at 0x7f7091625940>, 'subnav_named_route': <function subnav_named_route at 0x7f7091625a60>, 'build_nav_main': <function build_pages_nav_main at 0x7f7074b79f70>, 'build_nav_icon': <function build_nav_icon at 0x7f7091625af0>, 'build_nav': <function build_nav at 0x7f7091625b80>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7f7091625ca0>, 'default_group_type': <function default_group_type at 0x7f7091625dc0>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7f7091625e50>, 'has_more_facets': <function has_more_facets at 0x7f7091625ee0>, 'unselected_facet_items': <function unselected_facet_items at 0x7f7091625f70>, 'get_facet_title': <function get_facet_title at 0x7f7091626160>, 'get_param_int': <function get_param_int at 0x7f7091626040>, 'sorted_extras': <function sorted_extras at 0x7f7091626280>, 'check_access': <function check_access at 0x7f7091626310>, 'get_action': <function get_action at 0x7f70916264c0>, 'linked_user': <function linked_user at 0x7f70916263a0>, 'group_name_to_title': <function group_name_to_title at 0x7f7091626550>, 'truncate': <function truncate at 0x7f70916265e0>, 'markdown_extract': <function markdown_extract at 0x7f7091626670>, 'icon_url': <function icon_url at 0x7f7091626700>, 'icon_html': <function icon_html at 0x7f7091626790>, 'icon': <function icon at 0x7f7091626820>, 'resource_icon': <function resource_icon at 0x7f70916268b0>, 'format_icon': <function format_icon at 0x7f7091626940>, 'dict_list_reduce': <function dict_list_reduce at 0x7f70916269d0>, 'gravatar': <function gravatar at 0x7f7091626a60>, 'sanitize_url': <function sanitize_url at 0x7f7091626af0>, 'user_image': <function user_image at 0x7f7091626b80>, 'pager_url': <function pager_url at 0x7f7091626c10>, 'get_page_number': <function get_page_number at 0x7f7091626ca0>, 'get_display_timezone': <function get_display_timezone at 0x7f7091626d30>, 'render_datetime': <function render_datetime at 0x7f7091626dc0>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7f7091626e50>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7f7091626ee0>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7f7091626f70>, 'button_attr': <function button_attr at 0x7f7091627280>, 'dataset_display_name': <function dataset_display_name at 0x7f7091627310>, 'dataset_link': <function dataset_link at 0x7f70916273a0>, 'resource_display_name': <function resource_display_name at 0x7f7091627430>, 'resource_link': <function resource_link at 0x7f70916274c0>, 'tag_link': <function tag_link at 0x7f7091627550>, 'group_link': <function group_link at 0x7f70916275e0>, 'organization_link': <function organization_link at 0x7f7091627670>, 'dump_json': <function dump_json at 0x7f7091627700>, 'auto_log_message': <function auto_log_message at 0x7f7091627790>, 'activity_div': <function activity_div at 0x7f7091627820>, 'snippet': <function snippet at 0x7f70916278b0>, 'convert_to_dict': <function convert_to_dict at 0x7f7091627940>, 'follow_button': <function follow_button at 0x7f70916279d0>, 'follow_count': <function follow_count at 0x7f7091627a60>, 'add_url_param': <function add_url_param at 0x7f7091627b80>, 'remove_url_param': <function remove_url_param at 0x7f7091627c10>, 'include_resource': <function include_resource at 0x7f7091627ca0>, 'urls_for_resource': <function urls_for_resource at 0x7f7091627d30>, 'debug_inspect': <function debug_inspect at 0x7f7091627dc0>, 'popular': <function popular at 0x7f7091627e50>, 'groups_available': <function groups_available at 0x7f7091627ee0>, 'organizations_available': <function organizations_available at 0x7f7091627f70>, 'roles_translated': <function roles_translated at 0x7f7091628040>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7f70916280d0>, 'dashboard_activity_stream': <function dashboard_activity_stream at 0x7f7091628160>, 'recently_changed_packages_activity_stream': <function recently_changed_packages_activity_stream at 0x7f70916281f0>, 'escape_js': <function escape_js at 0x7f7091628280>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7f7091628310>, 'get_request_param': <function get_request_param at 0x7f70916283a0>, 'html_auto_link': <function html_auto_link at 0x7f7091628430>, 'render_markdown': <function render_markdown at 0x7f70916284c0>, 'format_resource_items': <function format_resource_items at 0x7f7091628550>, 'resource_preview': <function resource_preview at 0x7f70916285e0>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7f7091628670>, 'rendered_resource_view': <function rendered_resource_view at 0x7f7091628700>, 'view_resource_url': <bound method ResourceProxy.view_resource_url of <Plugin ResourceProxy 'resource_proxy'>>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7f7091628820>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7f70916288b0>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7f7091628940>, 'resource_view_icon': <function resource_view_icon at 0x7f70916289d0>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7f7091628a60>, 'resource_view_full_page': <function resource_view_full_page at 0x7f7091628af0>, 'remove_linebreaks': <function remove_linebreaks at 0x7f7091628b80>, 'list_dict_filter': <function list_dict_filter at 0x7f7091628c10>, 'SI_number_span': <function SI_number_span at 0x7f7091628ca0>, 'new_activities': <function new_activities at 0x7f7091628d30>, 'uploads_enabled': <function uploads_enabled at 0x7f7091628dc0>, 'get_featured_organizations': <function get_featured_organizations at 0x7f7091628e50>, 'get_featured_groups': <function get_featured_groups at 0x7f7091628ee0>, 'featured_group_org': <function featured_group_org at 0x7f7091628f70>, 'get_site_statistics': <function get_site_statistics at 0x7f7091629040>, 'resource_formats': <function resource_formats at 0x7f70916290d0>, 'unified_resource_format': <function unified_resource_format at 0x7f7091629160>, 'check_config_permission': <function check_config_permission at 0x7f70916291f0>, 'get_organization': <function get_organization at 0x7f7091629280>, 'license_options': <function license_options at 0x7f7091629310>, 'get_translated': <function get_translated at 0x7f70916293a0>, 'facets': <function facets at 0x7f7091629430>, 'mail_to': <function mail_to at 0x7f70916294c0>, 'radio': <function radio at 0x7f7091629550>, 'clean_html': <function clean_html at 0x7f70916295e0>, 'flash': <ckan.lib.helpers._Flash object at 0x7f7091691850>, 'localised_number': <function localised_number at 0x7f70928d8310>, 'localised_SI_number': <function localised_SI_number at 0x7f70928d8430>, 'localised_nice_date': <function localised_nice_date at 0x7f70928d81f0>, 'localised_filesize': <function localised_filesize at 0x7f70928d83a0>, 'get_available_locales': <function get_available_locales at 0x7f7093a2aca0>, 'get_locales_dict': <function get_locales_dict at 0x7f7093a2ac10>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7f7093b3dee0>, 'urlencode': <function urlencode at 0x7f70956efca0>, 'include_asset': <function include_asset at 0x7f70916a1820>, 'render_assets': <function render_assets at 0x7f70916a1940>, 'sanitize_id': <function sanitize_id at 0x7f7091629700>, 'compare_pkg_dicts': <function compare_pkg_dicts at 0x7f7091629790>, 'activity_list_select': <function activity_list_select at 0x7f7091629820>, 'get_collaborators': <function get_collaborators at 0x7f70916298b0>, 'can_update_owner_org': <function can_update_owner_org at 0x7f7091629940>, 'check_ckan_version': <function check_ckan_version at 0x7f70916299d0>, 'csrf_input': <function csrf_input at 0x7f7091629a60>, 'saeoss_default_spatial_search_extent': functools.partial(<function get_default_spatial_search_extent at 0x7f7074483dc0>, 0.001), 'default_bounding_box': <function get_default_bounding_box at 0x7f7074483e50>, 'convert_geojson_to_bounding_box': <function convert_geojson_to_bbox at 0x7f7074483ee0>, 'extent_to_bbox': <function convert_string_extent_to_bbox at 0x7f7074483f70>, 'saeoss_themes': <function get_saeoss_themes at 0x7f70744e44c0>, 'iso_topic_categories': <function get_iso_topic_categories at 0x7f7074483ca0>, 'get_iso_topic_display': <function get_iso_topic_display at 0x7f7074483d30>, 'saeoss_show_version': <function helper_show_version at 0x7f707447c040>, 'user_is_org_member': <function user_is_org_member at 0x7f707447c0d0>, 'org_member_list': <function org_member_list at 0x7f707447c160>, 'user_is_staff_member': <function user_is_staff_member at 0x7f707447c1f0>, 'get_featured_datasets': <function get_featured_datasets at 0x7f707447c310>, 'get_recently_modified_datasets': <function get_recently_modified_datasets at 0x7f707447c430>, 'get_all_datasets_count': <function get_all_datasets_count at 0x7f707447c4c0>, 'saeoss_org_memberships': <function get_org_memberships at 0x7f707447c790>, 'mod_scheming_flatten_subfield': <function mod_scheming_flatten_subfield at 0x7f707447c820>, 'get_today_date': <function get_today_date at 0x7f707447c940>, 'get_maintenance_custom_other_field_data': <function get_maintenance_custom_other_field_data at 0x7f707447c8b0>, 'get_release': <function get_current_release at 0x7f707447c9d0>, 'get_saved_searches': <function get_saved_searches at 0x7f707447caf0>, 'get_recent_news': <function get_recent_news at 0x7f707447cd30>, 'get_featured_datasets_count': <function get_featured_datasets_count at 0x7f707447c3a0>, 'get_user_name': <function get_user_name at 0x7f707447cb80>, 'get_user_name_from_url': <function get_user_name_from_url at 0x7f707447cca0>, 'get_user_id': <function get_user_id at 0x7f707447cc10>, 'get_seo_metatags': <function get_seo_metatags at 0x7f707447cdc0>, 'get_datasets_thumbnail': <function get_datasets_thumbnail at 0x7f707447c670>, 'get_year': <function get_year at 0x7f707447ce50>, 'get_user_dashboard_packages': <function get_user_dashboard_packages at 0x7f707447cee0>, 'get_org_public_records_count': <function get_org_public_records_count at 0x7f707447c5e0>, 'group_package_count': <function group_package_count at 0x7f707447c550>, 'render_content': <function render_content at 0x7f7074b955e0>, 'get_wysiwyg_editor': <function get_wysiwyg_editor at 0x7f7074ba1b80>, 'get_recent_blog_posts': <function get_recent_blog_posts at 0x7f7074ba1c10>, 'pages_get_plus_icon': <function get_plus_icon at 0x7f7074ba1ca0>, 'scheming_language_text': <function scheming_language_text at 0x7f7074c59d30>, 'scheming_field_choices': <function scheming_field_choices at 0x7f7074c59dc0>, 'scheming_choices_label': <function scheming_choices_label at 0x7f7074c59e50>, 'scheming_datastore_choices': <function scheming_datastore_choices at 0x7f7074c59ee0>, 'scheming_field_required': <function scheming_field_required at 0x7f7074c59b80>, 'scheming_dataset_schemas': <function scheming_dataset_schemas at 0x7f7074c59f70>, 'scheming_get_presets': <function scheming_get_presets at 0x7f7074c59c10>, 'scheming_get_preset': <function scheming_get_preset at 0x7f7074bce040>, 'scheming_get_dataset_schema': <function scheming_get_dataset_schema at 0x7f7074bce0d0>, 'scheming_get_dataset_form_pages': <function scheming_get_dataset_form_pages at 0x7f7074bce160>, 'scheming_group_schemas': <function scheming_group_schemas at 0x7f7074bce1f0>, 'scheming_get_group_schema': <function scheming_get_group_schema at 0x7f7074bce280>, 'scheming_organization_schemas': <function scheming_organization_schemas at 0x7f7074bce310>, 'scheming_get_organization_schema': <function scheming_get_organization_schema at 0x7f7074bce3a0>, 'scheming_get_schema': <function scheming_get_schema at 0x7f7074bce430>, 'scheming_field_by_name': <function scheming_field_by_name at 0x7f7074bce4c0>, 'scheming_datetime_to_utc': <function scheming_datetime_to_utc at 0x7f7074bce5e0>, 'scheming_datetime_to_tz': <function scheming_datetime_to_tz at 0x7f7074bce670>, 'scheming_get_timezones': <function scheming_get_timezones at 0x7f7074bce700>, 'scheming_display_json_value': <function scheming_display_json_value at 0x7f7074bce790>, 'scheming_render_from_string': <function scheming_render_from_string at 0x7f7074bce820>, 'scheming_flatten_subfield': <function scheming_flatten_subfield at 0x7f7074bce8b0>, 'get_common_map_config_shp': <function get_common_map_config at 0x7f7074c38670>, 'get_shapefile_viewer_config': <function get_shapefile_viewer_config at 0x7f7074c38700>, 'get_common_map_config_wmts': <function get_common_map_config at 0x7f7074c38670>, 'get_common_map_config_geojson': <function get_common_map_config at 0x7f7074c38670>, 'geojson_get_max_file_size': <function get_max_file_size at 0x7f7074c38790>, 'get_common_map_config_geoviews': <function get_common_map_config at 0x7f7074c38670>, 'get_openlayers_viewer_config': <function get_openlayers_viewer_config at 0x7f7074c38820>, 'get_reference_date': <function get_reference_date at 0x7f706ac2faf0>, 'get_responsible_party': <function get_responsible_party at 0x7f706ac2fb80>, 'get_common_map_config': <function get_common_map_config at 0x7f706ac2fc10>, 'package_list_for_source': <function package_list_for_source at 0x7f706ac2fe50>, 'package_count_for_source': <function package_count_for_source at 0x7f706ac2fee0>, 'harvesters_info': <function harvesters_info at 0x7f706ac2ff70>, 'harvester_types': <function harvester_types at 0x7f706ac39040>, 'harvest_frequencies': <function harvest_frequencies at 0x7f706ac390d0>, 'link_for_harvest_object': <function link_for_harvest_object at 0x7f706ac39160>, 'harvest_source_extra_fields': <function harvest_source_extra_fields at 0x7f706ac391f0>, 'bootstrap_version': <function bootstrap_version at 0x7f706ac39280>, 'get_harvest_source': <function get_harvest_source at 0x7f706ac2fdc0>, 'get_map_config': <function get_mapview_config at 0x7f708f49f550>, 'get_dataproxy_url': <function get_dataproxy_url at 0x7f708f49f5e0>} |
| schema |
{'scheming_version': 2, 'dataset_type': 'dataset', 'about': 'CKAN schema for the SAEOSS portal. This schema holds SANS1878-related fields', 'dataset_fields': [{'validators': 'if_empty_same_as(name) unicode_safe', 'form_snippet': 'large_text.html', 'form_attrs': {'data-module': 'slug-preview-target'}, 'field_name': 'title', 'label': 'Title', 'help_text': 'Name by which the cited resource is known, the automatically filled URL is a unique identifier for the metadata record- This is a SANS 1878 mandatory field', 'preset': 'title', 'required': True, 'form_placeholder': 'eg. A descriptive title'}, {'form_snippet': 'dataset_featured.html', 'field_name': 'featured', 'label': 'Feature metadata record on SAEOSS landing page?', 'required': False, 'help_text': 'Should this metadata record be featured on the SAEOSS front page?', 'validators': 'boolean_validator', 'preset': 'saeoss_checkbox'}, {'field_name': 'doi', 'label': 'DOI', 'required': False, 'help_text': 'Digital Object Identifier of the metadata record (if any)', 'validators': 'doi_validator'}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'metadata_standard', 'label': 'Metadata Standard', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'name', 'label': 'Metadata standard name', 'validators': 'metadata_default_standard_name', 'required': False, 'help_text': 'Name(s) of metadata standard used, if multiple standards used, separate them by comma, leave blank if the metadata standard used is SANS1878'}, {'field_name': 'version', 'label': 'Metadata standard version', 'validators': 'metadata_default_standard_version', 'required': False, 'help_text': 'Version(s) of metadata standard used, if multiple standards used, separate versions by comma, leave blank if the metadata standard version is 1.1'}]}, {'field_name': 'notes', 'label': 'Abstract', 'required': True, 'form_snippet': 'markdown.html', 'form_placeholder': 'eg. Some useful notes about the data', 'help_text': 'Brief narrative summary of the content of the resource - This is a SANS 1878 mandatory field'}, {'validators': 'owner_org_validator unicode', 'form_snippet': 'organization_with_visibility.html', 'field_name': 'owner_org', 'label': 'Responsible organisation Name', 'required': True, 'preset': 'dataset_organization', 'help_text': 'Organisation responsible for the metadata record. This is a SANS 1878 mandatory field'}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'responsible_party', 'label': 'Metadata record responsible party', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'individual_name', 'label': 'Individual name', 'required': True, 'help_text': 'Name of personnel responsible of this metadata record'}, {'field_name': 'position_name', 'label': 'Position name', 'required': True, 'help_text': 'role or position of the person responsible of this metadata record'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'role', 'label': 'Role', 'required': True, 'help_text': 'function performed by the organisation responsible of this metadata record', 'preset': 'select', 'choices': [{'value': 'resource_provider', 'label': 'resource provider'}, {'value': 'owner', 'label': 'owner'}, {'value': 'distributor', 'label': 'distributor'}, {'value': 'originator', 'label': 'originator'}, {'value': 'point_of_contact', 'label': 'point of contact'}, {'value': 'principal_investigator', 'label': 'principal investigator'}, {'value': 'processor', 'label': 'processor'}, {'value': 'publisher', 'label': 'publisher'}]}, {'field_name': 'electronic_mail_address', 'label': 'Electronic mail address', 'required': False, 'help_text': 'Address of the electronic mailbox of the user organisation or individual'}, {'field_name': 'website', 'label': 'Website URL', 'help_text': 'URL of the responsible organisation or individual website', 'required': False}]}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'responsible_party_contact_info', 'label': 'Metadata record responsible party contact info', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'voice', 'label': 'Phone', 'required': False, 'help_text': 'Telephone number of responsible organisation or individual'}, {'field_name': 'facsimile', 'label': 'Facsimile', 'required': False, 'help_text': 'Facsimile machine number of responsible organisation or individual'}]}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'responsible_party_contact_address', 'label': 'Metadata record responsible party contact address', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'delivery_point', 'label': 'delivery Point', 'required': False, 'help_text': 'address line for positional information and services(e.g. address line for geodetic networks, control points, ..etc.)'}, {'field_name': 'city', 'label': 'City', 'required': False}, {'field_name': 'administrative_area', 'label': 'Administrative area', 'required': False, 'help_text': 'province of the contact location'}, {'field_name': 'postal_code', 'label': 'Postal Code', 'required': False}]}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'topic_and_saeoss_themes', 'label': 'Topic category and SAEOSS theme', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'iso_topic_category', 'label': 'Topic Category', 'help_text': 'ISO 19115 Topic Category for the metadata record - This is a SANS 1878 mandatory field', 'required': False, 'choices_helper': 'iso_topic_categories', 'validators': 'ignore_missing', 'output_validators': 'ignore_missing', 'form_snippet': 'vocab_select.html', 'display_snippet': 'vocab_tag_display.html'}]}, {'validators': 'ignore_missing tag_string_convert', 'classes': 'control-full', 'form_attrs': {'data-module': 'autocomplete', 'data-module-tags': '', 'data-module-source': '/api/3/action/tag_autocomplete?query=?', 'class': ''}, 'field_name': 'tag_string', 'label': 'Tags', 'preset': 'free_tags_tag_string_autocomplete', 'form_snippet': 'tag_select.html', 'help_text': 'Additional keywords useful for describing the metadata record. In order to optimize searchability, it is recommended to add at least three keywords', 'form_placeholder': 'eg. economy, mental health, government'}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'metadata_language_and_character_set', 'label': 'Metadata and Metadata record language and character set', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'dataset_language', 'label': 'Dataset language', 'required': False, 'help_text': 'Language of the metadata record - This is a SANS 1878 mandatory field'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'dataset_character_set', 'label': 'Dataset character set', 'required': True, 'choices': [{'value': 'ucs-2', 'label': 'UCS-2'}, {'value': 'ucs-4', 'label': 'UCS-4'}, {'value': 'utf-7', 'label': 'UTF-7'}, {'value': 'utf-8', 'label': 'UTF-8'}, {'value': 'utf-16', 'label': 'UTF-16'}, {'value': '8859part1', 'label': '8859-1'}, {'value': '8859part2', 'label': '8859-2'}, {'value': '8859part3', 'label': '8859-3'}, {'value': '8859part4', 'label': '8859-4'}, {'value': '8859part5', 'label': '8859-5'}, {'value': '8859part6', 'label': '8859-6'}, {'value': '8859part7', 'label': '8859-7'}, {'value': '8859part8', 'label': '8859-8'}, {'value': '8859part9', 'label': '8859-9'}, {'value': '8859part10', 'label': '8859-10'}, {'value': '8859part11', 'label': '8859-11'}, {'value': '8859part13', 'label': '8859-13'}, {'value': '8859part14', 'label': '8859-14'}, {'value': '8859part15', 'label': '8859-15'}, {'value': '8859part16', 'label': '8859-16'}, {'value': 'jis', 'label': 'jis'}, {'value': 'shiftJIS', 'label': 'shiftJIS'}, {'value': 'eucJP', 'label': 'eucJP'}, {'value': 'usAscii', 'label': 'ASCII'}, {'value': 'ebcdic', 'label': 'ebcdic'}, {'value': 'eucKR', 'label': 'eucKR'}, {'value': 'big5', 'label': 'big5'}, {'value': 'GB2312', 'label': 'GB2312'}], 'preset': 'select', 'help_text': 'Full name of the character coding standard used for the metadata record - This is a SANS 1878 mandatory field'}, {'field_name': 'metadata_language', 'label': 'Metadata language', 'required': True, 'help_text': 'Language for the metadata - This is a SANS 1878 mandatory field'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'metadata_character_set', 'label': 'Metadata character set', 'required': True, 'choices': [{'value': 'ucs-2', 'label': 'UCS-2'}, {'value': 'ucs-4', 'label': 'UCS-4'}, {'value': 'utf-7', 'label': 'UTF-7'}, {'value': 'utf-8', 'label': 'UTF-8'}, {'value': 'utf-16', 'label': 'UTF-16'}, {'value': '8859part1', 'label': '8859-1'}, {'value': '8859part2', 'label': '8859-2'}, {'value': '8859part3', 'label': '8859-3'}, {'value': '8859part4', 'label': '8859-4'}, {'value': '8859part5', 'label': '8859-5'}, {'value': '8859part6', 'label': '8859-6'}, {'value': '8859part7', 'label': '8859-7'}, {'value': '8859part8', 'label': '8859-8'}, {'value': '8859part9', 'label': '8859-9'}, {'value': '8859part10', 'label': '8859-10'}, {'value': '8859part11', 'label': '8859-11'}, {'value': '8859part13', 'label': '8859-13'}, {'value': '8859part14', 'label': '8859-14'}, {'value': '8859part15', 'label': '8859-15'}, {'value': '8859part16', 'label': '8859-16'}, {'value': 'jis', 'label': 'jis'}, {'value': 'shiftJIS', 'label': 'shiftJIS'}, {'value': 'eucJP', 'label': 'eucJP'}, {'value': 'usAscii', 'label': 'ASCII'}, {'value': 'ebcdic', 'label': 'ebcdic'}, {'value': 'eucKR', 'label': 'eucKR'}, {'value': 'big5', 'label': 'big5'}, {'value': 'GB2312', 'label': 'GB2312'}], 'preset': 'select', 'help_text': 'Full name of the character coding standard used for the metadata record - This is a SANS 1878 mandatory field'}]}, {'field_name': 'lineage_statement', 'label': 'Lineage statement', 'required': True, 'help_text': "general explanation of the data producer's knowledge about the lineage of a metadata record - This is a SANS 1878 mandatory field"}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'contact', 'label': 'Metadata record point of contact', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'individual_name', 'label': 'Individual contact name', 'required': False, 'help_text': 'name - with surname of the person responsible of this metadata record'}, {'field_name': 'position_name', 'label': 'Role / Position of the contact individual', 'required': False, 'help_text': 'Role/ position of the contact individual'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'role', 'label': 'Organisation role', 'required': False, 'preset': 'select', 'help_text': 'function performed by contact party, This is a SANS 1878 mandatory field', 'choices': [{'value': 'point_of_contact', 'label': 'point of contact'}]}, {'field_name': 'electronic_mail_address', 'label': 'Electronic mail address', 'required': False, 'help_text': 'Address of the electronic mailbox of the contact organisation or individual'}]}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'contact_information', 'label': 'Metadata record point of contact additional info', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'voice', 'label': 'Contact point phone', 'required': False, 'help_text': 'Telephone number of individual contact or organisation'}, {'field_name': 'facsimile', 'label': 'Contact point facsimile', 'required': False, 'help_text': 'Facsimile machine number of individual contact or organisation'}]}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'online_resource', 'label': 'Metadata record online information', 'preset': 'modified_repeating_subfields', 'repeating_label': 'Metadata record online information', 'repeating_subfields': [{'field_name': 'linkage', 'label': 'URL', 'help_text': 'location(address) for on-line access using a uniform resource locator address or similar addressing scheme'}, {'field_name': 'name', 'label': 'Name', 'form_placeholder': 'eg. January 2011 Gold Prices', 'help_text': 'Name of the online resource'}, {'field_name': 'application_profile', 'label': 'Application profile', 'help_text': 'Name of an application profile that can be used with the resource'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'convert_choices_select_to_int', 'field_name': 'description', 'label': 'Description', 'preset': 'select', 'choices': [{'value': 1, 'label': 'download'}, {'value': 2, 'label': 'information'}, {'value': 3, 'label': 'offlineAccess'}, {'value': 4, 'label': 'order'}, {'value': 5, 'label': 'search'}], 'help_text': 'Please specify the function performed by the resource'}]}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'distribution_format', 'label': 'Distribution format', 'preset': 'modified_repeating_subfields', 'repeating_label': 'Distribution contact', 'repeating_subfields': [{'field_name': 'name', 'label': 'Metadata record distribution format name', 'required': True, 'placeholder': 'Electronic metadata record', 'help_text': 'Name of the data transfer format, default is Electronic metadata record - This is a SANS 1878 mandatory field'}, {'field_name': 'version', 'label': 'Metadata record distribution format version', 'required': True, 'form_placeholder': '1.0', 'help_text': 'Version of the data transfer format (date, number, etc) - This is a SANS 1878 mandatory field'}]}, {'form_snippet': 'dataset_spatial_extent.html', 'validators': 'bbox_converter', 'field_name': 'spatial', 'label': 'Geographic location bounding box', 'required': True, 'help_text': 'Bounding box for the metadata record, expressed as the geographic coordinates of the upper left and lower right corners - This is a SANS 1878 mandatory field', 'preset': 'dataset_spatial_extent', 'display_snippet': None}, {'form_snippet': 'modified_repeating_subfields.html', 'display_snippet': 'modified_repeating_subfields.html', 'field_name': 'spatial_parameters', 'label': 'Spatial parameters', 'preset': 'modified_repeating_subfields', 'repeating_subfields': [{'field_name': 'equivalent_scale', 'label': 'Spatial resolution equivalent scale', 'required': True, 'help_text': 'Level of detail expressed as the scale of a comparable hardcopy map or chart. Provide it as the denominator of a representative fraction, i.e. the number below the line in a vulgar fraction - This is a SANS 1878 mandatory field'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'spatial_representation_type', 'label': 'Spatial representation type', 'required': True, 'help_text': 'Method used to spatially represent geographic information - This is a SANS 1878 mandatory field', 'choices': [{'value': '001', 'label': 'Vector (vector data is used to represent geographic data)'}, {'value': '002', 'label': 'Grid (grid data is used to represent geographic data)'}, {'value': '003', 'label': 'Text table (textual or tabular data is used to represent geographic data)'}, {'value': '004', 'label': 'Triangulated Irregular Network (TIN)'}, {'value': '005', 'label': 'Stereo Model (Three-dimensional view formed by the intersecting homologous rays of an overlapping pair of images)'}, {'value': '006', 'label': 'Video (Scene from a video recording)'}, {'value': '007', 'label': 'Image (Image formats, e.g. Tiff/BMP/JPEG/SID, etc. - Not a grid)'}], 'preset': 'select'}, {'field_name': 'spatial_reference_system', 'label': 'Spatial Reference System Identifier', 'required': False, 'validators': 'srs_validator', 'help_text': '"Name of spatial reference system. Provide it as a colon-separated sequence of <ref>:<code> with the respective code for the metadata record\'s spatial coordinate reference system. It is recommended to use the EPSG spatial catalogue codes whenever possible (e.g. EPSG:32635). Alternatively it is recommended to use a reference as shown on the www.spatialreference.org website, which features EPSG, ESRI and user-defined references to well-known coordinate reference systems - This is a SANS 1878 mandatory field"'}]}, {'field_name': 'reference_system_additional_info', 'label': 'Additional information about Reference Systems (temporal, vertical)', 'form_snippet': 'markdown.html', 'required': False}, {'field_name': 'dataset_reference_date', 'label': 'Reference date', 'repeating_subfields': [{'field_name': 'reference', 'label': 'Reference datetime', 'required': True, 'form_snippet': 'modified_datetime.html', 'help_text': 'Reference datetime for this metadata record'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'convert_choices_select_to_int', 'field_name': 'reference_date_type', 'label': 'Reference date type', 'required': True, 'preset': 'select', 'choices': [{'value': 1, 'label': 'Creation'}, {'value': 2, 'label': 'Publication'}, {'value': 3, 'label': 'Revision'}], 'help_text': 'Reference date type - This is a SANS 1878 mandatory field'}]}, {'field_name': 'metadata_date', 'label': 'Metadata stamp date', 'required': True, 'validators': 'ignore_missing', 'form_snippet': 'modified_datetime.html', 'help_text': 'Reference datetime for this metadata record'}, {'field_name': 'metadata_thumbnail', 'label': 'Metadata record thumbnail', 'required': False, 'form_placeholder': 'https://files.isric.org/public/thumbnails/afsis250m/clyppt.png', 'help_text': 'URL for a thumbnail previewing this metadata record which appears in the search page. Use images with 1:1 ratio for better results'}], 'resource_fields': [{'validators': 'ignore_missing unicode_safe remove_whitespace', 'form_snippet': 'upload.html', 'form_placeholder': 'http://example.com/my-data.csv', 'upload_field': 'upload', 'upload_clear': 'clear_upload', 'upload_label': 'File', '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'}, {'validators': 'if_empty_guess_format ignore_missing clean_format unicode_safe', 'form_placeholder': 'eg. CSV, XML or JSON', 'form_attrs': {'data-module': 'autocomplete', 'data-module-source': '/api/2/util/resource/format_autocomplete?incomplete=?'}, 'field_name': 'format', 'label': 'Format', 'required': False, 'preset': 'resource_format_autocomplete', 'help_text': 'Name of the data transfer format - This is a SANS 1878 mandatory field'}, {'field_name': 'format_version', 'label': 'Format Version', 'required': False, 'help_text': 'link format'}]} |