Skip to content

Commit 4b20cb5

Browse files
Fix JSON property name and added missing properties (#2262)
Signed-off-by: Torbjörn SVENSSON <[email protected]>
1 parent f17e703 commit 4b20cb5

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

tools/projmgr/schemas/common.schema.json

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,36 @@
119119
},
120120
"TypeListMutualExclusion": {
121121
"oneOf": [
122-
{
122+
{
123+
"type": "object",
123124
"required": ["for-context"],
124-
"not": {"required": ["not-for-context"]}
125+
"not": {
126+
"type": "object",
127+
"required": ["not-for-context"]
128+
}
125129
},
126-
{
130+
{
131+
"type": "object",
127132
"required": ["not-for-context"],
128-
"not": {"required": ["for-context"]}
133+
"not": {
134+
"type": "object",
135+
"required": ["for-context"]
136+
}
129137
},
130138
{
131139
"allOf": [
132-
{ "not": {"required": ["for-context"] }},
133-
{ "not": {"required": ["not-for-context"]}}
140+
{
141+
"not": {
142+
"type": "object",
143+
"required": ["for-context"]
144+
}
145+
},
146+
{
147+
"not": {
148+
"type": "object",
149+
"required": ["not-for-context"]
150+
}
151+
}
134152
]
135153
}
136154
]
@@ -991,7 +1009,7 @@
9911009
"type": "object",
9921010
"properties": {
9931011
"component": {
994-
"title:": "component:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#components",
1012+
"title": "component:\nDocumentation: https://open-cmsis-pack.github.io/cmsis-toolbox/YML-Input-Format/#components",
9951013
"$ref": "#/definitions/ComponentID"
9961014
},
9971015
"add-path": { "$ref": "#/definitions/AddpathsType" },

0 commit comments

Comments
 (0)