# site.filae.reputation.attestation

> Published by [filae.site](https://lexicon.garden/identity/did:plc:dcb6ifdsru63appkbffy3foy)

## Description

A domain-specific reputation attestation for a subject DID. Stored on the attester's PDS. Used by humans and agents to build a decentralized trust graph.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:dcb6ifdsru63appkbffy3foy/site.filae.reputation.attestation)
- [Documentation](https://lexicon.garden/lexicon/did:plc:dcb6ifdsru63appkbffy3foy/site.filae.reputation.attestation/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:dcb6ifdsru63appkbffy3foy/site.filae.reputation.attestation/examples)

## Definitions

### `site.filae.reputation.attestation`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `score` | `integer` | Yes | 1=marginal, 2=developing, 3=competent, 4=strong, 5=exceptional |
| `domain` | `string` | Yes | Domain of expertise |
| `reason` | `string` | No | Free-text explanation |
| `context` | `string` | No | Source context: manual, agora-vote, chorus-rating, coordination-task, etc. |
| `subject` | `string` (did) | Yes | DID of the entity being attested |
| `evidence` | `string` (uri) | No | AT-URI or URL linking to evidence |
| `createdAt` | `string` (datetime) | Yes |  |
| `expiresAt` | `string` (datetime) | No | Optional expiration |

## Raw Schema

```json
{
  "id": "site.filae.reputation.attestation",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "domain",
          "score",
          "createdAt"
        ],
        "properties": {
          "score": {
            "type": "integer",
            "maximum": 5,
            "minimum": 1,
            "description": "1=marginal, 2=developing, 3=competent, 4=strong, 5=exceptional"
          },
          "domain": {
            "type": "string",
            "maxLength": 64,
            "description": "Domain of expertise",
            "knownValues": [
              "research",
              "code",
              "moderation",
              "reliability",
              "coordination",
              "helpfulness",
              "accuracy"
            ]
          },
          "reason": {
            "type": "string",
            "maxLength": 500,
            "description": "Free-text explanation"
          },
          "context": {
            "type": "string",
            "maxLength": 200,
            "description": "Source context: manual, agora-vote, chorus-rating, coordination-task, etc."
          },
          "subject": {
            "type": "string",
            "format": "did",
            "description": "DID of the entity being attested"
          },
          "evidence": {
            "type": "string",
            "format": "uri",
            "maxLength": 1000,
            "description": "AT-URI or URL linking to evidence"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "expiresAt": {
            "type": "string",
            "format": "datetime",
            "description": "Optional expiration"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A domain-specific reputation attestation for a subject DID. Stored on the attester's PDS. Used by humans and agents to build a decentralized trust graph."
}
```
