sync: import updated schemas from beckn/schemas#13
Draft
nirmalnr wants to merge 3 commits into
Draft
Conversation
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.
Summary
Syncs all logistics domain schemas from the upstream beckn/schemas repository into this repo. This is part of a consolidation effort to make this repo the canonical home for all logistics-related schemas, after which the beckn/schemas repo will no longer maintain them.
What changed
Synced from upstream (
beckn/schemas)Updated all 35+ logistics domain schema folders (v2.0) with:
schema.json— formal JSON Schema definitions (replaces legacyattributes.jsonschema.yaml)context.jsonld— JSON-LD context for semantic interoperabilityvocab.jsonld— vocabulary/term definitionsREADME.mdper schemaattributes.yaml— attribute-level documentation and typesattributes.jsonschema.yaml— deprecated format, superseded byschema.jsonSchemas updated include: Alert, CancellationPolicy, Carrier, Consignment, Contact, Courier, DeliverySlot, Driver, Fare, FareBreakup, Hub, Logistics, LogisticsAlert, LogisticsCancellationPolicy, LogisticsDriver, LogisticsFare, LogisticsFareBreakup, LogisticsFeedback, LogisticsOperator, LogisticsPlace, LogisticsRating, LogisticsReceipt, LogisticsRoute, LogisticsSupportCase, LogisticsVehicle, Operator, Package, Proof, Rating (v2.0 + v2.1), ReturnPolicy, Route, Shipment, SupportCase, TrackingUpdate, Vehicle, Waypoint.
Kept as-is (this repo only)
Feedback,Place, andReceiptschemas exist only in this repo and are not present inbeckn/schemas— these are preserved unchanged.Migration note
Once this is merged, the above schemas will be maintained exclusively in this repo. The
beckn/schemasrepo will eventually remove them.