According to MongoDB Documentation, Schema tab provides a sample data to analyze. It displays “not random” but values from the cast field from multiple documents.
You might as well want to update Compass to 1.16.3 Stable version (latest), when you click on String and hover on columns in the chart, it shows Schema like this: