# games.gamesgamesgamesgames.createContribution

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

## Definitions

### `games.gamesgamesgamesgames.createContribution`

**Type**: `procedure`

Submit a new community contribution proposing changes to an entity or a new game.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `rkey` | `string` | No | Optional record key. When provided, the contribution is created with this rkey instead of an auto-generated one. |
| `changes` | `unknown` | Yes | A partial object with only changed fields. |
| `message` | `string` | No |  |
| `subject` | `string` (at-uri) | No | The entity being modified. Required for corrections and additions. |
| `contributionType` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes |  |

## Raw Schema

```json
{
  "id": "games.gamesgamesgamesgames.createContribution",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "contributionType",
            "changes"
          ],
          "properties": {
            "rkey": {
              "type": "string",
              "description": "Optional record key. When provided, the contribution is created with this rkey instead of an auto-generated one."
            },
            "changes": {
              "type": "unknown",
              "description": "A partial object with only changed fields."
            },
            "message": {
              "type": "string",
              "maxGraphemes": 3000
            },
            "subject": {
              "type": "string",
              "format": "at-uri",
              "description": "The entity being modified. Required for corrections and additions."
            },
            "contributionType": {
              "type": "string",
              "knownValues": [
                "correction",
                "addition",
                "newGame"
              ]
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Submit a new community contribution proposing changes to an entity or a new game."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
