-
Notifications
You must be signed in to change notification settings - Fork 1
Naming convention datamodel
This document gives a short summary of our naming conventions in the data model. In general, we try to follow Darwin Core TDWG standard.
A simple term-value property gets a prefix so we can connect it to an ontology and can generate the JSON-LD. The name is always in singular unless the ontology specifies it is plural. It starts with a lowercase (after the prefix) and uses lowerCamelCase. Examples are:
dwc:collectionId
ods:topicDomain
Example of a plural term borrowed from Darwin Core:
dwc:dataGeneralizations
A term which contains an object start with a Capital and uses higherCamelCase (or PascalCase). It is singular, unless there are good reasons otherwise. Examples are:
ods:EntityRelationship
dwc:GeologicalContext
An array of objects is plural and start with a Capital and uses higherCamelCase (or PascalCase). In general, an array of objects will contain as object a Term with an object (as described above) which contains Terms with value. Examples are:
ods:Occurrences
ods:Agents