{
  "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": "https://schema.nfh.global/Rating/v2.1/schema.json"
    },
    "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.nfh.global/LogisticsFeedback/v2.0",
  "x-iri": "https://schema.nfh.global/LogisticsFeedback/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
