public Schema build() {
        return new ConnectSchema(type, isOptional(), defaultValue, name, version, doc,
                parameters == null ? null : Collections.unmodifiableMap(parameters),
                fields == null ? null : Collections.unmodifiableList(new ArrayList<>(fields.values())), keySchema, valueSchema);
    }
Build the Schema using the current settings
@return the {@link Schema}
connect/api/src/main/java/org/apache/kafka/connect/data/SchemaBuilder.java