openapi: 3.1.0 info: title: Feedback version: 2.0.0 description: Schema for Feedback in Beckn Logistics domain. contact: name: Beckn Foundation url: https://beckn.org license: name: MIT url: https://opensource.org/licenses/MIT paths: {} components: schemas: Feedback: type: object title: Feedback description: Qualitative feedback from sender or receiver about a logistics experience. properties: id: type: string example: FBK-001 shipmentId: type: string rating: $ref: '#/components/schemas/Rating' review: type: string description: Free text review example: Driver was very professional and delivered on time. tags: type: array description: Structured feedback tags items: type: string example: - ON_TIME - PROFESSIONAL_DRIVER - GOOD_PACKAGING wouldRecommend: type: boolean example: true submittedBy: type: string description: User ID of feedback submitter submittedAt: type: string format: date-time isPublic: type: boolean description: Whether feedback is publicly visible example: true $id: https://schema.beckn.io/LogisticsFeedback/v2.0 x-tags: - logistics