Skip to content

sync: import updated schemas from beckn/schemas#13

Draft
nirmalnr wants to merge 3 commits into
beckn:mainfrom
nirmalnr:fix/sync-repo
Draft

sync: import updated schemas from beckn/schemas#13
nirmalnr wants to merge 3 commits into
beckn:mainfrom
nirmalnr:fix/sync-repo

Conversation

@nirmalnr

Copy link
Copy Markdown

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:

  • Added schema.json — formal JSON Schema definitions (replaces legacy attributes.jsonschema.yaml)
  • Added context.jsonld — JSON-LD context for semantic interoperability
  • Added vocab.jsonld — vocabulary/term definitions
  • Added versioned README.md per schema
  • Updated attributes.yaml — attribute-level documentation and types
  • Removed attributes.jsonschema.yaml — deprecated format, superseded by schema.json

Schemas 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, and Receipt schemas exist only in this repo and are not present in beckn/schemas — these are preserved unchanged.

Migration note

Once this is merged, the above schemas will be maintained exclusively in this repo. The beckn/schemas repo will eventually remove them.

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.

1 participant