Skip to content

Commit

Permalink
Docs: update json schemas (#559)
Browse files Browse the repository at this point in the history
- [x] use new project URLS
  • Loading branch information
jmkerloch authored Dec 12, 2024
2 parents 97fcf01 + 938245b commit 158c419
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
"editor.suggest.insertMode": "replace",
"files.insertFinalNewline": true
},
// Markdown
"markdown.updateLinksOnFileMove.enabled": "prompt",
Expand Down
6 changes: 3 additions & 3 deletions docs/schemas/profile/qgis_profile.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/qgis-deployment/qgis-deployment-toolbelt-cli/raw/main/docs/schemas/profile/qgis_profile.json",
"$comment": "A QGIS profile described in a JSON file.",
"$comment": "A QGIS profile described in a JSON file in the QDT formalism.",
"type": "object",
"properties": {
"alias": {
Expand Down Expand Up @@ -44,14 +44,14 @@
}
},
"qgisMaximumVersion": {
"description": "Maximum QGIS version where the profile can be deployed.",
"description": "Maximum QGIS version where the profile can be deployed. It should complies with SemVer.",
"maxLength": 14,
"minLength": 5,
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$",
"type": "string"
},
"qgisMinimumVersion": {
"description": "Minimum QGIS version where the profile can be deployed.",
"description": "Minimum QGIS version where the profile can be deployed. It should complies with SemVer.",
"maxLength": 14,
"minLength": 5,
"pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$",
Expand Down
2 changes: 1 addition & 1 deletion docs/schemas/profile/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"type": "string"
}
},
"definitions": {
"defs": {
"conditionArray": {
"type": "array",
"title": "Condition Array",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/qgis-deployment/qgis-deployment-toolbelt-cli/main/docs/schemas/scenario/jobs/generic.json",
"$id": "https://raw.githubusercontent.com/qgis-deployment/qgis-deployment-toolbelt-cli/main/docs/schemas/scenario/jobs/qdt_job_base.json",
"description": "Definition of a job, i.e. a logic execution which can be ran during a step.",
"title": "Steps",
"type": "array",
Expand Down Expand Up @@ -125,7 +125,7 @@
"$ref": "qgis-installation-finder.json"
}
}
},
}
],
"required": [
"name",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/qgis-deployment/qgis-deployment-toolbelt-cli/raw/main/docs/schemas/scenario/schema.json",
"$id": "https://github.com/qgis-deployment/qgis-deployment-toolbelt-cli/raw/main/docs/schemas/scenario/qdt_scenario.json",
"$comment": "Deploy and configure QGIS and related components (plugins, shortcuts, etc.).",
"type": "object",
"properties": {
Expand Down

0 comments on commit 158c419

Please sign in to comment.