{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SnippetObject",
  "title": "SnippetObject",
  "type": "object",
  "required": [
    "id",
    "text",
    "personName",
    "personEmail",
    "offsetMillisecond",
    "durationMillisecond"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "195d64646ad14be2924ea50f541fd91d_00001",
      "description": "A unique identifier for the snippet."
    },
    "text": {
      "type": "string",
      "example": "Hello everyone",
      "description": "Text for the snippet."
    },
    "personName": {
      "type": "string",
      "example": "John Andersen",
      "description": "Name of the person generating the speech for the snippet."
    },
    "personEmail": {
      "type": "string",
      "example": "john.andersen@example.com",
      "description": "Email address of the person generating the speech for the snippet."
    },
    "offsetMillisecond": {
      "type": "number",
      "example": 1000,
      "description": "Offset from the beginning of the parent transcript in milliseconds indicating the start time of the snippet."
    },
    "durationMillisecond": {
      "type": "number",
      "example": 2000,
      "description": "Duration of the snippet in milliseconds."
    }
  }
}