{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vonage/main/json-schema/vonage-video-response-schema.json",
  "title": "VideoResponse",
  "description": "Video related configuration",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vonage-application-v2-openapi.yml#/components/schemas/VideoResponse",
  "type": "object",
  "properties": {
    "webhooks": {
      "type": "object",
      "properties": {
        "archive_status": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events informing about the archive status"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "connection_created": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a video connection is created"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "connection_destroyed": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a video connection is destroyed"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "session_created": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a video session is created"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "session_destroyed": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a video session is destroyed"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "session_notification": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends session notifications to"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "stream_created": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a stream is created"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "stream_destroyed": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a stream is destroyed"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "render_status": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a render status changes"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "captions_status": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when captions status changes"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "broadcast_status": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a broadcast status changes"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "sip_call_created": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a sip call is created"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "sip_call_updated": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a sip call is updated"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "sip_call_destroyed": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a sip call is destroyed"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        },
        "sip_call_mute_forced": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "The URL that Vonage sends events when a sip call is muted"
            },
            "active": {
              "$ref": "#/$defs/active_webhook"
            }
          }
        }
      }
    },
    "storage": {
      "type": "object",
      "properties": {
        "server_side_encryption": {
          "type": "boolean",
          "description": "Whether to use server-side encryption"
        },
        "end_to_end_encryption": {
          "type": "boolean",
          "description": "Whether to use end-to-end encryption"
        },
        "cloud_storage": {
          "type": "boolean",
          "description": "Whether to use cloud storage feature"
        }
      }
    }
  },
  "$defs": {
    "active_webhook": {
      "type": "boolean",
      "description": "Whether the webhook is active"
    }
  }
}