{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openvidu-io/json-schema/openvidu-io-post-openvidu-api-sessions-response-schema.json",
  "title": "PostOpenviduApiSessionsResponse",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/openvidu-io-openapi-generated.yml#/components/schemas/PostOpenviduApiSessionsResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Identifier of the session."
    },
    "object": {
      "type": "string",
      "description": "Object type (session)."
    },
    "createdAt": {
      "type": "number",
      "description": "Creation time in UTC ms."
    },
    "mediaMode": {
      "type": "string",
      "description": "Media mode (ROUTED or RELAYED)."
    },
    "recordingMode": {
      "type": "string",
      "description": "Recording mode (ALWAYS or MANUAL)."
    },
    "defaultRecordingProperties": {
      "type": "object",
      "description": "Default recording properties."
    },
    "customSessionId": {
      "type": "string",
      "description": "Custom session identifier."
    },
    "connections": {
      "type": "object",
      "description": "Active connections collection."
    },
    "recording": {
      "type": "boolean",
      "description": "Whether the session is being recorded."
    },
    "broadcasting": {
      "type": "boolean",
      "description": "Whether the session is being broadcasted."
    },
    "forcedVideoCodec": {
      "type": "string",
      "description": "Forced video codec."
    },
    "allowTranscoding": {
      "type": "boolean",
      "description": "Allow transcoding."
    },
    "mediaNodeId": {
      "type": "string",
      "description": "Media Node hosting the session (PRO)."
    }
  }
}