On Sat, 2024-10-26 at 20:14 +0200, Krzysztof Kozlowski wrote: > On 22/10/2024 08:42, Nuno Sá wrote: > > > > + $ref: /schemas/types.yaml#/definitions/uint8-array > > > > + oneOf: > > > > + - minItems: 13 > > > > + - minItems: 26 > > > > + - minItems: 39 > > > > > > and maxItems? > > > > Hmm, I had the idea that if maxItems was omitted, then it's the same as > > minItems? Because that's the intent... We can either have an array of 13, 26 or > > 39 entries. > > That's not the case and none of the files follow such logic. If you > manage to find one file, please correct or report it. > Okay... will add maxItems FWIW, playing with the DT example and validating the bindings works (and fails) as expected when omitting maxItems. - Nuno Sá