@@ -151,25 +151,37 @@ properties:
151151 type : object
152152 propertyNames : { type: string, format: kebab-case }
153153 additionalProperties :
154- type : object
155- properties :
156- title : { type: string }
157- primaryChange : { type: boolean }
158- notableChange : { type: boolean }
159- requireScope : { type: boolean }
160- strictScope : { type: boolean }
161- additionalProperties : false
162- required : [primaryChange, notableChange, requireScope, strictScope]
154+ anyOf :
155+ - const : false
156+ - type : object
157+ properties :
158+ title : { type: string }
159+ primaryChange : { type: boolean }
160+ notableChange : { type: boolean }
161+ requireScope : { type: boolean }
162+ strictScope : { type: boolean }
163+ additionalProperties : false
164+ required : [primaryChange, notableChange, requireScope, strictScope]
163165
164166 primaryScopes :
165167 anyOf :
166168 - type : " null"
167- - { type: array, items: { type: string, format: kebab-case }, minItems: 1, uniqueItems: true }
169+ - type : object
170+ propertyNames : { type: string, format: kebab-case }
171+ additionalProperties :
172+ anyOf :
173+ - const : false
174+ - type : string
168175
169176 secondaryScopes :
170177 anyOf :
171178 - type : " null"
172- - { type: array, items: { type: string, format: kebab-case }, minItems: 1, uniqueItems: true }
179+ - type : object
180+ propertyNames : { type: string, format: kebab-case }
181+ additionalProperties :
182+ anyOf :
183+ - const : false
184+ - type : string
173185
174186 additionalProperties : false
175187 required : [requireType, strictType, types, primaryScopes, secondaryScopes]
0 commit comments