From cbe6f0aaa959d0c870b9ac6a7728e2a87fd60c71 Mon Sep 17 00:00:00 2001 From: Thorge Petersen <petersen@rz.uni-kiel.de> Date: Thu, 8 Jun 2023 13:41:17 +0200 Subject: [PATCH] Added more info on config vars, e.g., lenient_with --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 07635471..c93ec16e 100644 --- a/README.md +++ b/README.md @@ -96,13 +96,13 @@ Parameter | Type | Default | Description `ckanext.odsh.spatial.mapping` | `string` | `/usr/lib/ckan/default/src/ckanext-odsh/ckanext/odsh/resources/schleswig-holstein_geojson.csv` | Absolute path to spatial mapping file. The mapping file is expected to be a tab-separated file with three columns: URI, spatial text, and JSON geometry. `ckanext.odsh.resource_formats_fallback_filepath` | `string` | `/usr/lib/ckan/default/src/ckanext-odsh/ckanext/odsh/resources/fileformats.rdf` | Absolute path to resource formats fallback file. `ckanext.odsh.upload_formats` | `string` | - | Known upload formats, e.g., `pdf`. -`ckanext.odsh.require_at_least_one_category` | `boolean` | `False` | TODO +`ckanext.odsh.require_at_least_one_category` | `boolean` | `False` | Indicates whether the presence of at least one category is required during validation. `ckanext.odsh.require_spatial_uri` | `boolean` | `False` | Indicates whether a spatial URI is required for the dataset. `ckanext.odsh.require_subject` | `boolean` | `True` | Indicates whether a subject is required for a dataset. -`ckanext.odsh.is_optional_temporal_start` | `boolean` | E.g., `False`. -`ckanext.odsh.download_proxy` | `string` | Use proxy server to access the web, e.g., `http://1.2.3.4:4123`. +`ckanext.odsh.is_optional_temporal_start` | `boolean` | `False` | Indicate whether the `temporal_start` property is considered optional or not during validation. +`ckanext.odsh.download_proxy` | `string` | `None` | Use proxy server to access the web, e.g., `http://1.2.3.4:4123`. `copy_remote_resources` | `boolean` | `False` | Indicates whether remote resources should be copied when creating a resource. -`ckanext.odsh.lenient_with` | | | +`ckanext.odsh.lenient_with` | `string` | Empty string | Comma seperated list of organization IDs for which certain validations should be more lenient, e.g., `09871195-cd0a-4767-9396-276404c940d9,6389d8d9-4eed-472f-9220-4cc2dd82fb90`. `ckanext.odsh.testuser` | `string` | `None` | Name of user for testing. `ckanext.odsh.testuserpass` | `string` | `None` | Password of user for testing. -- GitLab