# games.gamesgamesgamesgames.migrateClaim

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

## Definitions

### `games.gamesgamesgamesgames.migrateClaim`

**Type**: `procedure`

Execute migration of game records based on an approved claim.

#### Input

**Encoding**: `application/json`

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

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `results` | `array` | Yes |  |

### `games.gamesgamesgamesgames.migrateClaim#migrationResult`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `error` | `string` | No |  |
| `newUri` | `string` (at-uri) | No |  |
| `status` | `string` | Yes |  |
| `gameUri` | `string` (at-uri) | Yes |  |

## Raw Schema

```json
{
  "id": "games.gamesgamesgamesgames.migrateClaim",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "claim",
            "claimReview"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "format": "at-uri"
            },
            "claimReview": {
              "type": "string",
              "format": "at-uri"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "results"
          ],
          "properties": {
            "results": {
              "type": "array",
              "items": {
                "ref": "#migrationResult",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Execute migration of game records based on an approved claim."
    },
    "migrationResult": {
      "type": "object",
      "required": [
        "gameUri",
        "status"
      ],
      "properties": {
        "error": {
          "type": "string"
        },
        "newUri": {
          "type": "string",
          "format": "at-uri"
        },
        "status": {
          "type": "string",
          "knownValues": [
            "success",
            "failed",
            "skipped"
          ]
        },
        "gameUri": {
          "type": "string",
          "format": "at-uri"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
