pub fn json_sample_string2schema( name: String, namespace: Option<String>, jstr: String, ) -> Result<FlatRecord, Error>