How can I read config schema from a config entity?
Found, it can be done by using config.typed service:

$typed_config_manager = \Drupal::service('config.typed');
$node_type_definition = $typed_config_manager-&gt;getDefinition('node.type.*');