{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cayra-io/json-schema/cayra-io-plaud-webhook-payload-schema.json",
  "title": "PlaudWebhookPayload",
  "description": "Fields Zapier maps from the Plaud \"Transcript & Summary Ready\" trigger.\n\nRequired:\n    user_email   – Cayra account email so we can route to the right VM.\n    transcript   – Full transcript text.\n\nOptional (all may be absent depending on Zapier field mapping):\n    summary      – AI summary generated by Plaud.\n    title        – Recording title / file name.\n    duration     – Recording duration in seconds.\n    created_at   – ISO-8601 timestamp when recording was made.\n    file_id      – Plaud file ID (for de-duplication).\n    language     – Detected language code (e.g. \"en\", \"tr\").",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cayra-io-openapi.json#/components/schemas/PlaudWebhookPayload",
  "properties": {
    "user_email": {
      "type": "string",
      "title": "User Email",
      "description": "Cayra account email (used to route to VM)"
    },
    "transcript": {
      "type": "string",
      "title": "Transcript",
      "description": "Full transcript text from Plaud"
    },
    "summary": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary",
      "description": "AI summary from Plaud"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "description": "Recording title"
    },
    "duration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration",
      "description": "Duration in seconds"
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At",
      "description": "Recording ISO-8601 timestamp"
    },
    "file_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "File Id",
      "description": "Plaud file ID"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Language",
      "description": "Detected language code"
    }
  },
  "type": "object",
  "required": [
    "user_email",
    "transcript"
  ]
}