{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vidnotes-app/json-schema/vidnotes-app-moment-response-schema.json",
  "title": "MomentResponse",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vidnotes-app-openapi.json#/components/schemas/MomentResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "projectId": {
      "type": "string",
      "title": "Projectid"
    },
    "type": {
      "type": "string",
      "enum": [
        "quote",
        "idea",
        "action",
        "highlight"
      ],
      "title": "Type"
    },
    "origin": {
      "type": "string",
      "enum": [
        "transcriptSegment",
        "keyPoint",
        "summaryInsight",
        "actionItem",
        "aiQuote"
      ],
      "title": "Origin"
    },
    "provenance": {
      "type": "string",
      "enum": [
        "verbatim",
        "aiGenerated"
      ],
      "title": "Provenance"
    },
    "text": {
      "type": "string",
      "title": "Text"
    },
    "language": {
      "type": "string",
      "title": "Language"
    },
    "translatedText": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Translatedtext"
    },
    "startTime": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Starttime"
    },
    "endTime": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Endtime"
    },
    "sourceFingerprint": {
      "type": "string",
      "title": "Sourcefingerprint"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags"
    },
    "collectionId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Collectionid"
    },
    "createdAt": {
      "type": "number",
      "title": "Createdat"
    },
    "updatedAt": {
      "type": "number",
      "title": "Updatedat"
    },
    "deletedAt": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deletedat"
    }
  },
  "type": "object",
  "required": [
    "id",
    "projectId",
    "type",
    "origin",
    "provenance",
    "text",
    "language",
    "sourceFingerprint",
    "createdAt",
    "updatedAt"
  ]
}