# org.tangled.actor.defs

- Kind: defs
- Authority: actor.tangled.org
- Lexicon: 1
- Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.actor.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.actor.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.actor.defs/analytics)

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

Type: object

### Properties

- `avatar` (string · uri)
- `avatarCid` (string · cid): 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, required)
- `handle` (string · handle, required)
- `viewer` (ref)
  - Reference: `#viewerState`

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

Type: object

profileViewBasic + follow counts

### Properties

- `avatar` (string · uri)
- `avatarCid` (string · cid): 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, required)
- `followersCount` (integer)
- `followsCount` (integer)
- `handle` (string · handle, required)
- `viewer` (ref)
  - Reference: `#viewerState`

## #viewerState (`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.

### Properties

- `followedBy` (string · at-uri)
- `following` (string · at-uri)

## 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
}
```
