There's several cases of json-schema 'additionalProperties' at the wrong indentation level which has the effect of making them DT properties. This is harmless, but let's fix them so a meta-schema check for this can be added. In all the cases, either the 'additionalProperties' was extra or doesn't work because there's a $ref to more properties. In the latter case, we can use 'unevaluatedProperties' instead.
Unified · Split
| @@ -259,8 +259,6 @@ properties: · 258 unmodified lines | |||
| 259 | 259 | ||
| 260 | additionalProperties: false | 260 | additionalProperties: false |
| 261 | 261 | ||
| 262 | additionalProperties: false | ||
| 263 | |||
| 264 | additionalProperties: false | 262 | additionalProperties: false |
| 265 | 263 | ||
| 266 | required: | 264 | required: |
| @@ -37,7 +37,6 @@ properties: · 36 unmodified lines | |||
| 37 | type: object | 37 | type: object |
| 38 | 38 | ||
| 39 | additionalProperties: false | 39 | additionalProperties: false |
| 40 | additionalProperties: false | ||
| 41 | 40 | ||
| 42 | required: | 41 | required: |
| 43 | - compatible | 42 | - compatible |
| @@ -75,7 +75,8 @@ properties: · 74 unmodified lines | |||
| 75 | description: | | 75 | description: | |
| 76 | disables over voltage protection of this buck | 76 | disables over voltage protection of this buck |
| 77 | 77 | ||
| 78 | additionalProperties: false | 78 | unevaluatedProperties: false |
| 79 | |||
| 79 | additionalProperties: false | 80 | additionalProperties: false |
| 80 | 81 | ||
| 81 | required: | 82 | required: |
| @@ -35,6 +35,8 @@ patternProperties: · 34 unmodified lines | |||
| 35 | description: | 35 | description: |
| 36 | should be "ldo1", ..., "ldo7" | 36 | should be "ldo1", ..., "ldo7" |
| 37 | 37 | ||
| 38 | unevaluatedProperties: false | ||
| 39 | |||
| 38 | "^BUCK[1-7]$": | 40 | "^BUCK[1-7]$": |
| 39 | type: object | 41 | type: object |
| 40 | allOf: | 42 | allOf: |
| @@ -103,5 +105,7 @@ patternProperties: · 62 unmodified lines | |||
| 103 | 105 | ||
| 104 | required: | 106 | required: |
| 105 | - regulator-name | 107 | - regulator-name |
| 106 | additionalProperties: false | 108 | |
| 109 | unevaluatedProperties: false | ||
| 110 | |||
| 107 | additionalProperties: false | 111 | additionalProperties: false |
| @@ -41,6 +41,8 @@ patternProperties: · 40 unmodified lines | |||
| 41 | description: | 41 | description: |
| 42 | should be "ldo1", ..., "ldo7" | 42 | should be "ldo1", ..., "ldo7" |
| 43 | 43 | ||
| 44 | unevaluatedProperties: false | ||
| 45 | |||
| 44 | "^BUCK[1-8]$": | 46 | "^BUCK[1-8]$": |
| 45 | type: object | 47 | type: object |
| 46 | allOf: | 48 | allOf: |
| @@ -99,5 +101,7 @@ patternProperties: · 52 unmodified lines | |||
| 99 | 101 | ||
| 100 | required: | 102 | required: |
| 101 | - regulator-name | 103 | - regulator-name |
| 102 | additionalProperties: false | 104 | |
| 105 | unevaluatedProperties: false | ||
| 106 | |||
| 103 | additionalProperties: false | 107 | additionalProperties: false |
| @@ -40,6 +40,8 @@ patternProperties: · 39 unmodified lines | |||
| 40 | description: | 40 | description: |
| 41 | should be "ldo1", ..., "ldo6" | 41 | should be "ldo1", ..., "ldo6" |
| 42 | 42 | ||
| 43 | unevaluatedProperties: false | ||
| 44 | |||
| 43 | "^BUCK[1-6]$": | 45 | "^BUCK[1-6]$": |
| 44 | type: object | 46 | type: object |
| 45 | allOf: | 47 | allOf: |
| @@ -93,5 +95,7 @@ patternProperties: · 47 unmodified lines | |||
| 93 | 95 | ||
| 94 | required: | 96 | required: |
| 95 | - regulator-name | 97 | - regulator-name |
| 96 | additionalProperties: false | 98 | |
| 99 | unevaluatedProperties: false | ||
| 100 | |||
| 97 | additionalProperties: false | 101 | additionalProperties: false |