{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/MessageComponentInputTextResponse", "title": "MessageComponentInputTextResponse", "type": "object", "properties": { "type": { "type": "integer", "enum": [ 4 ], "allOf": [ { "$ref": "#/components/schemas/MessageComponentTypes" } ], "format": "int32" }, "id": { "$ref": "#/components/schemas/SnowflakeType" }, "custom_id": { "type": "string" }, "style": { "$ref": "#/components/schemas/TextStyleTypes" }, "label": { "type": [ "string", "null" ] }, "value": { "type": [ "string", "null" ] }, "placeholder": { "type": [ "string", "null" ] }, "required": { "type": [ "boolean", "null" ] }, "min_length": { "type": [ "integer", "null" ], "format": "int32" }, "max_length": { "type": [ "integer", "null" ], "format": "int32" } }, "required": [ "type", "id", "custom_id", "style" ] }