Skip to content

Commit 048369b

Browse files
[Schema] CMSIS Solution project format schema files for improved description
1 parent c045f7a commit 048369b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/projmgr/schemas/common.schema.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@
482482
"TargetTypes": {
483483
"title": "target-types:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#target-types",
484484
"type": "array",
485-
"description": "Target type declaration list that allow to switch among different targets.",
485+
"description": "List of target type names that allow to switch between different target systems.",
486486
"uniqueItems": true,
487487
"minItems": 1,
488488
"items": { "$ref": "#/definitions/TargetType" }
@@ -523,8 +523,9 @@
523523
"required" : [ "type"]
524524
},
525525
"BuildTypes": {
526+
"title": "build-types:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#build-types",
526527
"type": "array",
527-
"description": "List of build type declarations that allow to switch among different build settings such as: Release, Debug, Test.",
528+
"description": "List of build type names that allow to switch between different build settings such as: Release, Debug, Test.",
528529
"uniqueItems": true,
529530
"minItems": 1,
530531
"items": { "$ref": "#/definitions/BuildType" }
@@ -1500,7 +1501,7 @@
15001501
"title": "pack:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#pack",
15011502
"type": "string",
15021503
"pattern": "^([a-zA-Z0-9_ \\.-]+)((::[a-zA-Z0-9_ \\.\\*-]+)(@(>=|\\~|\\^)?([0-9]+\\.[0-9]+\\.[0-9]+((\\+|\\-)[a-zA-Z0-9_\\.\\+-]+)?))?)?$",
1503-
"description": "Name of a software pack.\nFormat: Vendor [:: Pack [@[>=|~|^] version]].\nExample: ARM::[email protected]."
1504+
"description": "Name of a software pack with the following format:\n [vendor ::] pack-name # Use the latest version of the pack\n [vendor ::] pack-name@version # With exact version\n [vendor ::] pack-name@>=version # With version equal or higher\n [vendor ::] pack-name@^version # With version equal or higher but the same major version\n [vendor ::] pack-name@~version # With version equal or higher but the same major and minor version"
15041505
},
15051506
"VersionlessPackID": {
15061507
"title": "pack:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#pack",

0 commit comments

Comments
 (0)