# place.stream.video

> Some audiovisual content.

- Kind: record
- Record key: tid
- Authority: 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.video)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.video/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.video/analytics)

## Record (`place.stream.video`)

Type: record · key tid

### Properties

- `activity` (union): The game or activity in the video.
  - One of: `place.stream.defs#activityGame`, `place.stream.defs#activityLabel`
- `connections` (array): Free-form list of atproto records related in some way to this video
  - `items` (union)
    - One of: `#connection`
- `contentRights` (ref): copyright and licensing information for this VOD
  - Reference: `place.stream.metadata.contentRights`
- `contentWarnings` (ref): content warning data for this VOD
  - Reference: `place.stream.metadata.contentWarnings`
- `createdAt` (string · datetime, required): Timestamp when this video record was created. Populated server-side at publication time by place.stream.media.publishVideo.
- `description` (string): Description of this video
  - Constraints: maxLength: 50000, maxGraphemes: 5000
- `descriptionFacets` (array): Annotations of text (mentions, URLs, etc)
  - `items` (ref)
    - Reference: `place.stream.richtext.videoFacet`
- `durationMs` (integer, required): Duration of the video in milliseconds
- `source` (union, required): What is the source of this video?
  - One of: `place.stream.media.defs#sourceTracks`, `place.stream.media.defs#sourceClip`
- `tags` (array): Freeform tags for this stream. Each tag must be alphanumeric (a-z, A-Z, 0-9) plus colon. Tags with colons indicate a specific tag group (e.g. 'lang:en' indicates the stream's primary language).
  - Constraints: maxLength: 10
  - `items` (string)
    - Constraints: maxLength: 640, maxGraphemes: 64
- `thumb` (blob): Thumbnail image for the video.
  - Constraints: maxSize: 1000000, accept: image/*
- `title` (string, required): Title of the video referenced by this record
  - Constraints: maxLength: 1400, maxGraphemes: 140

## #connection (`place.stream.video#connection`)

Type: object

### Properties

- `ref` (ref)
  - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "connection": {
      "properties": {
        "ref": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "Some audiovisual content.",
      "key": "tid",
      "record": {
        "properties": {
          "activity": {
            "description": "The game or activity in the video.",
            "refs": [
              "place.stream.defs#activityGame",
              "place.stream.defs#activityLabel"
            ],
            "type": "union"
          },
          "connections": {
            "description": "Free-form list of atproto records related in some way to this video",
            "items": {
              "refs": [
                "#connection"
              ],
              "type": "union"
            },
            "type": "array"
          },
          "contentRights": {
            "description": "copyright and licensing information for this VOD",
            "ref": "place.stream.metadata.contentRights",
            "type": "ref"
          },
          "contentWarnings": {
            "description": "content warning data for this VOD",
            "ref": "place.stream.metadata.contentWarnings",
            "type": "ref"
          },
          "createdAt": {
            "description": "Timestamp when this video record was created. Populated server-side at publication time by place.stream.media.publishVideo.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Description of this video",
            "maxGraphemes": 5000,
            "maxLength": 50000,
            "type": "string"
          },
          "descriptionFacets": {
            "description": "Annotations of text (mentions, URLs, etc)",
            "items": {
              "ref": "place.stream.richtext.videoFacet",
              "type": "ref"
            },
            "type": "array"
          },
          "durationMs": {
            "description": "Duration of the video in milliseconds",
            "type": "integer"
          },
          "source": {
            "description": "What is the source of this video?",
            "refs": [
              "place.stream.media.defs#sourceTracks",
              "place.stream.media.defs#sourceClip"
            ],
            "type": "union"
          },
          "tags": {
            "description": "Freeform tags for this stream. Each tag must be alphanumeric (a-z, A-Z, 0-9) plus colon. Tags with colons indicate a specific tag group (e.g. 'lang:en' indicates the stream's primary language).",
            "items": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "thumb": {
            "accept": [
              "image/*"
            ],
            "description": "Thumbnail image for the video.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "title": {
            "description": "Title of the video referenced by this record",
            "maxGraphemes": 140,
            "maxLength": 1400,
            "type": "string"
          }
        },
        "required": [
          "title",
          "source",
          "durationMs",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.stream.video",
  "lexicon": 1
}
```
