Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Extending
AllSchema.json
only provides two easy options; add extensions directly intoAllSchema.json
or maintain a file that lists every specific override.AllSchema.json
prevents encapsulating extensions to definitions in a single file to maintain separation between original defintion and extensions,EquipmentType
with a new attribute"Color": {"type": "string"}
. I would need to change all occurences of EquipmentType and override; GetEquipment, ProcessEquipment.... e.g.Proposal
Introduce a new file for easy extension and update existing JSON schema to references the easy extension file. This change makes use of unevaluatedProperties attribute on original entities and drops additionalProperties.
Add
B2MML-AllExtensions.schema.json
that can be used to extend entities.allOf
to include the extension file to allowChange
AllSchema.json
toAllSchema.schema.json
AllSchema.schema.json
swap"additionalProperties": false
for"unevaluatedProperties": false
,Example Usage