specification icon indicating copy to clipboard operation
specification copied to clipboard

Allow organization and service_at_location to be categorised with taxonomy

Open timgdavies opened this issue 8 years ago • 4 comments

At present service_taxonomy is used to related service objects to taxonomy objects, classifying a service.

From #154 via @klambacher:

To my knowledge, categories would not be required to describe locations so location_id is not required, but I certainly wouldn't object to seeing that option. I have also seen a requirement to classify organizations for some use cases, so an organization ID would be a good option as well.

This suggests either:

  • Introducing a parallel 'service_at_location_taxonomy' (or just 'location_taxonomy') table, and 'organization_taxonomy' table; or
  • Renaming 'service_taxonomy' to 'taxonomy_link' and including multiple possible identifier columns for service_id, location_id and organization_id

Views on the use-cases and approaches to be taken here would be welcome.

timgdavies avatar Aug 09 '17 15:08 timgdavies

@timgdavies , I agree with @klambacher. I prefer your second approach of "taxonomy_link". But since 1.1 is approved I would think this would need to be in a future rev of the spec.

NeilMcKLogic avatar Aug 10 '17 23:08 NeilMcKLogic

@klambacher could you share a bit more about the use case for this? Under what circumstances would a service-at-location need to have different taxonomy codes applied than the underlying service itself?

boxfoot avatar Aug 28 '17 21:08 boxfoot

I've raised this as a more general need for taxonomies for multiple types of entity as issue 208.

MikeThacker1 avatar Nov 26 '19 18:11 MikeThacker1

MINOR - adding lots more tables

MAJOR - adding a more expressive taxonomy mechanism and using it in more places, with better names and terminology

robredpath avatar Feb 17 '20 13:02 robredpath

Closed. See #208, we can attach taxonomies and attributes to most objects/schemas now :-)

mrshll1001 avatar Nov 21 '23 13:11 mrshll1001