lkml.org 
[lkml]   [2021]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dt-bindings: PCI: ti,am65: Convert PCIe host/endpoint mode dt-bindings to YAML
On 11:04-20210526, Rob Herring wrote:

[...]

> > > +unevaluatedProperties: false
> >
> > Is it possible to lock this down further with additionalProperties: false?
>
> unevaluatedProperties is what we want here.
>
> > I could add some ridiculous property like system-controller; to the
> > example and the checks wont catch it.
>
> Yes, because unevaluatedProperties is currently unimplemented. Once
> the upstream jsonschema tool supports it[1], there will be warnings.
> The other way we could address this is there are $ref resolving tools
> that flatten schemas.
>
> [1] https://github.com/Julian/jsonschema/issues/613#issuecomment-636026577


Aha.. Thanks.

--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

\
 
 \ /
  Last update: 2021-05-26 21:00    [W:0.045 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site