# com.atiproto.profile

> Published by [atiproto.com](https://lexicon.garden/identity/did:plc:4x5dcv6u4wlkjcssto7f22nu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.profile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.profile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.profile/examples)

## Definitions

### `com.atiproto.profile`

**Type**: `record`

A record representing a user's tipping/subscription settings

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes | Creation timestamp |
| `updatedAt` | `string` (datetime) | No | Last update timestamp |
| `acceptsItems` | `boolean` | No | Whether user accepts items (default: true) |
| `acceptsSubscriptions` | `boolean` | No | Whether user accepts subscriptions (default: true) |
| `disableReceiptNotifications` | `boolean` | No | Opt out of payment receipt DMs (default: false) |

### `com.atiproto.profile#view`

**Type**: `object`

View of a user's profile settings for use in API responses

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | AT-URI of the profile record |
| `createdAt` | `string` (datetime) | Yes | Creation timestamp |
| `updatedAt` | `string` (datetime) | No | Last update timestamp |
| `acceptsItems` | `boolean` | No | Whether user accepts items (default: true) |
| `acceptsSubscriptions` | `boolean` | No | Whether user accepts subscriptions (default: true) |
| `disableReceiptNotifications` | `boolean` | No | Opt out of payment receipt DMs (default: false) |

## Raw Schema

```json
{
  "id": "com.atiproto.profile",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "createdAt"
        ],
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Creation timestamp"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Last update timestamp"
          },
          "acceptsItems": {
            "type": "boolean",
            "description": "Whether user accepts items (default: true)"
          },
          "acceptsSubscriptions": {
            "type": "boolean",
            "description": "Whether user accepts subscriptions (default: true)"
          },
          "disableReceiptNotifications": {
            "type": "boolean",
            "description": "Opt out of payment receipt DMs (default: false)"
          }
        }
      },
      "description": "A record representing a user's tipping/subscription settings"
    },
    "view": {
      "type": "object",
      "required": [
        "uri",
        "createdAt"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the profile record"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "Creation timestamp"
        },
        "updatedAt": {
          "type": "string",
          "format": "datetime",
          "description": "Last update timestamp"
        },
        "acceptsItems": {
          "type": "boolean",
          "description": "Whether user accepts items (default: true)"
        },
        "acceptsSubscriptions": {
          "type": "boolean",
          "description": "Whether user accepts subscriptions (default: true)"
        },
        "disableReceiptNotifications": {
          "type": "boolean",
          "description": "Opt out of payment receipt DMs (default: false)"
        }
      },
      "description": "View of a user's profile settings for use in API responses"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
