# dev.cartridge.getClaim

> Published by [cartridge.dev](https://lexicon.garden/identity/did:plc:4mrwcmxk266itsdn33leqljq)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4mrwcmxk266itsdn33leqljq/dev.cartridge.getClaim)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4mrwcmxk266itsdn33leqljq/dev.cartridge.getClaim/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4mrwcmxk266itsdn33leqljq/dev.cartridge.getClaim/examples)

## Definitions

### `dev.cartridge.getClaim`

**Type**: `query`

Get details of an ownership claim.

#### Parameters

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

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `claim` | `ref` → `#claimView` | Yes |  |

### `dev.cartridge.getClaim#claimView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `org` | `string` (at-uri) | No |  |
| `uri` | `string` (at-uri) | Yes |  |
| `type` | `string` | Yes |  |
| `games` | `array` | No |  |
| `review` | `ref` → `#reviewView` | No |  |
| `contact` | `string` | No |  |
| `message` | `string` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `claimantDid` | `string` (did) | Yes |  |

### `dev.cartridge.getClaim#reviewView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes |  |
| `reason` | `string` | No |  |
| `status` | `string` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `reviewedBy` | `string` (did) | Yes |  |
| `approvedGames` | `array` | No |  |

## Raw Schema

```json
{
  "id": "dev.cartridge.getClaim",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "claim"
          ],
          "properties": {
            "claim": {
              "ref": "#claimView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "description": "Get details of an ownership claim."
    },
    "claimView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "type",
        "claimantDid",
        "createdAt"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "org": {
          "type": "string",
          "format": "at-uri"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "type": {
          "type": "string",
          "maxLength": 64,
          "knownValues": [
            "game",
            "org"
          ]
        },
        "games": {
          "type": "array",
          "items": {
            "ref": "games.gamesgamesgamesgames.defs#gameSummaryView",
            "type": "ref"
          }
        },
        "review": {
          "ref": "#reviewView",
          "type": "ref"
        },
        "contact": {
          "type": "string",
          "maxLength": 256
        },
        "message": {
          "type": "string",
          "maxLength": 3000
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "claimantDid": {
          "type": "string",
          "format": "did"
        }
      }
    },
    "reviewView": {
      "type": "object",
      "required": [
        "uri",
        "status",
        "reviewedBy",
        "createdAt"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "reason": {
          "type": "string",
          "maxLength": 3000
        },
        "status": {
          "type": "string",
          "maxLength": 64,
          "knownValues": [
            "approved",
            "denied"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "reviewedBy": {
          "type": "string",
          "format": "did"
        },
        "approvedGames": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "at-uri"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
