fix(schemas): duplicate description key on V2 DetailedDefinition.examples#70
Merged
Merged
Conversation
…ples
The VIM 1993 scoped-examples feature added a 'description' for the new
examples field on detailed_definition, but the original description
('Bibliographic references for this particular definition of the concept')
was left behind — producing two 'description' siblings under the same
mapping, which strict YAML parsers (e.g. js-yaml's default mode used by
glossarist.org's bundle-schemas script) reject as DUPLICATE_KEY.
Move the bibliographic description to its intended home on 'sources'
(matching the V3 schema shape) and keep the scoped-examples description
where it belongs.
Release reminderThis PR touches Checklist:
The tag push will trigger If this PR is doc-only or CI-only within those paths and does NOT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The V2 localized-concept.yaml schema has a duplicate description key on detailed_definition.examples. The new scoped-examples description (added in v3.1.0 for the VIM 1993 nesting feature) was committed on top of the existing sources description, which had drifted onto the wrong field.
Strict YAML parsers (e.g. the yaml package's default mode used by glossarist.org's bundle-schemas script) reject this as DUPLICATE_KEY, breaking the website's build.
This PR moves the bibliographic description to its intended home on sources (matching the V3 schema shape) and keeps the scoped-examples description on examples.
Discovered by glossarist.org CI while syncing to v3.1.0 (PR #59).