{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Response", "title": "Response", "properties": { "contentArray": { "items": { "$ref": "#/components/schemas/Response" }, "type": "array" }, "detail": { "type": "string" }, "filename": { "type": "string" }, "file_id": { "type": "string" }, "file_data": { "type": "string" }, "idx": { "type": "number", "format": "double" }, "audio_data": { "type": "string" }, "image_url": { "type": "string" }, "timestamp": { "type": "string" }, "tool_call_id": { "type": "string" }, "tool_calls": { "items": { "$ref": "#/components/schemas/FunctionCall" }, "type": "array" }, "text": { "type": "string" }, "type": { "type": "string", "enum": [ "input_image", "input_text", "input_file" ] }, "name": { "type": "string" }, "role": { "type": "string", "enum": [ "user", "assistant", "system", "developer" ] }, "id": { "type": "string" }, "_type": { "type": "string", "enum": [ "functionCall", "function", "image", "text", "file", "contentArray" ] } }, "required": [ "type", "role", "_type" ], "type": "object" }