Skip to content

VideoMomentDto

Endpoints · All schemas

FieldRequiredDescription
captionYesstring
createdAtYesstring
endMsYesinteger
frameIdYesstring
idYesstring
sourceYesSee definition below
staleReasonYesSee definition below
timestampMsYesinteger
transcriptYesTyped by the owner; never generated
updatedAtYesstring

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

Field definitions: VideoMomentSource, EnrichmentStaleReason

{
  "properties": {
    "caption": {
      "nullable": true,
      "type": "string"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string"
    },
    "endMs": {
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "nullable": true,
      "type": "integer"
    },
    "frameId": {
      "format": "uuid",
      "nullable": true,
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    },
    "source": {
      "$ref": "#/components/schemas/VideoMomentSource"
    },
    "staleReason": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EnrichmentStaleReason"
        }
      ],
      "nullable": true
    },
    "timestampMs": {
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "transcript": {
      "description": "Typed by the owner; never generated",
      "nullable": true,
      "type": "string"
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "caption",
    "createdAt",
    "endMs",
    "frameId",
    "id",
    "source",
    "staleReason",
    "timestampMs",
    "transcript",
    "updatedAt"
  ],
  "type": "object"
}