BKG 2.0, EBL 3.0: SD-2714, SD-2713: Add extendedChargeName#602
BKG 2.0, EBL 3.0: SD-2714, SD-2713: Add extendedChargeName#602
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Pull request overview
This PR deprecates the chargeName field and introduces a new extendedChargeName field across multiple API specifications (BKG 2.0, EBL 3.0, and PINT 3.0). The new field increases the maximum character limit from 50 to 100 characters and takes precedence when both fields are provided.
Changes:
- Marked
chargeNameas deprecated with clear migration guidance - Added
extendedChargeNamefield with 100-character limit and precedence rules - Applied changes consistently across four YAML specification files
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| pint/v3/EBL_PINT_v3.0.0.yaml | Added deprecation and extended field for charge names in PINT specification |
| ebl/v3/issuance/EBL_ISS_v3.0.3.yaml | Added deprecation and extended field for charge names in EBL issuance specification |
| ebl/v3/EBL_v3.0.3.yaml | Added deprecation and extended field for charge names in main EBL specification |
| bkg/v2/BKG_v2.0.4.yaml | Added deprecation and extended field for charge names in BKG specification |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
pint/v3/EBL_PINT_v3.0.0.yaml
Outdated
| maxLength: 100 | ||
| description: | | ||
| Extended Free text field, now allowing up to 100 characters, describing the charge to apply. | ||
|
|
There was a problem hiding this comment.
There is inconsistent trailing whitespace in the description. Line 3577 has trailing whitespace while similar lines in other files may not, which can cause inconsistencies in documentation formatting.
ebl/v3/issuance/EBL_ISS_v3.0.3.yaml
Outdated
| maxLength: 100 | ||
| description: | | ||
| Extended Free text field, now allowing up to 100 characters, describing the charge to apply. | ||
|
|
There was a problem hiding this comment.
There is inconsistent trailing whitespace in the description. Line 2824 has trailing whitespace while similar lines in other files may not, which can cause inconsistencies in documentation formatting.
ebl/v3/EBL_v3.0.3.yaml
Outdated
| maxLength: 100 | ||
| description: | | ||
| Extended Free text field, now allowing up to 100 characters, describing the charge to apply. | ||
|
|
There was a problem hiding this comment.
There is inconsistent trailing whitespace in the description. Line 8766 has trailing whitespace while similar lines in other files may not, which can cause inconsistencies in documentation formatting.
bkg/v2/BKG_v2.0.4.yaml
Outdated
| maxLength: 100 | ||
| description: | | ||
| Extended Free text field, now allowing up to 100 characters, describing the charge to apply. | ||
|
|
There was a problem hiding this comment.
There is inconsistent trailing whitespace in the description. Line 7015 has trailing whitespace while similar lines in other files may not, which can cause inconsistencies in documentation formatting.
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
SD-2713: Add
extendedChargeNameand deprecatechargeNameSD-2714: Add
extendedChargeNameand deprecatechargeNamechargeNameis mandatory - so it still needs to be provided. Deprecating it and adding theextendedChargeNamenext to it with an explanation thatextendedChargeNametakes precedence overchargeNamePR Type
Enhancement
Description
Add
extendedChargeNameproperty allowing up to 100 charactersDeprecate
chargeNamewhile maintaining backward compatibilityMark
chargeNameas deprecated in schema documentationUpdate charge description fields across multiple API specifications
Diagram Walkthrough
File Walkthrough
EBL_ISS_v3.0.3.yaml
Add extendedChargeName and deprecate chargeNameebl/v3/issuance/EBL_ISS_v3.0.3.yaml
chargeNameproperty as deprecatedextendedChargeNameproperty with 100 character limitextendedChargeNametakes priority overchargeNameEBL_PINT_v3.0.0.yaml
Add extendedChargeName and deprecate chargeNamepint/v3/EBL_PINT_v3.0.0.yaml
chargeNameproperty as deprecatedextendedChargeNameproperty with 100 character limitextendedChargeNametakes priority overchargeNameEBL_v3.0.3.yaml
Add extendedChargeName and deprecate chargeNameebl/v3/EBL_v3.0.3.yaml
chargeNameproperty as deprecatedextendedChargeNameproperty with 100 character limitextendedChargeNametakes priority overchargeNameBKG_v2.0.4.yaml
Add extendedChargeName and deprecate chargeNamebkg/v2/BKG_v2.0.4.yaml
chargeNameproperty as deprecatedextendedChargeNameproperty with 100 character limitextendedChargeNametakes priority overchargeNamestyleguide.json
Update styleguide configuration.stoplight/styleguide.json