Properties
| Name | Type | Description |
|---|---|---|
| text | string | Text content (when readMode is text) |
| lines | array | Lines of text (when readMode is lines) |
| buffer | string | Base64-encoded binary content (when readMode is buffer) |
| encoding | string | Text encoding used |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/FileContent",
"title": "FileContent",
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text content (when readMode is text)"
},
"lines": {
"type": "array",
"items": {
"type": "string"
},
"description": "Lines of text (when readMode is lines)"
},
"buffer": {
"type": "string",
"format": "byte",
"description": "Base64-encoded binary content (when readMode is buffer)"
},
"encoding": {
"type": "string",
"description": "Text encoding used",
"example": "UTF-8"
}
}
}