data |
{'author': 'mario', 'author_email': 'mario@mario.eu', 'classification_TopicCategory': 'inlandWaters', 'conformity_degree': 'true', 'conformity_specification_date': '2024-09-09T06:50:03', 'conformity_specification_dateType': 'publication', 'conformity_specification_title': 'COMMISSION REGULATION (EU) No 1089/2010 of 23 November 2010 implementing Directive 2007/2/EC of the European Parliament and of the Council as regards interoperability of spatial data sets and services', 'constraints_conditions_for_access_and_use': 'cc-by', 'constraints_limitation_on_public_access': '', 'coordinatesystemreference_code': '4326', 'coordinatesystemreference_codespace': 'EPSG', 'creator_user_id': '418b8937-9d4d-4980-b488-6ba8e6d2c2bd', 'data_temporal_extent_begin_date': '2024-09-09T06:50:03', 'data_temporal_extent_end_date': '2024-09-09T06:50:03', 'datatype_id': '21007', 'external_attributes': {'request_code': '66715a582b4027957454e698'}, 'id': '722602a2-361c-48f3-95bd-b92c09e946b9', 'identification_CoupledResource': '', 'identification_ResourceLanguage': 'eng', 'identification_ResourceType': 'dataset', 'isopen': True, 'keyword_KeywordValue': 'Riverine Flood, Hazard, Delineation Map', 'keyword_OriginatingControlledVocabulary': 'ontology', 'license_id': 'cc-by', 'license_title': 'Creative Commons Attribution', 'license_url': 'http://www.opendefinition.org/licenses/cc-by', 'maintainer': None, 'maintainer_email': None, 'metadata_created': '2024-09-09T06:50:03.436279', 'metadata_language': 'eng', 'metadata_modified': '2024-09-09T06:52:47.831089', 'name': 'tommymilenatest021', 'notes': 'Flooding Delineation', 'num_resources': 1, 'num_tags': 3, 'organization': {'id': '7e278c5d-fe25-4a55-880d-8a60f9b18034', 'name': 'engineering', 'title': 'Engineering', 'type': 'organization', 'description': 'test', 'image_url': '', 'created': '2024-07-24T14:18:47.041542', 'is_organization': True, 'approval_status': 'approved', 'state': 'active'}, 'owner_org': '7e278c5d-fe25-4a55-880d-8a60f9b18034', 'point_of_contact_email': 'mapping@copernicus.com', 'point_of_contact_name': 'Copernicus EMS Rapid Mapping Team', 'private': False, 'quality_and_validity_lineage': 'Quality approved', 'quality_and_validity_spatial_resolution_latitude': '0', 'quality_and_validity_spatial_resolution_longitude': '0', 'quality_and_validity_spatial_resolution_measureunit': 'm', 'quality_and_validity_spatial_resolution_scale': '25000', 'responsable_organization_email': 'mapping@copernicus.com', 'responsable_organization_name': 'Copernicus EMS Rapid Mapping Team', 'responsable_organization_role': 'author', 'spatial': '{"coordinates":[[[20.304955232471485,50.62895876196231],[20.304955232471485,50.344242740452415],[20.748028634024337,50.344242740452415],[20.748028634024337,50.62895876196231],[20.304955232471485,50.62895876196231]]],"type":"Polygon"}', 'state': 'active', 'temporalReference_date': '2024-09-09T06:50:03', 'temporalReference_dateOfCreation': '2024-09-09T06:50:03', 'temporalReference_dateOfLastRevision': '2024-09-09T06:50:03', 'temporalReference_dateOfPublication': '2024-09-09T06:50:03', 'title': 'tommymilenatest021', 'type': 'dataset', 'url': None, 'version': None, 'resources': [{'cache_last_updated': None, 'cache_url': None, 'created': '2024-09-09T06:52:47.503557', 'datatype_resource': '21007', 'description': None, 'file_date_end': '2024-09-09T14:32:05', 'file_date_start': '2024-09-09T14:32:05', 'format': 'TIFF', 'hash': '', 'id': '4118abaa-2783-43b0-8c93-5d744962d041', 'last_modified': '2024-09-09T06:52:47.461269', 'metadata_modified': '2024-09-09T06:52:47.498889', 'mimetype': 'image/tiff', 'mimetype_inner': None, 'name': 'Another test plus', 'package_id': '722602a2-361c-48f3-95bd-b92c09e946b9', 'position': 0, 'resource_type': None, 'size': 96792085, 'state': 'active', 'url': 'https://ckan.terra-sense.eu/dataset/722602a2-361c-48f3-95bd-b92c09e946b9/resource/4118abaa-2783-43b0-8c93-5d744962d041/download/dsm.tif', 'url_type': 'upload', 'tracking_summary': {'total': 0, 'recent': 0}, 'has_views': False}], 'tags': [{'display_name': 'Delineation Map', 'id': '6561ab77-bd6b-48ee-a474-e7c95e16ae71', 'name': 'Delineation Map', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'Hazard', 'id': '4ed82be1-f46a-453b-b180-3afa7cc7d397', 'name': 'Hazard', 'state': 'active', 'vocabulary_id': None}, {'display_name': 'Riverine Flood', 'id': '6edcb210-0478-4bf9-a7bb-26c799200da4', 'name': 'Riverine Flood', 'state': 'active', 'vocabulary_id': None}], 'groups': [], 'relationships_as_subject': [], 'relationships_as_object': [], 'tracking_summary': {'total': 0, 'recent': 0}} |
h |
{'redirect_to': <function redirect_to at 0x7fd591a0b820>, 'url': <function url at 0x7fd591a0b940>, 'get_site_protocol_and_host': <function get_site_protocol_and_host at 0x7fd591a0b8b0>, 'url_for': <function url_for at 0x7fd591a0baf0>, 'url_for_static': <function url_for_static at 0x7fd591a0bca0>, 'url_for_static_or_external': <function url_for_static_or_external at 0x7fd591a0bd30>, 'is_url': <function is_url at 0x7fd591a0bdc0>, 'url_is_local': <function url_is_local at 0x7fd591a0bee0>, 'full_current_url': <function full_current_url at 0x7fd591a0bf70>, 'current_url': <function current_url at 0x7fd591a0c040>, 'lang': <function lang at 0x7fd591a0c0d0>, 'ckan_version': <function ckan_version at 0x7fd591a0c160>, 'lang_native_name': <function lang_native_name at 0x7fd591a0c1f0>, 'is_rtl_language': <function is_rtl_language at 0x7fd591a0c280>, 'get_rtl_theme': <function get_rtl_theme at 0x7fd591a0c310>, 'get_rtl_css': <function get_rtl_css at 0x7fd591a0c3a0>, 'flash_notice': <function flash_notice at 0x7fd591a0c430>, 'flash_error': <function flash_error at 0x7fd591a0c8b0>, 'flash_success': <function flash_success at 0x7fd591a0c940>, 'are_there_flash_messages': <function are_there_flash_messages at 0x7fd591a0c9d0>, 'link_to': <function link_to at 0x7fd591a0ce50>, 'file': <function file at 0x7fd591a0cee0>, 'submit': <function submit at 0x7fd591a0cf70>, 'nav_link': <function nav_link at 0x7fd591a0d040>, 'nav_named_link': <function nav_named_link at 0x7fd591a0d310>, 'subnav_link': <function subnav_link at 0x7fd591a0d430>, 'subnav_named_route': <function subnav_named_route at 0x7fd591a0d550>, 'build_nav_main': <function build_nav_main at 0x7fd591a0d1f0>, 'build_nav_icon': <function build_nav_icon at 0x7fd591a0d5e0>, 'build_nav': <function build_nav at 0x7fd591a0d670>, 'build_extra_admin_nav': <function build_extra_admin_nav at 0x7fd591a0d790>, 'default_group_type': <function default_group_type at 0x7fd591a0d8b0>, 'get_facet_items_dict': <function get_facet_items_dict at 0x7fd591a0d940>, 'has_more_facets': <function has_more_facets at 0x7fd591a0d9d0>, 'unselected_facet_items': <function unselected_facet_items at 0x7fd591a0da60>, 'get_facet_title': <function get_facet_title at 0x7fd591a0dc10>, 'get_param_int': <function get_param_int at 0x7fd591a0daf0>, 'sorted_extras': <function sorted_extras at 0x7fd591a0dd30>, 'check_access': <function check_access at 0x7fd591a0ddc0>, 'get_action': <function get_action at 0x7fd591a0df70>, 'linked_user': <function linked_user at 0x7fd591a0de50>, 'group_name_to_title': <function group_name_to_title at 0x7fd591a0e040>, 'truncate': <function truncate at 0x7fd591a0e0d0>, 'markdown_extract': <function markdown_extract at 0x7fd591a0e160>, 'icon_url': <function icon_url at 0x7fd591a0e1f0>, 'icon_html': <function icon_html at 0x7fd591a0e280>, 'icon': <function icon at 0x7fd591a0e310>, 'resource_icon': <function resource_icon at 0x7fd591a0e3a0>, 'format_icon': <function format_icon at 0x7fd591a0e430>, 'dict_list_reduce': <function dict_list_reduce at 0x7fd591a0e4c0>, 'gravatar': <function gravatar at 0x7fd591a0e550>, 'sanitize_url': <function sanitize_url at 0x7fd591a0e5e0>, 'user_image': <function user_image at 0x7fd591a0e670>, 'pager_url': <function pager_url at 0x7fd591a0e700>, 'get_page_number': <function get_page_number at 0x7fd591a0e790>, 'get_display_timezone': <function get_display_timezone at 0x7fd591a0e820>, 'render_datetime': <function render_datetime at 0x7fd591a0e8b0>, 'date_str_to_datetime': <function date_str_to_datetime at 0x7fd591a0e940>, 'parse_rfc_2822_date': <function parse_rfc_2822_date at 0x7fd591a0e9d0>, 'time_ago_from_timestamp': <function time_ago_from_timestamp at 0x7fd591a0ea60>, 'button_attr': <function button_attr at 0x7fd591a0ed30>, 'dataset_display_name': <function dataset_display_name at 0x7fd591a0edc0>, 'dataset_link': <function dataset_link at 0x7fd591a0ee50>, 'resource_display_name': <function resource_display_name at 0x7fd591a0eee0>, 'resource_link': <function resource_link at 0x7fd591a0ef70>, 'tag_link': <function tag_link at 0x7fd591a0f040>, 'group_link': <function group_link at 0x7fd591a0f0d0>, 'organization_link': <function organization_link at 0x7fd591a0f160>, 'dump_json': <function dump_json at 0x7fd591a0f1f0>, 'auto_log_message': <function auto_log_message at 0x7fd591a0f280>, 'activity_div': <function activity_div at 0x7fd591a0f310>, 'snippet': <function snippet at 0x7fd591a0f3a0>, 'convert_to_dict': <function convert_to_dict at 0x7fd591a0f430>, 'follow_button': <function follow_button at 0x7fd591a0f4c0>, 'follow_count': <function follow_count at 0x7fd591a0f550>, 'add_url_param': <function add_url_param at 0x7fd591a0f670>, 'remove_url_param': <function remove_url_param at 0x7fd591a0f700>, 'include_resource': <function include_resource at 0x7fd591a0f790>, 'urls_for_resource': <function urls_for_resource at 0x7fd591a0f820>, 'debug_inspect': <function debug_inspect at 0x7fd591a0f8b0>, 'popular': <function popular at 0x7fd591a0f940>, 'groups_available': <function groups_available at 0x7fd591a0f9d0>, 'organizations_available': <function organizations_available at 0x7fd591a0fa60>, 'roles_translated': <function roles_translated at 0x7fd591a0faf0>, 'user_in_org_or_group': <function user_in_org_or_group at 0x7fd591a0fb80>, 'dashboard_activity_stream': <function dashboard_activity_stream at 0x7fd591a0fc10>, 'recently_changed_packages_activity_stream': <function recently_changed_packages_activity_stream at 0x7fd591a0fca0>, 'escape_js': <function escape_js at 0x7fd591a0fd30>, 'get_pkg_dict_extra': <function get_pkg_dict_extra at 0x7fd591a0fdc0>, 'get_request_param': <function get_request_param at 0x7fd591a0fe50>, 'html_auto_link': <function html_auto_link at 0x7fd591a0fee0>, 'render_markdown': <function render_markdown at 0x7fd591a0ff70>, 'format_resource_items': <function format_resource_items at 0x7fd591a10040>, 'resource_preview': <function resource_preview at 0x7fd591a100d0>, 'get_allowed_view_types': <function get_allowed_view_types at 0x7fd591a10160>, 'rendered_resource_view': <function rendered_resource_view at 0x7fd591a101f0>, 'view_resource_url': <bound method ResourceProxy.view_resource_url of <Plugin ResourceProxy 'resource_proxy'>>, 'resource_view_is_filterable': <function resource_view_is_filterable at 0x7fd591a10310>, 'resource_view_get_fields': <function resource_view_get_fields at 0x7fd591a103a0>, 'resource_view_is_iframed': <function resource_view_is_iframed at 0x7fd591a10430>, 'resource_view_icon': <function resource_view_icon at 0x7fd591a104c0>, 'resource_view_display_preview': <function resource_view_display_preview at 0x7fd591a10550>, 'resource_view_full_page': <function resource_view_full_page at 0x7fd591a105e0>, 'remove_linebreaks': <function remove_linebreaks at 0x7fd591a10670>, 'list_dict_filter': <function list_dict_filter at 0x7fd591a10700>, 'SI_number_span': <function SI_number_span at 0x7fd591a10790>, 'new_activities': <function new_activities at 0x7fd591a10820>, 'uploads_enabled': <function uploads_enabled at 0x7fd591a108b0>, 'get_featured_organizations': <function get_featured_organizations at 0x7fd591a10940>, 'get_featured_groups': <function get_featured_groups at 0x7fd591a109d0>, 'featured_group_org': <function featured_group_org at 0x7fd591a10a60>, 'get_site_statistics': <function get_site_statistics at 0x7fd591a10af0>, 'resource_formats': <function resource_formats at 0x7fd591a10b80>, 'unified_resource_format': <function unified_resource_format at 0x7fd591a10c10>, 'check_config_permission': <function check_config_permission at 0x7fd591a10ca0>, 'get_organization': <function get_organization at 0x7fd591a10d30>, 'license_options': <function license_options at 0x7fd591a10dc0>, 'get_translated': <function get_translated at 0x7fd591a10e50>, 'facets': <function facets at 0x7fd591a10ee0>, 'mail_to': <function mail_to at 0x7fd591a10f70>, 'radio': <function radio at 0x7fd591a11040>, 'clean_html': <function clean_html at 0x7fd591a110d0>, 'flash': <ckan.lib.helpers._Flash object at 0x7fd591b72520>, 'localised_number': <function localised_number at 0x7fd591c02e50>, 'localised_SI_number': <function localised_SI_number at 0x7fd591c02f70>, 'localised_nice_date': <function localised_nice_date at 0x7fd591c02dc0>, 'localised_filesize': <function localised_filesize at 0x7fd591c02ee0>, 'get_available_locales': <function get_available_locales at 0x7fd593851ee0>, 'get_locales_dict': <function get_locales_dict at 0x7fd593851e50>, 'literal': <class 'ckan.lib.helpers.literal'>, 'asbool': <function asbool at 0x7fd59389bca0>, 'urlencode': <function urlencode at 0x7fd59529e790>, 'include_asset': <function include_asset at 0x7fd591a0b310>, 'render_assets': <function render_assets at 0x7fd591a0b430>, 'sanitize_id': <function sanitize_id at 0x7fd591a111f0>, 'compare_pkg_dicts': <function compare_pkg_dicts at 0x7fd591a11280>, 'activity_list_select': <function activity_list_select at 0x7fd591a11310>, 'get_collaborators': <function get_collaborators at 0x7fd591a113a0>, 'can_update_owner_org': <function can_update_owner_org at 0x7fd591a11430>, 'check_ckan_version': <function check_ckan_version at 0x7fd591a114c0>, 'csrf_input': <function csrf_input at 0x7fd591a11550>, 'scheming_language_text': <function scheming_language_text at 0x7fd5660889d0>, 'scheming_field_choices': <function scheming_field_choices at 0x7fd56608f040>, 'scheming_choices_label': <function scheming_choices_label at 0x7fd56608f0d0>, 'scheming_datastore_choices': <function scheming_datastore_choices at 0x7fd56608f160>, 'scheming_field_required': <function scheming_field_required at 0x7fd56608f1f0>, 'scheming_dataset_schemas': <function scheming_dataset_schemas at 0x7fd56608f280>, 'scheming_get_presets': <function scheming_get_presets at 0x7fd56608f310>, 'scheming_get_preset': <function scheming_get_preset at 0x7fd56608f3a0>, 'scheming_get_dataset_schema': <function scheming_get_dataset_schema at 0x7fd56608f430>, 'scheming_group_schemas': <function scheming_group_schemas at 0x7fd56608f4c0>, 'scheming_get_group_schema': <function scheming_get_group_schema at 0x7fd56608f550>, 'scheming_organization_schemas': <function scheming_organization_schemas at 0x7fd56608f5e0>, 'scheming_get_organization_schema': <function scheming_get_organization_schema at 0x7fd56608f670>, 'scheming_get_schema': <function scheming_get_schema at 0x7fd56608f700>, 'scheming_field_by_name': <function scheming_field_by_name at 0x7fd56608f790>, 'scheming_datetime_to_utc': <function scheming_datetime_to_utc at 0x7fd56608f8b0>, 'scheming_datetime_to_tz': <function scheming_datetime_to_tz at 0x7fd56608f940>, 'scheming_get_timezones': <function scheming_get_timezones at 0x7fd56608f9d0>, 'scheming_display_json_value': <function scheming_display_json_value at 0x7fd56608fa60>, 'scheming_render_from_string': <function scheming_render_from_string at 0x7fd56608faf0>, 'scheming_flatten_subfield': <function scheming_flatten_subfield at 0x7fd56608fb80>, 'get_common_map_config_shp': <function get_common_map_config at 0x7fd5660db0d0>, 'get_shapefile_viewer_config': <function get_shapefile_viewer_config at 0x7fd5660db160>, 'get_common_map_config_geojson': <function get_common_map_config at 0x7fd5660db0d0>, 'geojson_get_max_file_size': <function get_max_file_size at 0x7fd5660db1f0>, 'get_common_map_config_geoviews': <function get_common_map_config at 0x7fd5660db0d0>, 'get_openlayers_viewer_config': <function get_openlayers_viewer_config at 0x7fd5660db280>, 'get_reference_date': <function get_reference_date at 0x7fd56581f790>, 'get_responsible_party': <function get_responsible_party at 0x7fd56581f820>, 'get_common_map_config': <function get_common_map_config at 0x7fd56581f8b0>, 'get_map_config': <function get_mapview_config at 0x7fd5906624c0>, 'get_dataproxy_url': <function get_dataproxy_url at 0x7fd590662550>} |
schema |
{'scheming_version': 1, 'dataset_type': 'dataset', 'about': 'Metadata schema INSPIRE', 'about_url': 'https://inspire.ec.europa.eu/', 'dataset_fields': [{'field_name': 'title', 'label': 'Title', 'display_property': 'dcat:Dataset/dct:title', 'validators': 'if_empty_same_as(name) unicode', 'form_snippet': 'large_text.html', 'form_attrs': {'data-module': 'slug-preview-target'}, 'form_placeholder': 'Name by which the cited resource is known'}, {'field_name': 'name', 'label': 'Unique resource identifier', 'validators': 'not_empty unicode name_validator package_name_validator', 'form_snippet': 'slug.html', 'form_placeholder': 'eg. my-dataset'}, {'field_name': 'author', 'label': 'Author', 'validators': 'author_fill', 'display_snippet': None, 'form_snippet': None}, {'field_name': 'author_email', 'label': 'Author Email', 'validators': 'author_email_fill', 'display_snippet': None, 'form_snippet': None}, {'field_name': 'notes', 'label': 'Abstract', 'display_property': 'dcat:Dataset/dct:description', 'form_snippet': 'markdown.html', 'validators': 'not_empty', 'form_placeholder': 'Brief narrative summary of the content of the resource(s)'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'not_empty', 'field_name': 'identification_ResourceType', 'label': 'Resource type', 'preset': 'select', 'required': True, 'choices': [{'value': 'dataset', 'label': 'Dataset'}, {'value': 'series', 'label': 'Series'}, {'value': 'service', 'label': 'Service'}, {'value': 'nonGeographicDataset', 'label': 'Non Geographic Dataset'}], 'display_property': 'dcat:Dataset/dct:type'}, {'classes': ['control-full'], 'form_attrs': {'data-module': 'autocomplete', 'data-module-tags': '', 'data-module-source': '/api/2/util/tag/autocomplete?incomplete=?'}, 'field_name': 'datatype_id', 'label': 'DataType ID', 'preset': 'datatype', 'form_snippet': None}, {'field_name': 'owner_org', 'label': 'Organization', 'display_property': 'dct:publisher', 'validators': 'owner_org_validator unicode', 'form_snippet': 'organization.html'}, {'field_name': 'identification_CoupledResource', 'label': 'Coupled Resource', 'display_snippet': 'link.html', 'help_text': 'Resource identifier or URL of the MD_DataIdentification object (leave blank if dataset or series)'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'identification_ResourceLanguage', 'label': 'Resource language', 'form_placeholder': 'Language(s) used within the datasets', 'preset': 'select', 'required': True, 'choices': [{'label': 'English', 'value': 'eng'}, {'label': 'Bulgarian', 'value': 'bul'}, {'label': 'Irish', 'value': 'gle'}, {'label': 'Croatian', 'value': 'hrv'}, {'label': 'Italian', 'value': 'ita'}, {'label': 'Czech', 'value': 'cze'}, {'label': 'Latvian', 'value': 'lav'}, {'label': 'Danish', 'value': 'dan'}, {'label': 'Lithuanian', 'value': 'lit'}, {'label': 'Dutch', 'value': 'dut'}, {'label': 'Maltese', 'value': 'mlt'}, {'label': 'Polish', 'value': 'pol'}, {'label': 'Estonian', 'value': 'est'}, {'label': 'Portuguese', 'value': 'por'}, {'label': 'Finnish', 'value': 'fin'}, {'label': 'Romanian', 'value': 'rum'}, {'label': 'French', 'value': 'fre'}, {'label': 'Slovak', 'value': 'slo'}, {'label': 'German', 'value': 'ger'}, {'label': 'Slovenian', 'value': 'slv'}, {'label': 'Greek', 'value': 'gre'}, {'label': 'Spanish', 'value': 'spa'}, {'label': 'Hungarian', 'value': 'hun'}, {'label': 'Swedish', 'value': 'swe'}]}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'ignore_missing scheming_required scheming_choices scheming_required_for_spatial', 'field_name': 'classification_TopicCategory', 'label': 'Topic category', 'form_placeholder': 'Main theme(s) of the dataset', 'preset': 'select', 'help_text': 'REQUIRED for spatial dataset', 'choices': [{'label': 'farming', 'value': 'farming'}, {'label': 'biota', 'value': 'biota'}, {'label': 'boundaries', 'value': 'boundaries'}, {'label': 'climatologyMeteorologyAtmosphere', 'value': 'climatologyMeteorologyAtmosphere'}, {'label': 'economy', 'value': 'economy'}, {'label': 'elevation', 'value': 'elevation'}, {'label': 'environment', 'value': 'environment'}, {'label': 'geoscientificInformation', 'value': 'geoscientificInformation'}, {'label': 'health', 'value': 'health'}, {'label': 'imageryBaseMapsEarthCover', 'value': 'imageryBaseMapsEarthCover'}, {'label': 'intelligenceMilitary', 'value': 'intelligenceMilitary'}, {'label': 'inlandWaters', 'value': 'inlandWaters'}, {'label': 'location', 'value': 'location'}, {'label': 'oceans', 'value': 'oceans'}, {'label': 'planningCadastre', 'value': 'planningCadastre'}, {'label': 'society', 'value': 'society'}, {'label': 'structure', 'value': 'structure'}, {'label': 'transportation', 'value': 'transportation'}, {'label': 'utilitiesCommunication', 'value': 'utilitiesCommunication'}, {'label': 'extraTerrestrial', 'value': 'extraTerrestrial'}]}, {'validators': 'not_empty tag_string_convert convert_strings_to_tags(ontology)', 'classes': ['control-full'], 'form_attrs': {'data-module': 'autocomplete', 'data-module-tags': '', 'data-module-source': '/api/2/util/tag/autocomplete?incomplete=?'}, 'field_name': 'keyword_KeywordValue', 'label': 'Keyword value', 'preset': 'tag_string_autocomplete', 'display_property': 'dcat:Dataset/dct:keyword', 'form_placeholder': 'type to auto-complete', 'required': True}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'keyword_OriginatingControlledVocabulary', 'label': 'Originating controlled vocabulary', 'help_text': 'Name of the formally registered thesaurus or a similar authoritative source of keywords', 'preset': 'select', 'required': True, 'choices': [{'label': 'Ontology', 'value': 'ontology'}]}, {'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz convert_to_json_if_datetime', 'field_name': 'data_temporal_extent_begin_date', 'label': 'Temporal Reference - start date', 'help_text': 'Earliest record in data resources', 'help_inline': True, 'required': True, 'preset': 'datetime_tz', 'display_property': 'dcat:Dataset/dct:temporal'}, {'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz convert_to_json_if_datetime', 'field_name': 'data_temporal_extent_end_date', 'label': 'Temporal Reference - end date', 'help_inline': True, 'help_text': 'Latest record in data resources', 'required': True, 'preset': 'datetime_tz', 'display_property': 'dcat:Dataset/dct:temporal'}, {'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz convert_to_json_if_datetime', 'field_name': 'temporalReference_dateOfPublication', 'label': 'Temporal Reference - Publication', 'help_text': 'Date of publication', 'required': True, 'help_inline': True, 'preset': 'datetime_tz', 'display_property': 'dcat:Dataset/dct:temporal'}, {'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz convert_to_json_if_datetime', 'field_name': 'temporalReference_dateOfLastRevision', 'label': 'Temporal Reference - Last Revision', 'help_text': 'Date of Last Revision', 'required': True, 'help_inline': True, 'preset': 'datetime_tz', 'display_property': 'dcat:Dataset/dct:temporal'}, {'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz convert_to_json_if_datetime', 'field_name': 'temporalReference_dateOfCreation', 'label': 'Temporal Reference - Creation', 'help_text': 'Date of Creation', 'help_inline': True, 'required': True, 'preset': 'datetime_tz', 'display_property': 'dcat:Dataset/dct:temporal'}, {'field_name': 'quality_and_validity_lineage', 'label': 'Quality and Validity Lineage', 'help_text': 'REQUIRED for spatial dataset. General explanation of the data producer’s knowledge about the lineage of a dataset', 'validators': 'scheming_required_for_spatial', 'form_placeholder': 'Quality approved'}, {'field_name': 'quality_and_validity_spatial_resolution_latitude', 'label': 'Spatial Resolution - Latitude', 'help_text': 'REQUIRED for spatial dataset', 'form_placeholder': 'latitude', 'validators': 'scheming_required_for_spatial'}, {'field_name': 'quality_and_validity_spatial_resolution_longitude', 'label': 'Spatial Resolution - Longitude', 'help_text': 'REQUIRED for spatial dataset', 'form_placeholder': 'longitude', 'validators': 'scheming_required_for_spatial'}, {'field_name': 'quality_and_validity_spatial_resolution_scale', 'label': 'Spatial Resolution - Scale', 'help_text': 'REQUIRED for spatial dataset', 'form_placeholder': 'scale', 'validators': 'scheming_required_for_spatial'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices ignore_missing scheming_required_for_spatial', 'field_name': 'quality_and_validity_spatial_resolution_measureunit', 'label': 'Spatial Resolution - Measure Unit', 'form_placeholder': 'measure unit', 'preset': 'select', 'help_text': 'REQUIRED for spatial dataset', 'choices': [{'value': 'm'}, {'value': 'mm'}, {'value': 'cm'}, {'value': 'm3'}, {'value': 'degree'}]}, {'field_name': 'conformity_specification_title', 'label': 'Conformity Specification - Title', 'help_text': 'REQUIRED for spatial dataset', 'validators': 'scheming_required_for_spatial'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices ignore_missing scheming_required_for_spatial', 'field_name': 'conformity_specification_dateType', 'label': 'Conformity Specification - Date Type', 'preset': 'select', 'help_text': 'REQUIRED for spatial dataset', 'choices': [{'label': 'Creation', 'value': 'creation'}, {'label': 'Publication', 'value': 'publication'}, {'label': 'Revision', 'value': 'revision'}]}, {'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz convert_to_json_if_datetime scheming_required_for_spatial', 'field_name': 'conformity_specification_date', 'label': 'Conformity Specification - Date', 'help_inline': True, 'help_text': 'REQUIRED for spatial dataset', 'preset': 'datetime_tz'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices ignore_missing scheming_required_for_spatial', 'field_name': 'conformity_degree', 'label': 'Conformity Degree', 'preset': 'select', 'help_text': 'REQUIRED for spatial dataset', 'choices': [{'label': 'Conformant', 'value': 'true'}, {'label': 'Not Conformant', 'value': 'false'}, {'label': 'Unknown', 'value': 'null'}]}, {'field_name': 'constraints_conditions_for_access_and_use', 'label': 'Conditions for Access and Use', 'form_snippet': 'license.html', 'required': True}, {'field_name': 'license_id', 'label': 'Conditions for Access and Use', 'validators': 'license_fill()', 'display_snippet': None, 'form_snippet': None}, {'field_name': 'constraints_limitation_on_public_access', 'label': 'Limitation on Public Access'}, {'field_name': 'responsable_organization_name', 'label': 'Responsable organization name', 'help_text': 'Identification of, and means of communication with, person(s) and organization(s) associated with the resource(s)', 'help_inline': True, 'form_placeholder': 'Joe Bloggs', 'display_property': 'dc:contributor', 'validators': 'not_empty'}, {'field_name': 'responsable_organization_email', 'label': 'Responsable organization email', 'help_text': 'Identification of, and means of communication with, person(s) and organization(s) associated with the resource(s)', 'form_placeholder': 'joe@theme.com', 'display_property': 'vcard:hasEmail', 'display_snippet': 'email.html', 'validators': 'not_empty'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'responsable_organization_role', 'label': 'Responsable organization role', 'help_text': 'Identification of, and means of communication with, person(s) and organization(s) associated with the resource(s)', 'help_inline': True, 'display_property': 'dc:contributor', 'preset': 'select', 'required': True, 'choices': [{'label': 'author', 'value': 'author'}, {'label': 'publisher', 'value': 'publisher'}, {'label': 'unknown', 'value': 'unknown'}]}, {'field_name': 'point_of_contact_name', 'label': 'Point of Contact - Organization Name', 'help_text': 'Identification of, and means of communication with, person(s) and organization(s) associated with the resource(s)', 'help_inline': True, 'form_placeholder': 'LINKS', 'display_property': 'vcard:fn', 'validators': 'not_empty'}, {'field_name': 'point_of_contact_email', 'label': 'Point of Contact - Organization Email', 'help_text': 'Identification of, and means of communication with, person(s) and organization(s) associated with the resource(s)', 'form_placeholder': 'joe@theme.com', 'display_property': 'vcard:hasEmail', 'display_snippet': 'email.html', 'validators': 'not_empty'}, {'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz convert_to_json_if_datetime', 'field_name': 'temporalReference_date', 'label': 'Metadata date', 'help_text': 'Date that the metadata was created', 'help_inline': True, 'required': True, 'preset': 'datetime_tz', 'display_property': 'dcat:Dataset/dct:issued'}, {'form_snippet': 'select.html', 'display_snippet': 'select.html', 'validators': 'scheming_required scheming_choices', 'field_name': 'metadata_language', 'label': 'Metadata language', 'form_placeholder': 'Language(s) used within the datasets', 'display_property': 'dct:language', 'required': True, 'preset': 'select', 'choices': [{'label': 'English', 'value': 'eng'}, {'label': 'Bulgarian', 'value': 'bul'}, {'label': 'Irish', 'value': 'gle'}, {'label': 'Croatian', 'value': 'hrv'}, {'label': 'Italian', 'value': 'ita'}, {'label': 'Czech', 'value': 'cze'}, {'label': 'Latvian', 'value': 'lav'}, {'label': 'Danish', 'value': 'dan'}, {'label': 'Lithuanian', 'value': 'lit'}, {'label': 'Dutch', 'value': 'dut'}, {'label': 'Maltese', 'value': 'mlt'}, {'label': 'Polish', 'value': 'pol'}, {'label': 'Estonian', 'value': 'est'}, {'label': 'Portuguese', 'value': 'por'}, {'label': 'Finnish', 'value': 'fin'}, {'label': 'Romanian', 'value': 'rum'}, {'label': 'French', 'value': 'fre'}, {'label': 'Slovak', 'value': 'slo'}, {'label': 'German', 'value': 'ger'}, {'label': 'Slovenian', 'value': 'slv'}, {'label': 'Greek', 'value': 'gre'}, {'label': 'Spanish', 'value': 'spa'}, {'label': 'Hungarian', 'value': 'hun'}, {'label': 'Swedish', 'value': 'swe'}]}, {'field_name': 'coordinatesystemreference_code', 'label': 'Coordinate system reference - Code', 'form_placeholder': '4326', 'help_text': 'REQUIRED for spatial dataset', 'validators': 'scheming_required_for_spatial'}, {'field_name': 'coordinatesystemreference_codespace', 'label': 'Coordinate system reference - Code space', 'form_placeholder': 'EPSG', 'help_text': 'REQUIRED for spatial dataset', 'validators': 'scheming_required_for_spatial'}, {'field_name': 'spatial', 'label': 'Geospatial coverage', 'display_property': 'dcat:Dataset/dct:spatial', 'form_placeholder': 'Paste a valid GeoJSON geometry', 'validators': 'json_to_string scheming_required_for_spatial', 'form_snippet': 'spatial.html', 'display_snippet': 'spatial.html', 'choices': [{'label': 'Europe', 'value': {'type': 'MultiPolygon', 'coordinates': [[[[-13.095703125, 34.74161249883172], [46.142578125, 34.74161249883172], [46.142578125, 69.62651016802958], [-13.095703125, 69.62651016802958], [-13.095703125, 34.74161249883172]]]]}}]}, {'validators': 'scheming_required scheming_valid_json_object', 'output_validators': 'scheming_load_json', 'form_snippet': 'json.html', 'display_snippet': 'json.html', 'field_name': 'external_attributes', 'label': 'External attributes', 'form_placeholder': 'Insert a valid JSON object', 'preset': 'json_object'}], 'resource_fields': [{'field_name': 'url', 'label': 'URL', 'help_text': 'Resource file or download URL', 'help_inline': True, 'validators': 'unicode remove_whitespace', 'form_snippet': 'upload.html', 'form_placeholder': 'http://theme.com/my-data.csv', 'upload_field': 'upload', 'upload_clear': 'clear_upload', 'upload_label': 'File'}, {'field_name': 'datatype_resource', 'label': 'Datatype id', 'form_placeholder': 'e.g. 32001', 'required': True}, {'field_name': 'name', 'label': 'Name', 'form_placeholder': 'e.g. Observations of X at Y'}, {'field_name': 'file_date_start', 'label': 'File start date', 'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz_resource convert_to_json_if_datetime datetime_start_fill()'}, {'field_name': 'file_date_end', 'label': 'File end date', 'form_snippet': 'datetime_tz.html', 'display_snippet': 'datetime_tz.html', 'validators': 'scheming_isodatetime_tz_resource convert_to_json_if_datetime datetime_end_fill()'}, {'validators': 'if_empty_guess_format ignore_missing clean_format unicode', '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', 'display_property': 'dcat:Dataset/dcat:distribution/dcat:Distribution/dcat:format', 'preset': 'resource_format_autocomplete'}]} |