{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-transcription-list-schema.json",
  "title": "transcription_list",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-transcriptions-api-openapi.yml#/components/schemas/transcription_list",
  "type": "array",
  "items": {
    "$ref": "#/$defs/transcriptions_object"
  },
  "$defs": {
    "contact": {
      "type": "object",
      "properties": {
        "contact_id": {
          "type": "integer",
          "format": "int64"
        },
        "is_shared": {
          "type": "boolean"
        },
        "im_owner": {
          "type": "string"
        },
        "social_service": {
          "type": [
            "string",
            "null"
          ]
        },
        "social_service_id": {
          "type": "string"
        },
        "social_profile_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "social_data": {
          "type": [
            "string",
            "null"
          ]
        },
        "firstname": {
          "type": "string"
        },
        "lastname": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "concat_name": {
          "type": "string"
        },
        "color": {
          "type": "string"
        },
        "initial": {
          "type": "string"
        },
        "profile_picture": {
          "type": [
            "string",
            "null"
          ]
        },
        "creation_date": {
          "type": "string",
          "format": "date-time"
        },
        "numbers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer",
            "format": "uint64"
          }
        }
      }
    },
    "transcriptions_object": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "team_id": {
          "type": "integer",
          "format": "int64"
        },
        "user_id": {
          "type": "integer",
          "format": "int64"
        },
        "standard_id": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64"
        },
        "cdr_id": {
          "type": "integer",
          "format": "int64"
        },
        "call_id": {
          "type": "string"
        },
        "channel_id": {
          "type": "string"
        },
        "provider": {
          "type": "string"
        },
        "user": {
          "$ref": "#/$defs/user_light"
        },
        "contact": {
          "description": "The non-user call member which can be <em>null</em> if not registered as a contact.\n",
          "$ref": "#/$defs/contact"
        },
        "transcription_data": {
          "type": "object",
          "properties": {
            "duration": {
              "type": "string"
            },
            "num_channels": {
              "type": "integer"
            },
            "speeches": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "channelId": {
                    "type": "integer",
                    "description": "The identifier for the call members: the caller has the Channel ID <em>1</em>, and the callee has the Channel ID <em>0</em>.\n"
                  },
                  "start": {
                    "type": "number"
                  },
                  "end": {
                    "type": "number"
                  },
                  "duration": {
                    "type": "number"
                  },
                  "text": {
                    "type": "string"
                  },
                  "words": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string"
                        },
                        "start": {
                          "type": "number"
                        },
                        "end": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "named_entities": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "text": {
                          "type": "string"
                        },
                        "score": {
                          "type": "number"
                        },
                        "start": {
                          "type": "integer"
                        },
                        "end": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            },
            "text": {
              "type": "string"
            },
            "prediction_time": {
              "type": "number"
            }
          }
        },
        "transcription_status": {
          "type": "string"
        },
        "creation_date": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "user_light": {
      "type": "object",
      "properties": {
        "user_id": {
          "type": "integer",
          "format": "int64",
          "description": "The user identifier"
        },
        "team_id": {
          "type": "integer",
          "format": "int64",
          "description": "The team identifier of the user"
        },
        "initial": {
          "type": "string",
          "description": "The initials of the user"
        },
        "color": {
          "type": "string"
        },
        "firstname": {
          "type": "string",
          "description": "The firstname of the user"
        },
        "lastname": {
          "type": "string",
          "description": "The lastname of the user"
        },
        "company": {
          "type": "string",
          "description": "The company of the user"
        },
        "email": {
          "type": "string",
          "description": "The email of the user"
        },
        "picture": {
          "type": "string",
          "description": "The picture of the user"
        },
        "concat_name": {
          "type": "string"
        }
      }
    }
  }
}