# place.stream.vod.defs

- Kind: defs
- Authority: vod.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.vod.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.vod.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.vod.defs/analytics)

## #commentView (`place.stream.vod.defs#commentView`)

Type: object

### Properties

- `author` (ref, required)
  - Reference: `app.bsky.actor.defs#profileViewBasic`
- `cid` (string · cid, required)
- `indexedAt` (string · datetime, required)
- `likeCount` (integer, required): Number of likes on this comment.
  - Constraints: minimum: 0
- `record` (unknown, required)
- `replyTo` (union): The parent comment this one replies to, if any. A non-recursive view (it carries no replyTo of its own), so the thread is flattened to a single hop; walk `record.reply` to follow the chain further.
  - One of: `#commentViewBasic`
- `uri` (string · at-uri, required)

## #commentViewBasic (`place.stream.vod.defs#commentViewBasic`)

Type: object

A comment view without its own `replyTo`, used to represent the parent of a reply without recursively nesting the whole thread.

### Properties

- `author` (ref, required)
  - Reference: `app.bsky.actor.defs#profileViewBasic`
- `cid` (string · cid, required)
- `indexedAt` (string · datetime, required)
- `likeCount` (integer, required): Number of likes on this comment.
  - Constraints: minimum: 0
- `record` (unknown, required)
- `uri` (string · at-uri, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "commentView": {
      "properties": {
        "author": {
          "ref": "app.bsky.actor.defs#profileViewBasic",
          "type": "ref"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "likeCount": {
          "description": "Number of likes on this comment.",
          "minimum": 0,
          "type": "integer"
        },
        "record": {
          "type": "unknown"
        },
        "replyTo": {
          "description": "The parent comment this one replies to, if any. A non-recursive view (it carries no replyTo of its own), so the thread is flattened to a single hop; walk `record.reply` to follow the chain further.",
          "refs": [
            "#commentViewBasic"
          ],
          "type": "union"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "record",
        "indexedAt",
        "likeCount"
      ],
      "type": "object"
    },
    "commentViewBasic": {
      "description": "A comment view without its own `replyTo`, used to represent the parent of a reply without recursively nesting the whole thread.",
      "properties": {
        "author": {
          "ref": "app.bsky.actor.defs#profileViewBasic",
          "type": "ref"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "likeCount": {
          "description": "Number of likes on this comment.",
          "minimum": 0,
          "type": "integer"
        },
        "record": {
          "type": "unknown"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "record",
        "indexedAt",
        "likeCount"
      ],
      "type": "object"
    }
  },
  "id": "place.stream.vod.defs",
  "lexicon": 1
}
```
