# work.nectvia.social.endorsement

> Published by [nectvia.work](https://lexicon.garden/identity/did:plc:ucrev6edxzgglnhg2eaoj2ck)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ucrev6edxzgglnhg2eaoj2ck/work.nectvia.social.endorsement)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ucrev6edxzgglnhg2eaoj2ck/work.nectvia.social.endorsement/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ucrev6edxzgglnhg2eaoj2ck/work.nectvia.social.endorsement/examples)

## Definitions

### `work.nectvia.social.endorsement`

**Type**: `record`

An endorsement of a skill that the repo owner RECEIVED from another person. The repo owner is the endorsee (their identity is the repo's own DID); the endorser is referenced by DID when they are a known AT Protocol identity, else by their plain display name. At least one of endorserDid/endorserName is expected to be present -- enforced by the record builder, not this lexicon.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this record was created. |
| `endorserDid` | `string` (did) | No | DID of the person who gave the endorsement, when they are a known AT Protocol identity. |
| `endorserName` | `string` | No | Display name of the person who gave the endorsement, when their DID is not known. |
| `skillName` | `string` | Yes | Name of the skill that was endorsed. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An endorsement of a skill that the repo owner RECEIVED from another person. The repo owner is the endorsee (their identity is the repo's own DID); the endorser is referenced by DID when they are a known AT Protocol identity, else by their plain display name. At least one of endorserDid/endorserName is expected to be present -- enforced by the record builder, not this lexicon.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when this record was created.",
            "format": "datetime",
            "type": "string"
          },
          "endorserDid": {
            "description": "DID of the person who gave the endorsement, when they are a known AT Protocol identity.",
            "format": "did",
            "type": "string"
          },
          "endorserName": {
            "description": "Display name of the person who gave the endorsement, when their DID is not known.",
            "maxLength": 500,
            "type": "string"
          },
          "skillName": {
            "description": "Name of the skill that was endorsed.",
            "maxLength": 500,
            "type": "string"
          }
        },
        "required": [
          "skillName",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "work.nectvia.social.endorsement",
  "lexicon": 1
}
```
