{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/conveo-ai/json-schema/conveo-ai-interview-schema.json",
  "title": "Interview",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/conveo-ai-openapi.yml#/components/schemas/Interview",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "participant": {
      "type": [
        "object",
        "null"
      ],
      "description": "Participant identity when available. The display name uses first name and last initial.",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "facets": {
      "type": "array",
      "description": "List of facets associated with the interview",
      "items": {
        "$ref": "#/$defs/Facet"
      }
    },
    "videoDownloadURL": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Temporary URL to download the stored interview video; null if storage details are unavailable or URL generation fails. The URL expires after 15 minutes. Request the interview again for a fresh URL."
    },
    "transcriptAsWebVTT": {
      "type": [
        "string",
        "null"
      ],
      "description": "Participant-response messages in WebVTT format, using original message text. Interviewer questions are not included. Null when no response messages are available. Missing timings can produce zero or equal start and end times."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "Facet": {
      "type": "object",
      "description": "A facet representing a labeled set of values",
      "properties": {
        "label": {
          "type": "string",
          "description": "The label or name of the facet"
        },
        "values": {
          "type": "array",
          "description": "List of values associated with this facet",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "label",
        "values"
      ]
    }
  }
}