# is.currents.actor.defs

> Published by [currents.is](https://lexicon.garden/identity/did:plc:jaur46k6ijyfvl4lojza7eic)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jaur46k6ijyfvl4lojza7eic/is.currents.actor.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jaur46k6ijyfvl4lojza7eic/is.currents.actor.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jaur46k6ijyfvl4lojza7eic/is.currents.actor.defs/examples)

## Definitions

### `is.currents.actor.defs#profileView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `avatar` | `string` (uri) | No | CDN URL of the actor's avatar image. |
| `handle` | `string` (handle) | Yes |  |
| `viewer` | `ref` → `#profileViewerState` | No | Viewer-specific state. Only present when the request is authenticated. |
| `displayName` | `string` | No |  |

### `is.currents.actor.defs#profileViewerState`

**Type**: `object`

Metadata about the requesting account's relationship with the actor. Only present when the request is authenticated.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `following` | `string` (at-uri) | No | AT-URI of the follow record if the viewer follows this actor. |
| `followedBy` | `string` (at-uri) | No | AT-URI of the follow record if this actor follows the viewer. |

## Raw Schema

```json
{
  "id": "is.currents.actor.defs",
  "defs": {
    "profileView": {
      "type": "object",
      "required": [
        "did",
        "handle"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "avatar": {
          "type": "string",
          "format": "uri",
          "description": "CDN URL of the actor's avatar image."
        },
        "handle": {
          "type": "string",
          "format": "handle"
        },
        "viewer": {
          "ref": "#profileViewerState",
          "type": "ref",
          "description": "Viewer-specific state. Only present when the request is authenticated."
        },
        "displayName": {
          "type": "string",
          "maxLength": 640,
          "maxGraphemes": 64
        }
      }
    },
    "profileViewerState": {
      "type": "object",
      "properties": {
        "following": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the follow record if the viewer follows this actor."
        },
        "followedBy": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the follow record if this actor follows the viewer."
        }
      },
      "description": "Metadata about the requesting account's relationship with the actor. Only present when the request is authenticated."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
