# org.anthers.creditAcceptance

> Published by [anthers.org](https://lexicon.garden/identity/did:plc:75xx6l27mt7a3uxoga5ka4qt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:75xx6l27mt7a3uxoga5ka4qt/org.anthers.creditAcceptance)
- [Documentation](https://lexicon.garden/lexicon/did:plc:75xx6l27mt7a3uxoga5ka4qt/org.anthers.creditAcceptance/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:75xx6l27mt7a3uxoga5ka4qt/org.anthers.creditAcceptance/examples)

## Definitions

### `org.anthers.creditAcceptance`

**Type**: `record`

A credited person's acceptance that they contributed to a work. It lives in the contributor's own repository, and is written only when the person Anthers names as a contributor agrees to be named there.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `acceptedAt` | `string` (datetime) | Yes | When the contributor accepted the credit. |
| `role` | `string` | Yes | What the credited person agrees they did, as the creator asserted it. Echoes the credit's own `role`, so its limits match (`role` on a credit is 120 graphemes) — a longer credit role could not be accepted at all if this were shorter. |
| `work` | `string` (at-uri) | Yes | The address of the work listing this person is accepting credit for. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A credited person's acceptance that they contributed to a work. It lives in the contributor's own repository, and is written only when the person Anthers names as a contributor agrees to be named there.",
      "key": "tid",
      "record": {
        "properties": {
          "acceptedAt": {
            "description": "When the contributor accepted the credit.",
            "format": "datetime",
            "type": "string"
          },
          "role": {
            "description": "What the credited person agrees they did, as the creator asserted it. Echoes the credit's own `role`, so its limits match (`role` on a credit is 120 graphemes) — a longer credit role could not be accepted at all if this were shorter.",
            "maxGraphemes": 120,
            "maxLength": 1200,
            "type": "string"
          },
          "work": {
            "description": "The address of the work listing this person is accepting credit for.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "work",
          "role",
          "acceptedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.anthers.creditAcceptance",
  "lexicon": 1
}
```
