Re: [PATCH] meta-schemas: Allow 'not' keyword

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Mar 23, 2023 at 10:12 AM Serge Semin
<Sergey.Semin@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Root- and sub-node schemas are supposed to be allowed to use the 'not'
> keyword directly to express a schema against which the instance isn't
> supposed to be successfully validated. It shall work in the same way as
> the allOf, anyOf, oneOf-based validation except the keyword implies a
> single sub-schema against which an instance will be anti-evaluated.
>
> Signed-off-by: Serge Semin <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx>
>
> ---
>
> Please see the next email message for the patch context:
> Link: https://lore.kernel.org/netdev/20230313225103.30512-16-Sergey.Semin@xxxxxxxxxxxxxxxxxxxx
> ---
>  dtschema/meta-schemas/base.yaml  | 2 +-
>  dtschema/meta-schemas/nodes.yaml | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.




[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux