Schema
Schema name: RealtimeClientEventInputAudioBufferClear
json
{
"(resource) realtime > (model) input_audio_buffer_clear_event > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/RealtimeClientEventInputAudioBufferClear",
"docstring": "Send this event to clear the audio bytes in the buffer. The server will \nrespond with an `input_audio_buffer.cleared` event.\n",
"ident": "InputAudioBufferClearEvent",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "type"
},
{
"ident": "event_id"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) realtime > (model) input_audio_buffer_clear_event > (schema) > (property) type",
"(resource) realtime > (model) input_audio_buffer_clear_event > (schema) > (property) event_id"
]
},
"(resource) realtime > (model) input_audio_buffer_clear_event > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeClientEventInputAudioBufferClear/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The event type, must be `input_audio_buffer.clear`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/RealtimeClientEventInputAudioBufferClear/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "input_audio_buffer.clear"
}
]
},
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) realtime > (model) input_audio_buffer_clear_event > (schema) > (property) type > (member) 0"
]
},
"(resource) realtime > (model) input_audio_buffer_clear_event > (schema) > (property) event_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeClientEventInputAudioBufferClear/properties/event_id",
"deprecated": false,
"key": "event_id",
"docstring": "Optional client-generated ID used to identify this event.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"maxLength": 512
},
"optional": true,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) realtime > (model) input_audio_buffer_clear_event > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "input_audio_buffer.clear"
}
}
}