On 07/06/2022 00:51, Rob Herring wrote: > Another round from new cases in 5.19-rc of removing redundant > minItems/maxItems when 'items' list is specified. This time it is in > if/then schemas as the meta-schema was failing to check this case. > > If a property has an 'items' list, then a 'minItems' or 'maxItems' with the > same size as the list is redundant and can be dropped. Note that is DT > schema specific behavior and not standard json-schema behavior. The tooling > will fixup the final schema adding any unspecified minItems/maxItems. > > Signed-off-by: Rob Herring <robh@xxxxxxxxxx> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> Best regards, Krzysztof