@SuppressWarnings("unchecked")
    public T schema(RowFormatInfo format) {
        checkNotNull(format);
        internalProperties.putString(FORMAT_SCHEMA, FormatUtils.marshall(format));
        return (T) this;
    }
Sets the format schema. Required if schema is not derived.

<p>Note: This schema defined by this method will be removed if
{@link #field(String, FormatInfo)} is called.</p>

@param format The format.
inlong-sort/sort-formats/format-common/src/main/java/org/apache/inlong/sort/formats/base/TextFormatDescriptor.java