{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tradera/json-schema/tradera-get-feedback-summary-response-schema.json",
  "title": "GetFeedbackSummaryResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tradera-users-api-openapi.yml#/components/schemas/GetFeedbackSummaryResponse",
  "type": "object",
  "properties": {
    "userId": {
      "type": "integer",
      "format": "int32"
    },
    "lastMonth": {
      "$ref": "#/$defs/FeedbackSummaryItem"
    },
    "lastSixMonth": {
      "$ref": "#/$defs/FeedbackSummaryItem"
    },
    "lastTwelveMonth": {
      "$ref": "#/$defs/FeedbackSummaryItem"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "FeedbackSummaryItem": {
      "type": "object",
      "properties": {
        "totalPositive": {
          "type": "integer",
          "format": "int32"
        },
        "totalNegative": {
          "type": "integer",
          "format": "int32"
        }
      },
      "additionalProperties": false
    }
  }
}