pub fn json_sample_bytes2schema( name: String, namespace: Option<String>, jbytes: Vec<u8>, ) -> Result<FlatRecord, Error>