# org.tangled.actor.defs

> Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.actor.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.actor.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.actor.defs/examples)

## Definitions

### `org.tangled.actor.defs#profileViewBasic`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `avatar` | `string` (uri) | No |  |
| `avatarCid` | `string` (cid) | No | The cid of the avatar blob in the account's profile record. Absent when the record has no avatar or bobbin couldn't read it. |
| `did` | `string` (did) | Yes |  |
| `handle` | `string` (handle) | Yes |  |
| `viewer` | `ref` → `#viewerState` | No |  |

### `org.tangled.actor.defs#profileViewDetailed`

**Type**: `object`

profileViewBasic + follow counts

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `avatar` | `string` (uri) | No |  |
| `avatarCid` | `string` (cid) | No | The cid of the avatar blob in the account's profile record. Absent when the record has no avatar or bobbin couldn't read it. |
| `did` | `string` (did) | Yes |  |
| `followersCount` | `integer` | No |  |
| `followsCount` | `integer` | No |  |
| `handle` | `string` (handle) | Yes |  |
| `viewer` | `ref` → `#viewerState` | No |  |

### `org.tangled.actor.defs#viewerState`

**Type**: `object`

Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `followedBy` | `string` (at-uri) | No |  |
| `following` | `string` (at-uri) | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "profileViewBasic": {
      "properties": {
        "avatar": {
          "format": "uri",
          "type": "string"
        },
        "avatarCid": {
          "description": "The cid of the avatar blob in the account's profile record. Absent when the record has no avatar or bobbin couldn't read it.",
          "format": "cid",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "viewer": {
          "ref": "#viewerState",
          "type": "ref"
        }
      },
      "required": [
        "did",
        "handle"
      ],
      "type": "object"
    },
    "profileViewDetailed": {
      "description": "profileViewBasic + follow counts",
      "properties": {
        "avatar": {
          "format": "uri",
          "type": "string"
        },
        "avatarCid": {
          "description": "The cid of the avatar blob in the account's profile record. Absent when the record has no avatar or bobbin couldn't read it.",
          "format": "cid",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "followersCount": {
          "type": "integer"
        },
        "followsCount": {
          "type": "integer"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "viewer": {
          "ref": "#viewerState",
          "type": "ref"
        }
      },
      "required": [
        "did",
        "handle"
      ],
      "type": "object"
    },
    "viewerState": {
      "description": "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.",
      "properties": {
        "followedBy": {
          "format": "at-uri",
          "type": "string"
        },
        "following": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "org.tangled.actor.defs",
  "lexicon": 1
}
```
