{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-call-empower-schema.json",
  "title": "callEmpower",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-openapi.yml#/components/schemas/callEmpower",
  "type": "object",
  "properties": {
    "call_uuid": {
      "type": "string",
      "format": "uuid"
    },
    "call_id": {
      "type": "string"
    },
    "channel_id": {
      "type": "string"
    },
    "external_id": {
      "type": "string"
    },
    "audio_url": {
      "type": "string",
      "description": "CDN URL of the call recording. This URL cannot be opened with a public API token. Download the file with `POST /cdn/download`.\n"
    },
    "video_url": {
      "type": "string",
      "description": "CDN URL of the call video, when present. This URL cannot be opened with a public API token. Download the file with `POST /cdn/download`.\n"
    },
    "audio_duration": {
      "type": "number",
      "format": "double"
    },
    "call_direction": {
      "type": "string"
    },
    "call_source": {
      "type": "string"
    },
    "favorite": {
      "type": "boolean"
    },
    "title": {
      "type": "string"
    },
    "call_date": {
      "type": "string",
      "format": "date-time"
    },
    "creation_date": {
      "type": "string",
      "format": "date-time"
    },
    "language": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "moments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/moment"
      }
    },
    "speakers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/speaker"
      }
    },
    "tags_ids": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      }
    },
    "transcription_url": {
      "type": "string",
      "description": "CDN URL of the transcription JSON. This URL cannot be opened with a public API token. Download the file with `POST /cdn/download`.\n"
    },
    "summary_url": {
      "type": "string",
      "deprecated": true,
      "description": "Deprecated: URL of the legacy extractive summary file. This pipeline is no longer running, so this field is generally `null`. Use `recap_url` instead.\n"
    },
    "waveform_url": {
      "type": "string"
    },
    "recap_url": {
      "type": "string",
      "description": "CDN URL of the recap file holding the AI analysis of the call, including the summary per language. This is the source of the summary displayed in Empower.\nThis URL cannot be opened with a public API token. Download the file with `POST /cdn/download`.\n"
    },
    "manager_rating": {
      "type": "integer",
      "enum": [
        1,
        2,
        3,
        4,
        5
      ]
    },
    "platform_name": {
      "type": "string"
    },
    "duration": {
      "type": "integer"
    },
    "num_channels": {
      "type": "integer"
    },
    "dead_air": {
      "type": "integer"
    },
    "moods": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/mood"
      }
    },
    "notes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/note"
      }
    },
    "visited": {
      "type": "integer"
    },
    "last_visited": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "keyword": {
      "type": "object",
      "properties": {
        "keyword_id": {
          "type": "integer",
          "format": "int64"
        },
        "label": {
          "type": "string"
        },
        "language": {
          "type": "string"
        },
        "segment_id": {
          "type": "integer",
          "format": "int64"
        },
        "created_by": {
          "type": "integer",
          "format": "int64"
        },
        "creation_date": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "moment": {
      "type": "object",
      "properties": {
        "moment_id": {
          "type": "integer",
          "format": "int64"
        },
        "team_id": {
          "type": "integer",
          "format": "int64"
        },
        "label": {
          "type": "string"
        },
        "color": {
          "type": "string"
        },
        "emoji": {
          "type": "string"
        },
        "keywords": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/keyword"
          }
        },
        "group_ids": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int64"
          }
        },
        "created_by": {
          "type": "integer",
          "format": "int64"
        },
        "updated_by": {
          "type": "integer",
          "format": "int64"
        },
        "creation_date": {
          "type": "string",
          "format": "date-time"
        },
        "update_date": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "mood": {
      "type": "object",
      "properties": {
        "mood_id": {
          "type": "integer",
          "format": "int64"
        },
        "mood_score": {
          "type": "number",
          "format": "double"
        },
        "mood_label": {
          "type": "string"
        },
        "segment_id": {
          "type": "integer",
          "format": "int64"
        }
      }
    },
    "note": {
      "type": "object",
      "properties": {
        "note_id": {
          "type": "integer"
        },
        "user_id": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "creation_date": {
          "type": "string",
          "format": "date-time"
        },
        "update_date": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "speaker": {
      "type": "object",
      "properties": {
        "phone_number": {
          "type": "number",
          "format": "int64"
        },
        "channel_index": {
          "type": "number",
          "format": "int64"
        },
        "user_id": {
          "type": "number",
          "format": "int64"
        },
        "mood_score": {
          "type": "number",
          "format": "double"
        },
        "speech_time": {
          "type": "number",
          "format": "double"
        },
        "words_rate": {
          "type": "number",
          "format": "double"
        },
        "longest_monologue": {
          "type": "number",
          "format": "double"
        },
        "number_of_pauses_within_speech": {
          "type": "number",
          "format": "int64"
        },
        "average_duration_of_pauses_within_speech": {
          "type": "number",
          "format": "double"
        },
        "number_of_pauses_between_speakers": {
          "type": "number",
          "format": "int64"
        },
        "average_duration_of_pauses_between_speakers": {
          "type": "number",
          "format": "double"
        },
        "number_of_interruptions": {
          "type": "number",
          "format": "int64"
        },
        "number_of_questions": {
          "type": "number",
          "format": "int64"
        },
        "creation_date": {
          "type": "string",
          "format": "date-time"
        },
        "update_date": {
          "type": "string",
          "format": "date-time"
        },
        "interruptions": {
          "type": "object",
          "properties": {
            "segment_id": {
              "type": "number",
              "format": "int64"
            }
          }
        },
        "speaker_type": {
          "type": "string",
          "enum": [
            "client",
            "agent"
          ]
        },
        "mood_label": {
          "type": "string"
        }
      }
    }
  }
}