SEMICeu / style-guide

SEMIC style guide to create reusable vocabularies and application profiles
https://semiceu.github.io/style-guide/
Creative Commons Attribution 4.0 International
9 stars 2 forks source link

Names of enumerations #61

Closed GeertThijs closed 1 year ago

GeertThijs commented 1 year ago

In § Case sensitivity and charsety. Why should the name of an enumeration start with a lowercase letter? In the UML metamodel an enumeration is a specialisation of the classifier Datatype. Datatype names start with a capital, so why not enumerations?

csnyulas commented 1 year ago

The logic of this recommendation is to have consistency between the naming style of the enumerations declared in a CV or AP, and other externally maintained, and often reused, vocabularies and authority tables (e.g. at-voc:access-right, at-voc:language). Does this make sense @GeertThijs ?

We are aware that many CVs and APs currently don't follow this recommendation. This is a style guide, with recommendations. It is up to each group and project to decide if they want to follow or not any given the recommendation in the guide.

costezki commented 1 year ago

We have updated the recommendation, relaxing it on the packages, data types and enumerations.