News for hackers. Stuff that matters.
Re:JSON Schema Demystified: Dialects, Vocabularies and Metas... by jhoechtl on Friday November 28, 2025 @03:12PM (#46082353)
I think JSON Schema made the same fallacy as eg. OWL did: The assumption of an open world. 99% percent of the time you want to express "This message should look like this and everything else is wrong". Instead JSON-S went the way to make everything possible at the price of rendering the default unwieldy.
Re:JSON Schema Demystified: Dialects, Vocabularies and Metas... by ether_at_cpan on Friday November 28, 2025 @03:57PM (#46082703)
There's a way to express that though: by adding `"unevaluatedProperties": false` underneath your properties list.