Take a look at this:
https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/
You should write a plugin to create and mantain extra taxonomies (shop, hospitals, like you said) and manage the custom API endpoints.
Take a look at this:
https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/
You should write a plugin to create and mantain extra taxonomies (shop, hospitals, like you said) and manage the custom API endpoints.