...
For a suggestion on how to consume and process 4.1 Entity Categories for Service Providers in in an Identity Provider look at the page Example of a standard attribute filter for Shibboleth IdP - Deprecatedv5 and above.
All entity categories (as well as other information) on services in SWAMID can be found at 4.1 Entity Categories for Service Providers.
...