# games.gamesgamesgamesgames.contributionPatch

> 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.contributionPatch)
- [Documentation](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.contributionPatch/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.contributionPatch/examples)

## Definitions

### `games.gamesgamesgamesgames.contributionPatch`

**Type**: `record`

A mod-approved patch representing changes to apply to an entity. Created on mod approval, deleted when the entity owner accepts and merges.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `changes` | `unknown` | Yes | The approved changes to overlay on the entity. |
| `subject` | `string` (at-uri) | No | The entity these changes apply to. Absent for newGame contributions. |
| `createdAt` | `string` (datetime) | Yes |  |
| `contribution` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `contributionReview` | `ref` → `com.atproto.repo.strongRef` | Yes |  |

## Raw Schema

```json
{
  "id": "games.gamesgamesgamesgames.contributionPatch",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "contribution",
          "contributionReview",
          "changes",
          "createdAt"
        ],
        "properties": {
          "changes": {
            "type": "unknown",
            "description": "The approved changes to overlay on the entity."
          },
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "The entity these changes apply to. Absent for newGame contributions."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "contribution": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "contributionReview": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        }
      },
      "description": "A mod-approved patch representing changes to apply to an entity. Created on mod approval, deleted when the entity owner accepts and merges."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
