diff --git a/docs/schemas/profile/qgis_plugin.json b/docs/schemas/profile/qgis_plugin.json index 96d41536..d8340f85 100644 --- a/docs/schemas/profile/qgis_plugin.json +++ b/docs/schemas/profile/qgis_plugin.json @@ -6,7 +6,6 @@ "properties": { "folder_name": { "description": "Name of the plugins's directory once installed in QGIS. Useful when name does not complies with filename conventions.", - "pattern": "^([a-zA-Z]:)?(\\\\[^<>:\"/\\\\|?*]+)+\\\\?$", "type": "string" }, "location": { @@ -45,15 +44,10 @@ }, "repository_url_xml": { "description": "URL to the plugin repository file (XML).", - "type": "string" - }, - "type": { - "enum": [ - "local", - "remote" - ], - "deprecated": true, - "type": "string" + "type": "string", + "examples": [ + "https://oslandia.gitlab.io/qgis/ngp-connect/plugins.xml" + ] }, "url": { "description": "Direct URI (URL or local path) to download the plugin archive (.zip).", @@ -65,10 +59,9 @@ ] }, "version": { - "description": "Plugin version to install.", + "description": "Version of the plugin to be installed.", "maxLength": 14, "minLength": 5, - "pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$", "type": "string" } } diff --git a/docs/schemas/profile/qgis_profile.json b/docs/schemas/profile/qgis_profile.json index 1c09abe1..ed3d6a35 100644 --- a/docs/schemas/profile/qgis_profile.json +++ b/docs/schemas/profile/qgis_profile.json @@ -25,7 +25,6 @@ }, "folder_name": { "description": "Name of the profile's directory in QGIS.", - "pattern": "^([a-zA-Z]:)?(\\\\[^<>:\"/\\\\|?*]+)+\\\\?$", "type": "string" }, "icon": { @@ -34,7 +33,7 @@ }, "name": { "description": "Profile name without any special characters.", - "pattern": "^[_a-zA-Z][a-zA-Z0-9_-]*$" + "type": "string" }, "plugins": { "description": "Plugins installed with the profile.",