place.stream.segment

did:web:stream.place View official

{
  "id": "place.stream.segment",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "id",
          "signingKey",
          "startTime",
          "creator"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the segment"
          },
          "size": {
            "type": "integer",
            "description": "The size of the segment in bytes"
          },
          "audio": {
            "type": "array",
            "items": {
              "ref": "#audio",
              "type": "ref"
            }
          },
          "video": {
            "type": "array",
            "items": {
              "ref": "#video",
              "type": "ref"
            }
          },
          "creator": {
            "type": "string",
            "format": "did"
          },
          "duration": {
            "type": "integer",
            "description": "The duration of the segment in nanoseconds"
          },
          "startTime": {
            "type": "string",
            "format": "datetime",
            "description": "When this segment started"
          },
          "signingKey": {
            "type": "string",
            "description": "The DID of the signing key used for this segment"
          },
          "contentRights": {
            "ref": "place.stream.metadata.contentRights",
            "type": "ref"
          },
          "contentWarnings": {
            "ref": "place.stream.metadata.contentWarnings",
            "type": "ref"
          },
          "distributionPolicy": {
            "ref": "place.stream.metadata.distributionPolicy",
            "type": "ref"
          }
        }
      },
      "description": "Media file representing a segment of a livestream"
    },
    "audio": {
      "type": "object",
      "required": [
        "codec",
        "rate",
        "channels"
      ],
      "properties": {
        "rate": {
          "type": "integer"
        },
        "codec": {
          "enum": [
            "opus"
          ],
          "type": "string"
        },
        "channels": {
          "type": "integer"
        }
      }
    },
    "video": {
      "type": "object",
      "required": [
        "codec",
        "width",
        "height"
      ],
      "properties": {
        "codec": {
          "enum": [
            "h264"
          ],
          "type": "string"
        },
        "width": {
          "type": "integer"
        },
        "height": {
          "type": "integer"
        },
        "bframes": {
          "type": "boolean"
        },
        "framerate": {
          "ref": "#framerate",
          "type": "ref"
        }
      }
    },
    "framerate": {
      "type": "object",
      "required": [
        "num",
        "den"
      ],
      "properties": {
        "den": {
          "type": "integer"
        },
        "num": {
          "type": "integer"
        }
      }
    },
    "segmentView": {
      "type": "object",
      "required": [
        "cid",
        "record"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "record": {
          "type": "unknown"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "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:web:stream.place
CID
bafyreibutx3etjeyvtvpgs6uwxkizvjfrumxpqt63cflg6jyi5kwt5yf5a
Indexed At
2026-01-25 11:50 UTC
AT-URI
at://did:web:stream.place/com.atproto.lexicon.schema/place.stream.segment

Referenced Schemas (3)

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

Lexicon Garden

@