# org.swappulse.tradingFeedback

> Published by [bridge.swappulse.org](https://lexicon.garden/identity/did:plc:jwoatauidzr4lollmro2gh35)

## Description

Feedback left by a trader after a completed trade, mirrored to AT Protocol so trading reputation is portable and verifiable across instances.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.tradingFeedback)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.tradingFeedback/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.tradingFeedback/examples)

## Definitions

### `org.swappulse.tradingFeedback`

**Type**: `record`

Trading feedback for a completed trade.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `rating` | `integer` | Yes |  |
| `comment` | `string` | No |  |
| `tradeId` | `string` | No |  |
| `raterDid` | `string` (did) | No |  |
| `tradeUri` | `string` (at-uri) | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `raterName` | `string` | No |  |
| `raterAvatar` | `string` (uri) | No |  |
| `raterHandle` | `string` | No |  |
| `ratedUserDid` | `string` (did) | Yes |  |

## Raw Schema

```json
{
  "id": "org.swappulse.tradingFeedback",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "tradeUri",
          "ratedUserDid",
          "rating",
          "createdAt"
        ],
        "properties": {
          "rating": {
            "type": "integer",
            "maximum": 5,
            "minimum": 1
          },
          "comment": {
            "type": "string",
            "maxLength": 500
          },
          "tradeId": {
            "type": "string"
          },
          "raterDid": {
            "type": "string",
            "format": "did"
          },
          "tradeUri": {
            "type": "string",
            "format": "at-uri"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "raterName": {
            "type": "string"
          },
          "raterAvatar": {
            "type": "string",
            "format": "uri"
          },
          "raterHandle": {
            "type": "string"
          },
          "ratedUserDid": {
            "type": "string",
            "format": "did"
          }
        }
      },
      "description": "Trading feedback for a completed trade."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1,
  "description": "Feedback left by a trader after a completed trade, mirrored to AT Protocol so trading reputation is portable and verifiable across instances."
}
```
