# games.gamesgamesgamesgames.actor.credit

> Published by [gamesgamesgamesgames.games](https://lexicon.garden/identity/did:web:gamesgamesgamesgames.games)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.credit)
- [Documentation](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.credit/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.credit/examples)

## Definitions

### `games.gamesgamesgamesgames.actor.credit`

**Type**: `record`

A relationship between a game and a profile.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `game` | `ref` → `com.atproto.repo.strongRef` | Yes | The game to which this profile is being credited. |
| `actor` | `ref` → `com.atproto.repo.strongRef` | No |  |
| `credits` | `array` | Yes | The roles this profile played in the creation of the game. |
| `displayName` | `string` | No | The name to be used if there is no profile associated with this credit, or the profile is inaccessible. |

## Raw Schema

```json
{
  "id": "games.gamesgamesgamesgames.actor.credit",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "game",
          "credits"
        ],
        "properties": {
          "game": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The game to which this profile is being credited."
          },
          "actor": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "credits": {
            "type": "array",
            "items": {
              "ref": "games.gamesgamesgamesgames.defs#creditEntry",
              "type": "ref"
            },
            "description": "The roles this profile played in the creation of the game."
          },
          "displayName": {
            "type": "string",
            "maxLength": 640,
            "description": "The name to be used if there is no profile associated with this credit, or the profile is inaccessible."
          }
        }
      },
      "description": "A relationship between a game and a profile."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
