3 ms·
> otherwise your schema has no teeth I don't disagree, but FWIW, this is common deliberate choice. E.g. Protobufs work exactly the same way. Except unlike JSO
by paulddraper 5y ago
> otherwise your schema has no teeth
I don't disagree, but FWIW, this is common deliberate choice.
E.g. Protobufs work exactly the same way. Except unlike JSONSchema, there's no way to disable it.
The reasoning is to permit future extensibility.
- RustyRussell 5y agoFor JSON itself, ignoring extra fields it makes sense. For validating my own output, it does not. And validating someone else's output seems counterproductive?