place.stream.segment

moderation.stream.place

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "audio": {
      "properties": {
        "channels": {
          "type": "integer"
        },
        "codec": {
          "enum": [
            "opus",
            "aac"
          ],
          "type": "string"
        },
        "rate": {
          "type": "integer"
        }
      },
      "required": [
        "codec",
        "rate",
        "channels"
      ],
      "type": "object"
    },
    "framerate": {
      "properties": {
        "den": {
          "type": "integer"
        },
        "num": {
          "type": "integer"
        }
      },
      "required": [
        "num",
        "den"
      ],
      "type": "object"
    },
    "main": {
      "description": "Media file representing a segment of a livestream",
      "key": "tid",
      "record": {
        "properties": {
          "audio": {
            "items": {
              "ref": "#audio",
              "type": "ref"
            },
            "type": "array"
          },
          "contentRights": {
            "ref": "place.stream.metadata.contentRights",
            "type": "ref"
          },
          "contentWarnings": {
            "ref": "place.stream.metadata.contentWarnings",
            "type": "ref"
          },
          "creator": {
            "format": "did",
            "type": "string"
          },
          "distributionPolicy": {
            "ref": "place.stream.metadata.distributionPolicy",
            "type": "ref"
          },
          "duration": {
            "description": "The duration of the segment in nanoseconds",
            "type": "integer"
          },
          "id": {
            "description": "Unique identifier for the segment",
            "type": "string"
          },
          "signingKey": {
            "description": "The DID of the signing key used for this segment",
            "type": "string"
          },
          "size": {
            "description": "The size of the segment in bytes",
            "type": "integer"
          },
          "startTime": {
            "description": "When this segment started",
            "format": "datetime",
            "type": "string"
          },
          "video": {
            "items": {
              "ref": "#video",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "signingKey",
          "startTime",
          "creator"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "segmentView": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "record": {
          "type": "unknown"
        }
      },
      "required": [
        "cid",
        "record"
      ],
      "type": "object"
    },
    "video": {
      "properties": {
        "bframes": {
          "type": "boolean"
        },
        "codec": {
          "enum": [
            "h264"
          ],
          "type": "string"
        },
        "framerate": {
          "ref": "#framerate",
          "type": "ref"
        },
        "height": {
          "type": "integer"
        },
        "width": {
          "type": "integer"
        }
      },
      "required": [
        "codec",
        "width",
        "height"
      ],
      "type": "object"
    }
  },
  "id": "place.stream.segment",
  "lexicon": 1
}

Validate Record

Validate a record against place.stream.segment

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:gqtagsooi75obldmytuow57q
CID
bafyreicl63iio5bncr5ijec3j5yppulmfvpvgezn6xjlqzdz5c5o6yzgmq
Indexed At
2026-08-20 16:30 UTC
AT-URI
at://did:plc:gqtagsooi75obldmytuow57q/com.atproto.lexicon.schema/place.stream.segment

Referenced Schemas (3)

  • place.stream.metadata.contentRights
  • place.stream.metadata.contentWarnings
  • place.stream.metadata.distributionPolicy

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • place.stream.media.defs not from the namespace authority

    A track backed by a MUXL container

  • Some audiovisual content.

  • place.stream.media.track recordnot from the namespace authority

    A track for a video stream, either part of the source or a custom additional track. One of: video, audio, subtitles.

  • place.stream.vod.draftVideo recordnot from the namespace authority

    A draft VOD: pre-publication video metadata and processing state. Modeled as a permissioned-data-style record (CBOR-serialized, addressed by an ats:// URI) stored in statedb until the permissioned-data spec ships (blues…

  • A video registered for inclusion in a consent-first dataset. Storage of the bytes is decoupled: this record only commits to a content hash and a pointer.

Lexicon Garden

@