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