JSON Schema is a constraint system (not an object-oriented language)
Why object-oriented programming is the wrong mental model for JSON Schema. An empty JSON Schema allows everything, while an empty Java class does nothing.
Modern JSON Schema and APIs