Not sure yet if it`s possible but there is a discussion about it: https://github.com/json-schema-org/json-schema-spec/issues/309 Maybe: https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.8.1.2