-
Notifications
You must be signed in to change notification settings - Fork 16
CS 1.0: BKG 2.0: EBL 3.0: SD-2761, SD-2751: Add FacilityName #587
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
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 |
|||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new facilityName property to facility location schemas across multiple DCSA OpenAPI specifications. The property provides a way to name facilities (e.g., "Building 123") alongside existing locationName fields, supporting up to 100 characters.
Key changes:
- Added
facilityNamestring property with 100-character maximum length to all facility location schemas - Applied consistently across CS v1.0.2, BKG v2.0.4, EBL v3.0.3, EBL_ISS v3.0.3, and PINT v3.0.0
- Includes description "The name of the facility." and example value "Building 123"
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| cs/v1/CS_v1.0.2.yaml | Adds facilityName to Commercial Schedule facility location schema |
| bkg/v2/BKG_v2.0.4.yaml | Adds facilityName to Booking facility location schemas across multiple endpoints |
| ebl/v3/EBL_v3.0.3.yaml | Adds facilityName to Electronic Bill of Lading facility location schemas |
| ebl/v3/issuance/EBL_ISS_v3.0.3.yaml | Adds facilityName to EBL Issuance facility location schemas |
| pint/v3/EBL_PINT_v3.0.0.yaml | Adds facilityName to Platform for Interoperability facility location schemas |
| .stoplight/styleguide.json | Minor styleguide configuration update |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
User description
SD-2751: Add Facility Name (CS)
SD-2761: Add Facility Name (BKG, EBL)
facilityNameis added next tolocationNamewherever aFacilityobject is also presentPR Type
Enhancement
Description
Add
facilityNameproperty to facility location schemasProperty supports up to 100 characters with example value
Applied consistently across CS, BKG, EBL, and PINT APIs
Diagram Walkthrough
File Walkthrough
CS_v1.0.2.yaml
Add facilityName to CS facility schemacs/v1/CS_v1.0.2.yaml
facilityNameproperty to facility location schemaBKG_v2.0.4.yaml
Add facilityName to BKG facility schemabkg/v2/BKG_v2.0.4.yaml
facilityNameproperty to facility location schemaEBL_v3.0.3.yaml
Add facilityName to EBL facility schemaebl/v3/EBL_v3.0.3.yaml
facilityNameproperty to facility location schemaEBL_ISS_v3.0.3.yaml
Add facilityName to EBL issuance facility schemaebl/v3/issuance/EBL_ISS_v3.0.3.yaml
facilityNameproperty to facility location schemaEBL_PINT_v3.0.0.yaml
Add facilityName to PINT facility schemapint/v3/EBL_PINT_v3.0.0.yaml
facilityNameproperty to facility location schemastyleguide.json
Update styleguide configuration.stoplight/styleguide.json