Schema
Schema name: LiveSessionCloseParam
json
{
"(resource) live > (model) session_close_event > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/LiveSessionCloseParam",
"docstring": "Request that the Live session close. The terminal `session.closed` event contains the close reason and final usage.",
"ident": "SessionCloseEvent",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "type"
},
{
"ident": "event_id"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) live > (model) session_close_event > (schema) > (property) type",
"(resource) live > (model) session_close_event > (schema) > (property) event_id"
]
},
"(resource) live > (model) session_close_event > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/LiveSessionCloseParam/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The Live client event type. Always `session.close`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/LiveSessionCloseParam/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "session.close"
}
]
},
"default": "session.close",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) live > (model) session_close_event > (schema) > (property) type > (member) 0"
]
},
"(resource) live > (model) session_close_event > (schema) > (property) event_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/LiveSessionCloseParam/properties/event_id",
"deprecated": false,
"key": "event_id",
"docstring": "Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"maxLength": 512
},
"optional": true,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) live > (model) session_close_event > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "session.close"
}
}
}