All of merging is a frequently desired aspect of JSON schema. The current specification doesn't allow for constraint merging. This makes it hard to do things like inheritance. The proposal here is to add a function to schema utils to make it possible, for
people to transform their json schemas into an expanded form merging all of properly. This feature would be a non breaking change that would otherwise "fix" broken JSON schema, and would be entirely optional.
Acceptance Criteria
Schema utils has a function that will support all of merging within the context of openrpc
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
All of in JSON schema Merge
Summary
All of merging is a frequently desired aspect of JSON schema. The current specification doesn't allow for constraint merging. This makes it hard to do things like inheritance. The proposal here is to add a function to schema utils to make it possible, for people to transform their json schemas into an expanded form merging all of properly. This feature would be a non breaking change that would otherwise "fix" broken JSON schema, and would be entirely optional.
Acceptance Criteria
Schema utils has a function that will support all of merging within the context of openrpc
background: https://github.com/mokkabonna/json-schema-merge-allof https://json-schema.org/understanding-json-schema/reference/combining.html?highlight=allof#subschema-independence