# cafe.dummy.lsky.defs

> Published by [lsky-publisher.dummy.to](https://lexicon.garden/identity/did:plc:yuilafccwsaj7a4qkkzhttdn)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:yuilafccwsaj7a4qkkzhttdn/cafe.dummy.lsky.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:yuilafccwsaj7a4qkkzhttdn/cafe.dummy.lsky.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:yuilafccwsaj7a4qkkzhttdn/cafe.dummy.lsky.defs/examples)

## Definitions

### `cafe.dummy.lsky.defs#likeView`

**Type**: `object`

A like on a post, showing the liker's emoji.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `emoji` | `string` | Yes |  |

### `cafe.dummy.lsky.defs#postView`

**Type**: `object`

Hydrated view of a post, used in feed and profile responses.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `type` | `string` | Yes |  |
| `likes` | `array` | No |  |
| `author` | `ref` → `#personView` | Yes |  |
| `facets` | `array` | No |  |
| `content` | `string` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `followupChain` | `array` | No | Parent posts in the followup chain, from root to direct parent. |

### `cafe.dummy.lsky.defs#personView`

**Type**: `object`

Compact view of a person, used as author in post views and search results.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `emoji` | `string` | No |  |
| `handle` | `string` | Yes |  |
| `pronouns` | `string` | No |  |
| `avatarUrl` | `string` | No | Fully resolved URL to the avatar image. |
| `displayName` | `string` | No |  |

### `cafe.dummy.lsky.defs#profileView`

**Type**: `object`

Full profile view of a person, including bio and banner.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `bio` | `string` | No |  |
| `did` | `string` (did) | Yes |  |
| `emoji` | `string` | No |  |
| `handle` | `string` | Yes |  |
| `pronouns` | `string` | No |  |
| `avatarUrl` | `string` | No |  |
| `bannerUrl` | `string` | No |  |
| `displayName` | `string` | No |  |
| `isFollowing` | `boolean` | No | Whether the authenticated user follows this person. Only present when authenticated. |

## Raw Schema

```json
{
  "id": "cafe.dummy.lsky.defs",
  "defs": {
    "likeView": {
      "type": "object",
      "required": [
        "emoji"
      ],
      "properties": {
        "emoji": {
          "type": "string"
        }
      },
      "description": "A like on a post, showing the liker's emoji."
    },
    "postView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "author",
        "type",
        "content",
        "createdAt"
      ],
      "properties": {
        "cid": {
          "type": "string"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "type": {
          "type": "string",
          "knownValues": [
            "post",
            "chirp"
          ]
        },
        "likes": {
          "type": "array",
          "items": {
            "ref": "#likeView",
            "type": "ref"
          }
        },
        "author": {
          "ref": "#personView",
          "type": "ref"
        },
        "facets": {
          "type": "array",
          "items": {
            "refs": [
              "cafe.dummy.lsky.facet#annotation",
              "cafe.dummy.lsky.facet#insert"
            ],
            "type": "union"
          }
        },
        "content": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "followupChain": {
          "type": "array",
          "items": {
            "ref": "#postView",
            "type": "ref"
          },
          "description": "Parent posts in the followup chain, from root to direct parent."
        }
      },
      "description": "Hydrated view of a post, used in feed and profile responses."
    },
    "personView": {
      "type": "object",
      "required": [
        "did",
        "handle"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "emoji": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        },
        "pronouns": {
          "type": "string"
        },
        "avatarUrl": {
          "type": "string",
          "description": "Fully resolved URL to the avatar image."
        },
        "displayName": {
          "type": "string"
        }
      },
      "description": "Compact view of a person, used as author in post views and search results."
    },
    "profileView": {
      "type": "object",
      "required": [
        "did",
        "handle"
      ],
      "properties": {
        "bio": {
          "type": "string"
        },
        "did": {
          "type": "string",
          "format": "did"
        },
        "emoji": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        },
        "pronouns": {
          "type": "string"
        },
        "avatarUrl": {
          "type": "string"
        },
        "bannerUrl": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "isFollowing": {
          "type": "boolean",
          "description": "Whether the authenticated user follows this person. Only present when authenticated."
        }
      },
      "description": "Full profile view of a person, including bio and banner."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
