Skip to content

Naming convention datamodel

Sam Leeflang edited this page May 28, 2024 · 3 revisions

This document gives a short summary of our naming conventions in the data model. In general, we try to follow Darwin Core TDWG standard.

Term with value

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

Term with an object

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

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
Clone this wiki locally