# dev.herisson.test.trust.grade

> Published by [herisson.dev](https://lexicon.garden/identity/did:plc:kxx74oyie4dx3apzmmd624at)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:kxx74oyie4dx3apzmmd624at/dev.herisson.test.trust.grade)
- [Documentation](https://lexicon.garden/lexicon/did:plc:kxx74oyie4dx3apzmmd624at/dev.herisson.test.trust.grade/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:kxx74oyie4dx3apzmmd624at/dev.herisson.test.trust.grade/examples)

## Definitions

### `dev.herisson.test.trust.grade`

**Type**: `record`

Record declaring a 'grade of trust' a user has for a given identity

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `grade` | `integer` | Yes | The reputation the account is give. 0 means no trust at all, 100 means complete trust. |
| `comment` | `string` | No | Optional context for the trust grade. |
| `subject` | `string` (did) | Yes | The account that is being graded. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "dev.herisson.test.trust.grade",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "createdAt",
          "grade"
        ],
        "properties": {
          "grade": {
            "type": "integer",
            "maximum": 100,
            "minimum": 0,
            "description": "The reputation the account is give. 0 means no trust at all, 100 means complete trust."
          },
          "comment": {
            "type": "string",
            "maxLength": 1000,
            "description": "Optional context for the trust grade."
          },
          "subject": {
            "type": "string",
            "format": "did",
            "description": "The account that is being graded."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Record declaring a 'grade of trust' a user has for a given identity"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
