Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CREF about ambiguous behaviour of additionalProperties #1203

Conversation

Relequestual
Copy link
Member

Fixes #1172
Must see new issue relating to the behaviour of annotation collection for resolving in the next draft.
Related to json-schema-org/community#57

jsonschema-core.xml Outdated Show resolved Hide resolved
jsonschema-core.xml Outdated Show resolved Hide resolved
jsonschema-core.xml Outdated Show resolved Hide resolved
jsonschema-core.xml Outdated Show resolved Hide resolved
@Relequestual
Copy link
Member Author

I've removed some of the waffle from the CREF in the spec document as @jdesrosiers requested.
I've also added an Architectural Decision Record (ADR) for this overall decision to capture the reasoning behind it.
As you are named on the ADR (@karenetheridge @jdesrosiers @gregsdennis), it would be great to get your reviews.

Please feel free to make suggestion changes in your reviews if any additional thoughs come to mind or I've forgotten an option we considered.

Copy link
Member

@karenetheridge karenetheridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. Moving the decision content to an ADR is a good move as it allows more verbosity as well as linking to all the related issues where the discussions took place.

Copy link
Member

@jdesrosiers jdesrosiers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Creating an ADR for this was a great idea! If we had one for when the annotation based behavior was was introduced, we could have saved ourselves a lot of speculation about what the intention was.

Copy link
Member

@gregsdennis gregsdennis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor formatting issue. Good otherwise.

Fixes json-schema-org#1172
Must see new issue relating to the behaviour of annotation collection for resolving in the next draft.
Add first spec related ADR about the handling of additionalProperties ambiguity in 2019-09 and 2020-12 for the patch release by adding a CREF
@Relequestual Relequestual force-pushed the 1172-ambiguous-behaviour-additionalProperties-cref branch from dae2084 to 6b8542c Compare April 14, 2022 08:04
@Relequestual
Copy link
Member Author

Relequestual commented Apr 14, 2022

Rebased to remove commits for spelling and grammar fixes.
Thank you all for your careful review and feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ambiguous behaviour of additionalProperties when invalid
4 participants