# org.tangled.actor.profile

> A declaration of a Tangled account profile.

- Kind: record
- Record key: literal:self
- 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.profile)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.actor.profile/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.actor.profile/analytics)

## Record (`org.tangled.actor.profile`)

Type: record · key literal:self

### Properties

- `avatar` (blob): Small image to be displayed next to posts from account. AKA, 'profile picture'
  - Constraints: maxSize: 1000000, accept: image/png, image/jpeg
- `description` (string): Free-form profile description text.
  - Constraints: maxLength: 2560, maxGraphemes: 256
- `isOrganization` (boolean)
- `labels` (ref): Self-label values for this record. Most common use-case is 'bot'.
  - Reference: `com.atproto.label.defs#selfLabels`
- `links` (array)
  - Constraints: maxLength: 5
  - `items` (string · uri): Any URI, intended for social profiles or websites, can be used to link DIDs/AT-URIs too.
- `location` (string): Free-form location text.
  - Constraints: maxLength: 400, maxGraphemes: 40
- `pinnedRepositories` (array): Pinned repositories. Values are repo DIDs for repos that have them, or AT-URIs for legacy repos.
  - Constraints: maxLength: 6
  - `items` (string · did)
- `preferredHandle` (string · handle): A handle the user prefers to be displayed as.
- `pronouns` (string): Preferred gender pronouns.
  - Constraints: maxLength: 200, maxGraphemes: 20
- `stats` (array)
  - Constraints: maxLength: 2
  - `items` (string): Vanity stats.
    - Constraints: knownValues: merged-pull-request-count | closed-pull-request-count | open-pull-request-count | open-issue-count | closed-issue-count | repository-count | star-count

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A declaration of a Tangled account profile.",
      "key": "literal:self",
      "record": {
        "properties": {
          "avatar": {
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "description": "Small image to be displayed next to posts from account. AKA, 'profile picture'",
            "maxSize": 1000000,
            "type": "blob"
          },
          "description": {
            "description": "Free-form profile description text.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "isOrganization": {
            "type": "boolean"
          },
          "labels": {
            "description": "Self-label values for this record. Most common use-case is 'bot'.",
            "ref": "com.atproto.label.defs#selfLabels",
            "type": "ref"
          },
          "links": {
            "items": {
              "description": "Any URI, intended for social profiles or websites, can be used to link DIDs/AT-URIs too.",
              "format": "uri",
              "type": "string"
            },
            "maxLength": 5,
            "type": "array"
          },
          "location": {
            "description": "Free-form location text.",
            "maxGraphemes": 40,
            "maxLength": 400,
            "type": "string"
          },
          "pinnedRepositories": {
            "description": "Pinned repositories. Values are repo DIDs for repos that have them, or AT-URIs for legacy repos.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 6,
            "type": "array"
          },
          "preferredHandle": {
            "description": "A handle the user prefers to be displayed as.",
            "format": "handle",
            "type": "string"
          },
          "pronouns": {
            "description": "Preferred gender pronouns.",
            "maxGraphemes": 20,
            "maxLength": 200,
            "type": "string"
          },
          "stats": {
            "items": {
              "description": "Vanity stats.",
              "knownValues": [
                "merged-pull-request-count",
                "closed-pull-request-count",
                "open-pull-request-count",
                "open-issue-count",
                "closed-issue-count",
                "repository-count",
                "star-count"
              ],
              "type": "string"
            },
            "maxLength": 2,
            "type": "array"
          }
        },
        "required": [],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.tangled.actor.profile",
  "lexicon": 1
}
```
