---
title: "Asynchronously gets the BDMS.Models.Stratigraphys, filtered by boreholeId."
method: GET
path: "/api/v{version}/stratigraphy"
tags: ["Stratigraphy"]
---

# Asynchronously gets the BDMS.Models.Stratigraphys, filtered by boreholeId.

`GET /api/v{version}/stratigraphy`

## Path parameters

- `version` string, required

## Query parameters

- `boreholeId` integer

## Response `200`

OK

- Stratigraphy[]
  - `id` integer, required
  - `boreholeId` integer, required — Gets or sets the foreign key for the BDMS.Models.Stratigraphy.Borehole associated with the BDMS.Models.Stratigraphy.
  - `borehole` Borehole — Represents a borehole entity in the database.
    - `id` integer, required
    - `createdById` integer, nullable
    - `createdBy` User — Represents a user entity in the database.
      - `id` integer, required
      - `name` string — Gets or sets the BDMS.Models.User name.
      - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
      - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
      - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
      - `email` string — Gets or sets the BDMS.Models.Users email.
      - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
      - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
      - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
      - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
      - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
      - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
        - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
        - `user` User — recursive
        - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
        - `workgroup` Workgroup — Represents a workgroup entity in the database.
          - `id` integer, required
          - `name` string, required — Gets or sets the name of the workgroup.
          - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
          - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
          - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
          - `boreholeCount` integer — Number of boreholes in the workgroup.
        - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
        - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
      - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
        - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
        - `user` User — recursive
        - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
        - `term` Term — Represents a term entity in the database.
          - `id` integer, required
          - `isDraft` boolean — Gets or sets whetther the BDMS.Models.Term is a draft.
          - `textEn` string — Gets or sets the BDMS.Models.Term's english text.
          - `textDe` string, nullable — Gets or sets the BDMS.Models.Term's german text.
          - `textFr` string, nullable — Gets or sets the BDMS.Models.Term's french text.
          - `textIt` string, nullable — Gets or sets the BDMS.Models.Term's italian text.
          - `textRo` string, nullable — Gets or sets the BDMS.Models.Term's romansch text.
          - `creation` string, date-time — Gets or sets the BDMS.Models.Term's creation date.
          - `expiration` string, date-time, nullable — Gets or sets the BDMS.Models.Term's expiration date.
        - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
      - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
    - `created` string, date-time, nullable
    - `updated` string, date-time, nullable
    - `updatedById` integer, nullable
    - `updatedBy` User — Represents a user entity in the database.
      - `id` integer, required
      - `name` string — Gets or sets the BDMS.Models.User name.
      - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
      - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
      - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
      - `email` string — Gets or sets the BDMS.Models.Users email.
      - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
      - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
      - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
      - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
      - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
      - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
        - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
        - `user` User — recursive
        - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
        - `workgroup` Workgroup — Represents a workgroup entity in the database.
          - `id` integer, required
          - `name` string, required — Gets or sets the name of the workgroup.
          - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
          - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
          - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
          - `boreholeCount` integer — Number of boreholes in the workgroup.
        - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
        - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
      - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
        - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
        - `user` User — recursive
        - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
        - `term` Term — Represents a term entity in the database.
          - `id` integer, required
          - `isDraft` boolean — Gets or sets whetther the BDMS.Models.Term is a draft.
          - `textEn` string — Gets or sets the BDMS.Models.Term's english text.
          - `textDe` string, nullable — Gets or sets the BDMS.Models.Term's german text.
          - `textFr` string, nullable — Gets or sets the BDMS.Models.Term's french text.
          - `textIt` string, nullable — Gets or sets the BDMS.Models.Term's italian text.
          - `textRo` string, nullable — Gets or sets the BDMS.Models.Term's romansch text.
          - `creation` string, date-time — Gets or sets the BDMS.Models.Term's creation date.
          - `expiration` string, date-time, nullable — Gets or sets the BDMS.Models.Term's expiration date.
        - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
      - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
    - `locked` string, date-time, nullable — Gets or sets the BDMS.Models.Borehole locked date.
    - `lockedById` integer, nullable — Gets or sets the id of the BDMS.Models.User who locked the BDMS.Models.Borehole.
    - `lockedBy` User — Represents a user entity in the database.
      - `id` integer, required
      - `name` string — Gets or sets the BDMS.Models.User name.
      - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
      - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
      - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
      - `email` string — Gets or sets the BDMS.Models.Users email.
      - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
      - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
      - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
      - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
      - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
      - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
        - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
        - `user` User — recursive
        - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
        - `workgroup` Workgroup — Represents a workgroup entity in the database.
          - `id` integer, required
          - `name` string, required — Gets or sets the name of the workgroup.
          - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
          - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
          - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
          - `boreholeCount` integer — Number of boreholes in the workgroup.
        - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
        - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
      - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
        - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
        - `user` User — recursive
        - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
        - `term` Term — Represents a term entity in the database.
          - `id` integer, required
          - `isDraft` boolean — Gets or sets whetther the BDMS.Models.Term is a draft.
          - `textEn` string — Gets or sets the BDMS.Models.Term's english text.
          - `textDe` string, nullable — Gets or sets the BDMS.Models.Term's german text.
          - `textFr` string, nullable — Gets or sets the BDMS.Models.Term's french text.
          - `textIt` string, nullable — Gets or sets the BDMS.Models.Term's italian text.
          - `textRo` string, nullable — Gets or sets the BDMS.Models.Term's romansch text.
          - `creation` string, date-time — Gets or sets the BDMS.Models.Term's creation date.
          - `expiration` string, date-time, nullable — Gets or sets the BDMS.Models.Term's expiration date.
        - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
      - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
    - `workgroupId` integer, nullable — Gets or sets the foreign key to the BDMS.Models.Borehole.Workgroup entity.
    - `workgroup` Workgroup — Represents a workgroup entity in the database.
      - `id` integer, required
      - `name` string, required — Gets or sets the name of the workgroup.
      - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
      - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
      - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
      - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
      - `boreholeCount` integer — Number of boreholes in the workgroup.
    - `isPublic` boolean, nullable — Gets or sets whether the BDMS.Models.Borehole is public.
    - `typeId` integer, nullable — Gets or sets the BDMS.Models.Borehole's type id.
    - `type` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `locationX` number, double, nullable — Gets or sets the BDMS.Models.Borehole's X-location using LV95 coordinates.
    - `precisionLocationX` integer, nullable — Gets or sets the precision for the BDMS.Models.Borehole's X-location (LV95).
    - `locationY` number, double, nullable — Gets or sets the BDMS.Models.Borehole's Y-location using LV95 coordinates.
    - `precisionLocationY` integer, nullable — Gets or sets the precision for the BDMS.Models.Borehole's Y-location (LV95).
    - `locationXLV03` number, double, nullable — Gets or sets the BDMS.Models.Borehole's X-location using LV03 coordinates.
    - `precisionLocationXLV03` integer, nullable — Gets or sets the precision for the BDMS.Models.Borehole's X-location (LV03).
    - `locationYLV03` number, double, nullable — Gets or sets the BDMS.Models.Borehole's Y-location using LV03 coordinates.
    - `precisionLocationYLV03` integer, nullable — Gets or sets the precision for the BDMS.Models.Borehole's Y-location (LV03).
    - `originalReferenceSystemId` integer, nullable — Gets or sets the BDMS.Models.Borehole's original reference system id.
    - `originalReferenceSystem` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `elevationZ` number, double, nullable — Gets or sets the BDMS.Models.Borehole's Elevation(Z).
    - `hrsId` integer, nullable — Gets or sets the BDMS.Models.Borehole's HrsId.
    - `hrs` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `totalDepth` number, double, nullable — Gets or sets the BDMS.Models.Borehole's total depth.
    - `restrictionId` integer, nullable — Gets or sets the BDMS.Models.Borehole's restriction id.
    - `restriction` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `restrictionUntil` string, date, nullable — Gets or sets the date until when a BDMS.Models.Borehole is restricted.
    - `nationalInterest` boolean, nullable — Gets or sets the BDMS.Models.Borehole's national interest.
    - `originalName` string, nullable — Gets or sets the BDMS.Models.Borehole's original name.
    - `name` string, nullable — Gets or sets the BDMS.Models.Borehole's alternate name.
    - `locationPrecisionId` integer, nullable — Gets or sets the BDMS.Models.Borehole's location precision.
    - `locationPrecision` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `elevationPrecisionId` integer, nullable — Gets or sets the BDMS.Models.Borehole's elevation precision id.
    - `elevationPrecision` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `projectName` string, nullable — Gets or sets the BDMS.Models.Borehole's project name.
    - `country` string, nullable — Gets or sets the BDMS.Models.Borehole's country.
    - `canton` string, nullable — Gets or sets the BDMS.Models.Borehole's canton.
    - `municipality` string, nullable — Gets or sets the BDMS.Models.Borehole's municipality.
    - `purposeId` integer, nullable — Gets or sets the BDMS.Models.Borehole's purpose id.
    - `purpose` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `statusId` integer, nullable — Gets or sets the BDMS.Models.Borehole's status id.
    - `status` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `depthPrecisionId` integer, nullable — Gets or sets the BDMS.Models.Borehole's Depth presicion id.
    - `depthPrecision` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `topBedrockFreshMd` number, double, nullable — Gets or sets the BDMS.Models.Borehole's top bedrock.
    - `topBedrockWeatheredMd` number, double, nullable — Gets or sets the BDMS.Models.Borehole's weathered top bedrock.
    - `hasGroundwater` boolean, nullable — Gets or sets whether the BDMS.Models.Borehole has groundwater.
    - `geometry` Point
      - `factory` GeometryFactory
        - `precisionModel` PrecisionModel
          - `isFloating` boolean
          - `maximumSignificantDigits` integer
          - `scale` number, double
          - `gridSize` number, double
          - `precisionModelType` 0 | 1 | 2
        - `coordinateSequenceFactory` CoordinateSequenceFactory
          - `ordinates` 0 | 1 | 2 | 3 | 4 | 7 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65535 | 65536 | 65539 | 65543 | 131072 | 262144 | 524288 | 1048576 | 2097152 | 4194304 | 8388608 | 16777216 | 33554432 | 67108864 | 134217728 | 268435456 | 536870912 | 1073741824 | -2147483648 | -65536 | -1
        - `srid` integer
        - `geometryServices` NtsGeometryServices
          - `geometryOverlay` GeometryOverlay
          - `coordinateEqualityComparer` CoordinateEqualityComparer
          - `defaultSRID` integer
          - `defaultCoordinateSequenceFactory` CoordinateSequenceFactory
            - `ordinates` 0 | 1 | 2 | 3 | 4 | 7 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65535 | 65536 | 65539 | 65543 | 131072 | 262144 | 524288 | 1048576 | 2097152 | 4194304 | 8388608 | 16777216 | 33554432 | 67108864 | 134217728 | 268435456 | 536870912 | 1073741824 | -2147483648 | -65536 | -1
          - `defaultPrecisionModel` PrecisionModel
            - `isFloating` boolean
            - `maximumSignificantDigits` integer
            - `scale` number, double
            - `gridSize` number, double
            - `precisionModelType` 0 | 1 | 2
      - `userData` unknown
      - `srid` integer
      - `precisionModel` PrecisionModel
        - `isFloating` boolean
        - `maximumSignificantDigits` integer
        - `scale` number, double
        - `gridSize` number, double
        - `precisionModelType` 0 | 1 | 2
      - `numGeometries` integer
      - `isSimple` boolean
      - `isValid` boolean
      - `area` number, double
      - `length` number, double
      - `centroid` Point — recursive
      - `interiorPoint` Point — recursive
      - `pointOnSurface` Point — recursive
      - `envelope` Geometry
        - `factory` GeometryFactory
          - `precisionModel` PrecisionModel
            - `isFloating` boolean
            - `maximumSignificantDigits` integer
            - `scale` number, double
            - `gridSize` number, double
            - `precisionModelType` 0 | 1 | 2
          - `coordinateSequenceFactory` CoordinateSequenceFactory
            - `ordinates` 0 | 1 | 2 | 3 | 4 | 7 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65535 | 65536 | 65539 | 65543 | 131072 | 262144 | 524288 | 1048576 | 2097152 | 4194304 | 8388608 | 16777216 | 33554432 | 67108864 | 134217728 | 268435456 | 536870912 | 1073741824 | -2147483648 | -65536 | -1
          - `srid` integer
          - `geometryServices` NtsGeometryServices
            - `geometryOverlay` GeometryOverlay
            - `coordinateEqualityComparer` CoordinateEqualityComparer
            - `defaultSRID` integer
            - `defaultCoordinateSequenceFactory` CoordinateSequenceFactory
              - …
            - `defaultPrecisionModel` PrecisionModel
              - …
        - `userData` unknown
        - `srid` integer
        - `geometryType` string, nullable
        - `ogcGeometryType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16
        - `precisionModel` PrecisionModel
          - `isFloating` boolean
          - `maximumSignificantDigits` integer
          - `scale` number, double
          - `gridSize` number, double
          - `precisionModelType` 0 | 1 | 2
        - `coordinate` Coordinate
          - `x` number, double
          - `y` number, double
          - `z` number, double
          - `m` number, double
          - `coordinateValue` Coordinate — recursive
          - `isValid` boolean
        - `coordinates` Coordinate[], nullable
          - `x` number, double
          - `y` number, double
          - `z` number, double
          - `m` number, double
          - `coordinateValue` Coordinate — recursive
          - `isValid` boolean
        - `numPoints` integer
        - `numGeometries` integer
        - `isSimple` boolean
        - `isValid` boolean
        - `isEmpty` boolean
        - `area` number, double
        - `length` number, double
        - `centroid` Point — recursive
        - `interiorPoint` Point — recursive
        - `pointOnSurface` Point — recursive
        - `dimension` 0 | 1 | 2 | 3 | -3 | -2 | -1
        - `boundary` Geometry — recursive
        - `boundaryDimension` 0 | 1 | 2 | 3 | -3 | -2 | -1
        - `envelope` Geometry — recursive
        - `envelopeInternal` Envelope
          - `isNull` boolean
          - `width` number, double
          - `height` number, double
          - `diameter` number, double
          - `minX` number, double
          - `maxX` number, double
          - `minY` number, double
          - `maxY` number, double
          - `area` number, double
          - `minExtent` number, double
          - `maxExtent` number, double
          - `centre` Coordinate
            - `x` number, double
            - `y` number, double
            - `z` number, double
            - `m` number, double
            - `coordinateValue` Coordinate — recursive
            - `isValid` boolean
        - `isRectangle` boolean
      - `envelopeInternal` Envelope
        - `isNull` boolean
        - `width` number, double
        - `height` number, double
        - `diameter` number, double
        - `minX` number, double
        - `maxX` number, double
        - `minY` number, double
        - `maxY` number, double
        - `area` number, double
        - `minExtent` number, double
        - `maxExtent` number, double
        - `centre` Coordinate
          - `x` number, double
          - `y` number, double
          - `z` number, double
          - `m` number, double
          - `coordinateValue` Coordinate — recursive
          - `isValid` boolean
      - `isRectangle` boolean
      - `coordinateSequence` CoordinateSequence
        - `dimension` integer
        - `measures` integer
        - `spatial` integer
        - `ordinates` 0 | 1 | 2 | 3 | 4 | 7 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65535 | 65536 | 65539 | 65543 | 131072 | 262144 | 524288 | 1048576 | 2097152 | 4194304 | 8388608 | 16777216 | 33554432 | 67108864 | 134217728 | 268435456 | 536870912 | 1073741824 | -2147483648 | -65536 | -1
        - `hasZ` boolean
        - `hasM` boolean
        - `zOrdinateIndex` integer
        - `mOrdinateIndex` integer
        - `first` Coordinate
          - `x` number, double
          - `y` number, double
          - `z` number, double
          - `m` number, double
          - `coordinateValue` Coordinate — recursive
          - `isValid` boolean
        - `last` Coordinate
          - `x` number, double
          - `y` number, double
          - `z` number, double
          - `m` number, double
          - `coordinateValue` Coordinate — recursive
          - `isValid` boolean
        - `count` integer
      - `coordinates` Coordinate[], nullable
        - `x` number, double
        - `y` number, double
        - `z` number, double
        - `m` number, double
        - `coordinateValue` Coordinate — recursive
        - `isValid` boolean
      - `numPoints` integer
      - `isEmpty` boolean
      - `dimension` 0 | 1 | 2 | 3 | -3 | -2 | -1
      - `boundaryDimension` 0 | 1 | 2 | 3 | -3 | -2 | -1
      - `x` number, double
      - `y` number, double
      - `coordinate` Coordinate
        - `x` number, double
        - `y` number, double
        - `z` number, double
        - `m` number, double
        - `coordinateValue` Coordinate — recursive
        - `isValid` boolean
      - `geometryType` string, nullable
      - `ogcGeometryType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16
      - `boundary` Geometry
        - `factory` GeometryFactory
          - `precisionModel` PrecisionModel
            - `isFloating` boolean
            - `maximumSignificantDigits` integer
            - `scale` number, double
            - `gridSize` number, double
            - `precisionModelType` 0 | 1 | 2
          - `coordinateSequenceFactory` CoordinateSequenceFactory
            - `ordinates` 0 | 1 | 2 | 3 | 4 | 7 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65535 | 65536 | 65539 | 65543 | 131072 | 262144 | 524288 | 1048576 | 2097152 | 4194304 | 8388608 | 16777216 | 33554432 | 67108864 | 134217728 | 268435456 | 536870912 | 1073741824 | -2147483648 | -65536 | -1
          - `srid` integer
          - `geometryServices` NtsGeometryServices
            - `geometryOverlay` GeometryOverlay
            - `coordinateEqualityComparer` CoordinateEqualityComparer
            - `defaultSRID` integer
            - `defaultCoordinateSequenceFactory` CoordinateSequenceFactory
              - …
            - `defaultPrecisionModel` PrecisionModel
              - …
        - `userData` unknown
        - `srid` integer
        - `geometryType` string, nullable
        - `ogcGeometryType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16
        - `precisionModel` PrecisionModel
          - `isFloating` boolean
          - `maximumSignificantDigits` integer
          - `scale` number, double
          - `gridSize` number, double
          - `precisionModelType` 0 | 1 | 2
        - `coordinate` Coordinate
          - `x` number, double
          - `y` number, double
          - `z` number, double
          - `m` number, double
          - `coordinateValue` Coordinate — recursive
          - `isValid` boolean
        - `coordinates` Coordinate[], nullable
          - `x` number, double
          - `y` number, double
          - `z` number, double
          - `m` number, double
          - `coordinateValue` Coordinate — recursive
          - `isValid` boolean
        - `numPoints` integer
        - `numGeometries` integer
        - `isSimple` boolean
        - `isValid` boolean
        - `isEmpty` boolean
        - `area` number, double
        - `length` number, double
        - `centroid` Point — recursive
        - `interiorPoint` Point — recursive
        - `pointOnSurface` Point — recursive
        - `dimension` 0 | 1 | 2 | 3 | -3 | -2 | -1
        - `boundary` Geometry — recursive
        - `boundaryDimension` 0 | 1 | 2 | 3 | -3 | -2 | -1
        - `envelope` Geometry — recursive
        - `envelopeInternal` Envelope
          - `isNull` boolean
          - `width` number, double
          - `height` number, double
          - `diameter` number, double
          - `minX` number, double
          - `maxX` number, double
          - `minY` number, double
          - `maxY` number, double
          - `area` number, double
          - `minExtent` number, double
          - `maxExtent` number, double
          - `centre` Coordinate
            - `x` number, double
            - `y` number, double
            - `z` number, double
            - `m` number, double
            - `coordinateValue` Coordinate — recursive
            - `isValid` boolean
        - `isRectangle` boolean
      - `z` number, double
      - `m` number, double
    - `remarks` string, nullable — Gets or sets remarks for the BDMS.Models.Borehole.
    - `lithologyTopBedrockId` integer, nullable — Gets or sets the BDMS.Models.Borehole's lithology top bedrock id.
    - `lithologyTopBedrock` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `lithostratigraphyTopBedrockId` integer, nullable — Gets or sets the BDMS.Models.Borehole's lithostratigraphy top bedrock id.
    - `lithostratigraphyTopBedrock` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `chronostratigraphyTopBedrockId` integer, nullable — Gets or sets the BDMS.Models.Borehole's chronostratigraphy top bedrock id.
    - `chronostratigraphyTopBedrock` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `referenceElevation` number, double, nullable — Gets or sets the BDMS.Models.Borehole's reference elevation.
    - `referenceElevationPrecisionId` integer, nullable — Gets or sets the BDMS.Models.Borehole's reference elevation precision id.
    - `referenceElevationPrecision` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `referenceElevationTypeId` integer, nullable — Gets or sets the BDMS.Models.Borehole's reference elevation type id.
    - `totalDepthTvd` number, double, nullable — Gets or sets the BDMS.Models.Borehole's true vertical total depth.
    - `topBedrockFreshTvd` number, double, nullable — Gets or sets the BDMS.Models.Borehole's true vertical top bedrock fresh depth.
    - `topBedrockWeatheredTvd` number, double, nullable — Gets or sets the BDMS.Models.Borehole's true vertical top bedrock weathered depth.
    - `topBedrockIntersected` boolean, nullable — Gets or sets whether BDMS.Models.Borehole's top bedrock was intersected.
    - `referenceElevationType` Codelist — Represents a codelist entity in the database.
      - `id` integer, required
      - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
      - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
      - `code` string — Gets or sets the BDMS.Models.Codelist's code.
      - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
      - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
      - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
      - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
      - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
      - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
      - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
      - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
      - `path` LTree
        - `nLevel` integer
    - `workflow` Workflow — Represents a workflow entity in the database.
      - `id` integer, required
      - `hasRequestedChanges` boolean — Gets or sets if a reviewer has requested changes for the borehole.
      - `status` 'Draft' | 'InReview' | 'Reviewed' | 'Published' — Represents the status of a BDMS.Models.Workflow.
      - `boreholeId` integer, required — Gets or sets the id of the BDMS.Models.Workflow.Borehole.
      - `borehole` Borehole — recursive
      - `reviewedTabsId` integer, required — Gets or sets the id of the BDMS.Models.Workflow.ReviewedTabs.
      - `reviewedTabs` TabStatus — Represents the reviewed or published tab status of a BDMS.Models.Workflow.
        - `id` integer, required
        - `location` boolean — Gets or sets the status of the location tab of the borehole.
        - `general` boolean — Gets or sets the status of the general tab of the borehole.
        - `sections` boolean — Gets or sets the status of the sections tab of the borehole.
        - `geometry` boolean — Gets or sets the status of the geometry tab of the borehole.
        - `lithology` boolean — Gets or sets the status of the lithology tab of the stratigraphy.
        - `chronostratigraphy` boolean — Gets or sets the status of the chronostratigraphy tab of the stratigraphy.
        - `lithostratigraphy` boolean — Gets or sets the status of the lithostratigraphy tab of the stratigraphy.
        - `casing` boolean — Gets or sets the status of the casing tab of the completion.
        - `instrumentation` boolean — Gets or sets the status of the instrumentation tab of the completion.
        - `backfill` boolean — Gets or sets the status of the backfill / sealing tab of the completion.
        - `waterIngress` boolean — Gets or sets the status of the water ingress tab of the hydrogeology.
        - `groundwaterLevelMeasurement` boolean — Gets or sets the status of the groundwater tab of the hydrogeology.
        - `fieldMeasurement` boolean — Gets or sets the status of the field measurement tab of the hydrogeology.
        - `hydrotest` boolean — Gets or sets the status of the hydrotest tab of the hydrogeology.
        - `profiles` boolean — Gets or sets the status of the profile tab of the borehole attachments.
        - `photos` boolean — Gets or sets the status of the photo tab of the borehole attachments.
        - `documents` boolean — Gets or sets the status of the document tab of the borehole attachments.
        - `log` boolean — Gets or sets the status of the log tab of the borehole.
        - `identifiers` boolean — Gets or sets the status of the identifiers tab of the borehole.
      - `publishedTabsId` integer, required — Gets or sets the id of the BDMS.Models.Workflow.PublishedTabs.
      - `publishedTabs` TabStatus — Represents the reviewed or published tab status of a BDMS.Models.Workflow.
        - `id` integer, required
        - `location` boolean — Gets or sets the status of the location tab of the borehole.
        - `general` boolean — Gets or sets the status of the general tab of the borehole.
        - `sections` boolean — Gets or sets the status of the sections tab of the borehole.
        - `geometry` boolean — Gets or sets the status of the geometry tab of the borehole.
        - `lithology` boolean — Gets or sets the status of the lithology tab of the stratigraphy.
        - `chronostratigraphy` boolean — Gets or sets the status of the chronostratigraphy tab of the stratigraphy.
        - `lithostratigraphy` boolean — Gets or sets the status of the lithostratigraphy tab of the stratigraphy.
        - `casing` boolean — Gets or sets the status of the casing tab of the completion.
        - `instrumentation` boolean — Gets or sets the status of the instrumentation tab of the completion.
        - `backfill` boolean — Gets or sets the status of the backfill / sealing tab of the completion.
        - `waterIngress` boolean — Gets or sets the status of the water ingress tab of the hydrogeology.
        - `groundwaterLevelMeasurement` boolean — Gets or sets the status of the groundwater tab of the hydrogeology.
        - `fieldMeasurement` boolean — Gets or sets the status of the field measurement tab of the hydrogeology.
        - `hydrotest` boolean — Gets or sets the status of the hydrotest tab of the hydrogeology.
        - `profiles` boolean — Gets or sets the status of the profile tab of the borehole attachments.
        - `photos` boolean — Gets or sets the status of the photo tab of the borehole attachments.
        - `documents` boolean — Gets or sets the status of the document tab of the borehole attachments.
        - `log` boolean — Gets or sets the status of the log tab of the borehole.
        - `identifiers` boolean — Gets or sets the status of the identifiers tab of the borehole.
      - `assigneeId` integer, nullable — Gets or sets the id of the BDMS.Models.Workflow.Assignee.
      - `assignee` User — Represents a user entity in the database.
        - `id` integer, required
        - `name` string — Gets or sets the BDMS.Models.User name.
        - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
        - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
        - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
        - `email` string — Gets or sets the BDMS.Models.Users email.
        - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
        - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
        - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
        - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
          - `user` User — recursive
          - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
          - `workgroup` Workgroup — Represents a workgroup entity in the database.
            - `id` integer, required
            - `name` string, required — Gets or sets the name of the workgroup.
            - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
            - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
            - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
            - `boreholeCount` integer — Number of boreholes in the workgroup.
          - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
          - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
        - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
          - `user` User — recursive
          - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
          - `term` Term — Represents a term entity in the database.
            - `id` integer, required
            - `isDraft` boolean — Gets or sets whetther the BDMS.Models.Term is a draft.
            - `textEn` string — Gets or sets the BDMS.Models.Term's english text.
            - `textDe` string, nullable — Gets or sets the BDMS.Models.Term's german text.
            - `textFr` string, nullable — Gets or sets the BDMS.Models.Term's french text.
            - `textIt` string, nullable — Gets or sets the BDMS.Models.Term's italian text.
            - `textRo` string, nullable — Gets or sets the BDMS.Models.Term's romansch text.
            - `creation` string, date-time — Gets or sets the BDMS.Models.Term's creation date.
            - `expiration` string, date-time, nullable — Gets or sets the BDMS.Models.Term's expiration date.
          - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
        - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
      - `changes` WorkflowChange[] — Get the BDMS.Models.WorkflowChanges associated with this BDMS.Models.Workflow.
        - `id` integer, required
        - `comment` string — Gets or sets the comment for the change.
        - `fromStatus` 'Draft' | 'InReview' | 'Reviewed' | 'Published' — Represents the status of a BDMS.Models.Workflow.
        - `toStatus` 'Draft' | 'InReview' | 'Reviewed' | 'Published' — Represents the status of a BDMS.Models.Workflow.
        - `workflowId` integer, required — Gets or sets the id of the BDMS.Models.WorkflowChange.Workflow.
        - `workflow` Workflow — recursive
        - `createdById` integer, nullable — Gets or sets the id of the BDMS.Models.User who created the entity.
        - `creator` User — Represents a user entity in the database.
          - `id` integer, required
          - `name` string — Gets or sets the BDMS.Models.User name.
          - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
          - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
          - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
          - `email` string — Gets or sets the BDMS.Models.Users email.
          - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
          - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
          - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
            - `user` User — recursive
            - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
            - `workgroup` Workgroup — Represents a workgroup entity in the database.
              - …
            - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
            - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
          - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
            - `user` User — recursive
            - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
            - `term` Term — Represents a term entity in the database.
              - …
            - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
          - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
        - `createdAt` string, date-time, nullable — Gets or sets the creation date.
        - `assigneeId` integer, nullable — Gets or sets the id of the BDMS.Models.User who is assigned to the change.
        - `toAssignee` User — Represents a user entity in the database.
          - `id` integer, required
          - `name` string — Gets or sets the BDMS.Models.User name.
          - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
          - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
          - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
          - `email` string — Gets or sets the BDMS.Models.Users email.
          - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
          - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
          - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
            - `user` User — recursive
            - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
            - `workgroup` Workgroup — Represents a workgroup entity in the database.
              - …
            - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
            - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
          - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
            - `user` User — recursive
            - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
            - `term` Term — Represents a term entity in the database.
              - …
            - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
          - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
    - `stratigraphies` Stratigraphy[], nullable — Gets the BDMS.Models.Borehole's stratigraphies.
    - `completions` Completion[], nullable — Gets the BDMS.Models.Borehole's completions.
      - `id` integer, required
      - `boreholeId` integer, required — Gets or sets foreign key for the BDMS.Models.Borehole of this BDMS.Models.Completion.
      - `borehole` Borehole — recursive
      - `isPrimary` boolean — Gets or sets whether this BDMS.Models.Completion is the primary BDMS.Models.Completion.
      - `name` string, nullable — Gets or sets the BDMS.Models.Completion's name.
      - `kindId` integer, required — Gets or sets the BDMS.Models.Completion's type id.
      - `kind` Codelist — Represents a codelist entity in the database.
        - `id` integer, required
        - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
        - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
        - `code` string — Gets or sets the BDMS.Models.Codelist's code.
        - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
        - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
        - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
        - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
        - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
        - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
        - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
        - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
        - `path` LTree
          - `nLevel` integer
      - `notes` string, nullable — Gets or sets the BDMS.Models.Completion's notes.
      - `abandonDate` string, date, nullable — Gets or sets the BDMS.Models.Completion's abandon date.
      - `createdById` integer, nullable
      - `createdBy` User — Represents a user entity in the database.
        - `id` integer, required
        - `name` string — Gets or sets the BDMS.Models.User name.
        - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
        - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
        - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
        - `email` string — Gets or sets the BDMS.Models.Users email.
        - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
        - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
        - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
        - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
          - `user` User — recursive
          - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
          - `workgroup` Workgroup — Represents a workgroup entity in the database.
            - `id` integer, required
            - `name` string, required — Gets or sets the name of the workgroup.
            - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
            - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
            - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
            - `boreholeCount` integer — Number of boreholes in the workgroup.
          - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
          - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
        - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
          - `user` User — recursive
          - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
          - `term` Term — Represents a term entity in the database.
            - `id` integer, required
            - `isDraft` boolean — Gets or sets whetther the BDMS.Models.Term is a draft.
            - `textEn` string — Gets or sets the BDMS.Models.Term's english text.
            - `textDe` string, nullable — Gets or sets the BDMS.Models.Term's german text.
            - `textFr` string, nullable — Gets or sets the BDMS.Models.Term's french text.
            - `textIt` string, nullable — Gets or sets the BDMS.Models.Term's italian text.
            - `textRo` string, nullable — Gets or sets the BDMS.Models.Term's romansch text.
            - `creation` string, date-time — Gets or sets the BDMS.Models.Term's creation date.
            - `expiration` string, date-time, nullable — Gets or sets the BDMS.Models.Term's expiration date.
          - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
        - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
      - `created` string, date-time, nullable
      - `updatedById` integer, nullable
      - `updatedBy` User — Represents a user entity in the database.
        - `id` integer, required
        - `name` string — Gets or sets the BDMS.Models.User name.
        - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
        - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
        - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
        - `email` string — Gets or sets the BDMS.Models.Users email.
        - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
        - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
        - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
        - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
          - `user` User — recursive
          - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
          - `workgroup` Workgroup — Represents a workgroup entity in the database.
            - `id` integer, required
            - `name` string, required — Gets or sets the name of the workgroup.
            - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
            - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
            - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
            - `boreholeCount` integer — Number of boreholes in the workgroup.
          - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
          - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
        - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
          - `user` User — recursive
          - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
          - `term` Term — Represents a term entity in the database.
            - `id` integer, required
            - `isDraft` boolean — Gets or sets whetther the BDMS.Models.Term is a draft.
            - `textEn` string — Gets or sets the BDMS.Models.Term's english text.
            - `textDe` string, nullable — Gets or sets the BDMS.Models.Term's german text.
            - `textFr` string, nullable — Gets or sets the BDMS.Models.Term's french text.
            - `textIt` string, nullable — Gets or sets the BDMS.Models.Term's italian text.
            - `textRo` string, nullable — Gets or sets the BDMS.Models.Term's romansch text.
            - `creation` string, date-time — Gets or sets the BDMS.Models.Term's creation date.
            - `expiration` string, date-time, nullable — Gets or sets the BDMS.Models.Term's expiration date.
          - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
        - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
      - `updated` string, date-time, nullable
      - `instrumentations` Instrumentation[], nullable — Gets the BDMS.Models.Instrumentations associated with the BDMS.Models.Completion.
        - `id` integer, required
        - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Instrumentation.Completion of this BDMS.Models.Instrumentation.
        - `completion` Completion — recursive
        - `fromDepth` number, double, nullable — Gets or sets the BDMS.Models.Instrumentation's upper depth.
        - `toDepth` number, double, nullable — Gets or sets the BDMS.Models.Instrumentation's lower depth.
        - `name` string, nullable — Gets or sets the BDMS.Models.Instrumentation's name.
        - `kindId` integer, nullable — Gets or sets the id BDMS.Models.Instrumentation's kind.
        - `kind` Codelist — Represents a codelist entity in the database.
          - `id` integer, required
          - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
          - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
          - `code` string — Gets or sets the BDMS.Models.Codelist's code.
          - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
          - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
          - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
          - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
          - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
          - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
          - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
          - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
          - `path` LTree
            - `nLevel` integer
        - `statusId` integer, nullable — Gets or sets the id of the BDMS.Models.Instrumentation's status.
        - `status` Codelist — Represents a codelist entity in the database.
          - `id` integer, required
          - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
          - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
          - `code` string — Gets or sets the BDMS.Models.Codelist's code.
          - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
          - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
          - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
          - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
          - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
          - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
          - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
          - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
          - `path` LTree
            - `nLevel` integer
        - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Instrumentation belongs to an open borehole.
        - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Instrumentation's casing.
        - `casing` Casing — Represents a Casing entity in the database.
          - `id` integer, required
          - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Casing.Completion of this BDMS.Models.Casing.
          - `completion` Completion — recursive
          - `name` string — Gets or sets the BDMS.Models.Casing's name.
          - `dateStart` string, date, nullable — Gets or sets the BDMS.Models.Casing's start date.
          - `dateFinish` string, date, nullable — Gets or sets the BDMS.Models.Casing's finish date.
          - `notes` string, nullable — Gets or sets the BDMS.Models.Casing's notes.
          - `instrumentations` Instrumentation[], nullable — Gets the BDMS.Models.Instrumentations associated with the BDMS.Models.Casing.
          - `backfills` Backfill[], nullable — Gets the BDMS.Models.Backfills associated with the BDMS.Models.Casing.
            - `id` integer, required
            - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Backfill.Completion of this BDMS.Models.Backfill.
            - `completion` Completion — recursive
            - `fromDepth` number, double, nullable — Gets or sets the BDMS.Models.Backfill's upper depth.
            - `toDepth` number, double, nullable — Gets or sets the BDMS.Models.Backfill's lower depth.
            - `kindId` integer, nullable — Gets or sets the id BDMS.Models.Backfill's kind.
            - `kind` Codelist — Represents a codelist entity in the database.
              - …
            - `materialId` integer, nullable — Gets or sets the id of the BDMS.Models.Backfill's status.
            - `material` Codelist — Represents a codelist entity in the database.
              - …
            - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Backfill belongs to an open borehole.
            - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Backfill's casing.
            - `casing` Casing — recursive
            - `notes` string, nullable — Gets or sets the BDMS.Models.Backfill's notes.
            - `createdById` integer, nullable
            - `createdBy` User — Represents a user entity in the database.
              - …
            - `created` string, date-time, nullable
            - `updatedById` integer, nullable
            - `updatedBy` User — Represents a user entity in the database.
              - …
            - `updated` string, date-time, nullable
          - `observations` Observation[], nullable — Gets the BDMS.Models.Observations associated with the BDMS.Models.Casing.
            - `id` integer, required — Gets or sets the BDMS.Models.Observation's id.
            - `type` 0 | 1 | 2 | 3 | 4 — Represents an observation type.
            - `startTime` string, date-time, nullable — Gets or sets the BDMS.Models.Observation's start time.
            - `endTime` string, date-time, nullable — Gets or sets the BDMS.Models.Observation's end time.
            - `duration` number, double, nullable — Gets or sets the BDMS.Models.Observation's duration.
            - `originalVerticalReferenceSystem` 0 | 1 | 2 — The system that is used to describe borehole depths.
            - `fromDepthM` number, double, nullable — Gets or sets the BDMS.Models.Observation's from depth in m.
            - `toDepthM` number, double, nullable — Gets or sets the BDMS.Models.Observation's to depth in m.
            - `fromDepthMasl` number, double, nullable — Gets or sets the BDMS.Models.Observation's from depth in m a.s.l.
            - `toDepthMasl` number, double, nullable — Gets or sets the BDMS.Models.Observation's to depth in m a.s.l.
            - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Observation's casing.
            - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Observation belongs to an open borehole.
            - `casing` Casing — recursive
            - `comment` string, nullable — Gets or sets the BDMS.Models.Observation's comment.
            - `reliabilityId` integer, nullable — Gets or sets the BDMS.Models.Observation's reliability id.
            - `reliability` Codelist — Represents a codelist entity in the database.
              - …
            - `boreholeId` integer, required — Gets or sets the BDMS.Models.Observation's borehole id.
            - `createdById` integer, nullable
            - `createdBy` User — Represents a user entity in the database.
              - …
            - `created` string, date-time, nullable
            - `updatedById` integer, nullable
            - `updatedBy` User — Represents a user entity in the database.
              - …
            - `updated` string, date-time, nullable
          - `casingElements` CasingElement[] — Gets the BDMS.Models.CasingElements of the BDMS.Models.Casing.
            - `id` integer, required
            - `casingId` integer, required — Gets or sets foreign key for the BDMS.Models.CasingElement.Casing of this BDMS.Models.CasingElement.
            - `casing` Casing — recursive
            - `fromDepth` number, double — Gets or sets the BDMS.Models.CasingElement's upper depth.
            - `toDepth` number, double — Gets or sets the BDMS.Models.CasingElement's lower depth.
            - `kindId` integer, required — Gets or sets the BDMS.Models.CasingElement.Casing's kind id.
            - `kind` Codelist — Represents a codelist entity in the database.
              - …
            - `materialId` integer, nullable — Gets or sets the id of the BDMS.Models.CasingElement.Casing's material.
            - `material` Codelist — Represents a codelist entity in the database.
              - …
            - `innerDiameter` number, double, nullable — Gets or sets the BDMS.Models.CasingElement.Casing's inner diameter.
            - `outerDiameter` number, double, nullable — Gets or sets the BDMS.Models.CasingElement.Casing's outer diameter.
            - `createdById` integer, nullable
            - `createdBy` User — Represents a user entity in the database.
              - …
            - `created` string, date-time, nullable
            - `updatedById` integer, nullable
            - `updatedBy` User — Represents a user entity in the database.
              - …
            - `updated` string, date-time, nullable
          - `createdById` integer, nullable
          - `createdBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `created` string, date-time, nullable
          - `updatedById` integer, nullable
          - `updatedBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `updated` string, date-time, nullable
        - `notes` string, nullable — Gets or sets the BDMS.Models.Instrumentation's notes.
        - `createdById` integer, nullable
        - `createdBy` User — Represents a user entity in the database.
          - `id` integer, required
          - `name` string — Gets or sets the BDMS.Models.User name.
          - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
          - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
          - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
          - `email` string — Gets or sets the BDMS.Models.Users email.
          - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
          - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
          - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
            - `user` User — recursive
            - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
            - `workgroup` Workgroup — Represents a workgroup entity in the database.
              - …
            - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
            - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
          - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
            - `user` User — recursive
            - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
            - `term` Term — Represents a term entity in the database.
              - …
            - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
          - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
        - `created` string, date-time, nullable
        - `updatedById` integer, nullable
        - `updatedBy` User — Represents a user entity in the database.
          - `id` integer, required
          - `name` string — Gets or sets the BDMS.Models.User name.
          - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
          - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
          - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
          - `email` string — Gets or sets the BDMS.Models.Users email.
          - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
          - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
          - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
            - `user` User — recursive
            - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
            - `workgroup` Workgroup — Represents a workgroup entity in the database.
              - …
            - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
            - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
          - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
            - `user` User — recursive
            - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
            - `term` Term — Represents a term entity in the database.
              - …
            - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
          - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
        - `updated` string, date-time, nullable
      - `backfills` Backfill[], nullable — Gets the BDMS.Models.Backfills associated with the BDMS.Models.Completion.
        - `id` integer, required
        - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Backfill.Completion of this BDMS.Models.Backfill.
        - `completion` Completion — recursive
        - `fromDepth` number, double, nullable — Gets or sets the BDMS.Models.Backfill's upper depth.
        - `toDepth` number, double, nullable — Gets or sets the BDMS.Models.Backfill's lower depth.
        - `kindId` integer, nullable — Gets or sets the id BDMS.Models.Backfill's kind.
        - `kind` Codelist — Represents a codelist entity in the database.
          - `id` integer, required
          - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
          - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
          - `code` string — Gets or sets the BDMS.Models.Codelist's code.
          - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
          - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
          - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
          - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
          - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
          - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
          - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
          - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
          - `path` LTree
            - `nLevel` integer
        - `materialId` integer, nullable — Gets or sets the id of the BDMS.Models.Backfill's status.
        - `material` Codelist — Represents a codelist entity in the database.
          - `id` integer, required
          - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
          - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
          - `code` string — Gets or sets the BDMS.Models.Codelist's code.
          - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
          - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
          - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
          - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
          - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
          - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
          - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
          - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
          - `path` LTree
            - `nLevel` integer
        - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Backfill belongs to an open borehole.
        - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Backfill's casing.
        - `casing` Casing — Represents a Casing entity in the database.
          - `id` integer, required
          - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Casing.Completion of this BDMS.Models.Casing.
          - `completion` Completion — recursive
          - `name` string — Gets or sets the BDMS.Models.Casing's name.
          - `dateStart` string, date, nullable — Gets or sets the BDMS.Models.Casing's start date.
          - `dateFinish` string, date, nullable — Gets or sets the BDMS.Models.Casing's finish date.
          - `notes` string, nullable — Gets or sets the BDMS.Models.Casing's notes.
          - `instrumentations` Instrumentation[], nullable — Gets the BDMS.Models.Instrumentations associated with the BDMS.Models.Casing.
            - `id` integer, required
            - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Instrumentation.Completion of this BDMS.Models.Instrumentation.
            - `completion` Completion — recursive
            - `fromDepth` number, double, nullable — Gets or sets the BDMS.Models.Instrumentation's upper depth.
            - `toDepth` number, double, nullable — Gets or sets the BDMS.Models.Instrumentation's lower depth.
            - `name` string, nullable — Gets or sets the BDMS.Models.Instrumentation's name.
            - `kindId` integer, nullable — Gets or sets the id BDMS.Models.Instrumentation's kind.
            - `kind` Codelist — Represents a codelist entity in the database.
              - …
            - `statusId` integer, nullable — Gets or sets the id of the BDMS.Models.Instrumentation's status.
            - `status` Codelist — Represents a codelist entity in the database.
              - …
            - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Instrumentation belongs to an open borehole.
            - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Instrumentation's casing.
            - `casing` Casing — recursive
            - `notes` string, nullable — Gets or sets the BDMS.Models.Instrumentation's notes.
            - `createdById` integer, nullable
            - `createdBy` User — Represents a user entity in the database.
              - …
            - `created` string, date-time, nullable
            - `updatedById` integer, nullable
            - `updatedBy` User — Represents a user entity in the database.
              - …
            - `updated` string, date-time, nullable
          - `backfills` Backfill[], nullable — Gets the BDMS.Models.Backfills associated with the BDMS.Models.Casing.
          - `observations` Observation[], nullable — Gets the BDMS.Models.Observations associated with the BDMS.Models.Casing.
            - `id` integer, required — Gets or sets the BDMS.Models.Observation's id.
            - `type` 0 | 1 | 2 | 3 | 4 — Represents an observation type.
            - `startTime` string, date-time, nullable — Gets or sets the BDMS.Models.Observation's start time.
            - `endTime` string, date-time, nullable — Gets or sets the BDMS.Models.Observation's end time.
            - `duration` number, double, nullable — Gets or sets the BDMS.Models.Observation's duration.
            - `originalVerticalReferenceSystem` 0 | 1 | 2 — The system that is used to describe borehole depths.
            - `fromDepthM` number, double, nullable — Gets or sets the BDMS.Models.Observation's from depth in m.
            - `toDepthM` number, double, nullable — Gets or sets the BDMS.Models.Observation's to depth in m.
            - `fromDepthMasl` number, double, nullable — Gets or sets the BDMS.Models.Observation's from depth in m a.s.l.
            - `toDepthMasl` number, double, nullable — Gets or sets the BDMS.Models.Observation's to depth in m a.s.l.
            - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Observation's casing.
            - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Observation belongs to an open borehole.
            - `casing` Casing — recursive
            - `comment` string, nullable — Gets or sets the BDMS.Models.Observation's comment.
            - `reliabilityId` integer, nullable — Gets or sets the BDMS.Models.Observation's reliability id.
            - `reliability` Codelist — Represents a codelist entity in the database.
              - …
            - `boreholeId` integer, required — Gets or sets the BDMS.Models.Observation's borehole id.
            - `createdById` integer, nullable
            - `createdBy` User — Represents a user entity in the database.
              - …
            - `created` string, date-time, nullable
            - `updatedById` integer, nullable
            - `updatedBy` User — Represents a user entity in the database.
              - …
            - `updated` string, date-time, nullable
          - `casingElements` CasingElement[] — Gets the BDMS.Models.CasingElements of the BDMS.Models.Casing.
            - `id` integer, required
            - `casingId` integer, required — Gets or sets foreign key for the BDMS.Models.CasingElement.Casing of this BDMS.Models.CasingElement.
            - `casing` Casing — recursive
            - `fromDepth` number, double — Gets or sets the BDMS.Models.CasingElement's upper depth.
            - `toDepth` number, double — Gets or sets the BDMS.Models.CasingElement's lower depth.
            - `kindId` integer, required — Gets or sets the BDMS.Models.CasingElement.Casing's kind id.
            - `kind` Codelist — Represents a codelist entity in the database.
              - …
            - `materialId` integer, nullable — Gets or sets the id of the BDMS.Models.CasingElement.Casing's material.
            - `material` Codelist — Represents a codelist entity in the database.
              - …
            - `innerDiameter` number, double, nullable — Gets or sets the BDMS.Models.CasingElement.Casing's inner diameter.
            - `outerDiameter` number, double, nullable — Gets or sets the BDMS.Models.CasingElement.Casing's outer diameter.
            - `createdById` integer, nullable
            - `createdBy` User — Represents a user entity in the database.
              - …
            - `created` string, date-time, nullable
            - `updatedById` integer, nullable
            - `updatedBy` User — Represents a user entity in the database.
              - …
            - `updated` string, date-time, nullable
          - `createdById` integer, nullable
          - `createdBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `created` string, date-time, nullable
          - `updatedById` integer, nullable
          - `updatedBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `updated` string, date-time, nullable
        - `notes` string, nullable — Gets or sets the BDMS.Models.Backfill's notes.
        - `createdById` integer, nullable
        - `createdBy` User — Represents a user entity in the database.
          - `id` integer, required
          - `name` string — Gets or sets the BDMS.Models.User name.
          - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
          - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
          - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
          - `email` string — Gets or sets the BDMS.Models.Users email.
          - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
          - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
          - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
            - `user` User — recursive
            - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
            - `workgroup` Workgroup — Represents a workgroup entity in the database.
              - …
            - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
            - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
          - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
            - `user` User — recursive
            - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
            - `term` Term — Represents a term entity in the database.
              - …
            - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
          - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
        - `created` string, date-time, nullable
        - `updatedById` integer, nullable
        - `updatedBy` User — Represents a user entity in the database.
          - `id` integer, required
          - `name` string — Gets or sets the BDMS.Models.User name.
          - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
          - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
          - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
          - `email` string — Gets or sets the BDMS.Models.Users email.
          - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
          - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
          - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
            - `user` User — recursive
            - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
            - `workgroup` Workgroup — Represents a workgroup entity in the database.
              - …
            - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
            - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
          - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
            - `user` User — recursive
            - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
            - `term` Term — Represents a term entity in the database.
              - …
            - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
          - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
        - `updated` string, date-time, nullable
      - `casings` Casing[], nullable — Gets the BDMS.Models.Casings associated with the BDMS.Models.Completion.
        - `id` integer, required
        - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Casing.Completion of this BDMS.Models.Casing.
        - `completion` Completion — recursive
        - `name` string — Gets or sets the BDMS.Models.Casing's name.
        - `dateStart` string, date, nullable — Gets or sets the BDMS.Models.Casing's start date.
        - `dateFinish` string, date, nullable — Gets or sets the BDMS.Models.Casing's finish date.
        - `notes` string, nullable — Gets or sets the BDMS.Models.Casing's notes.
        - `instrumentations` Instrumentation[], nullable — Gets the BDMS.Models.Instrumentations associated with the BDMS.Models.Casing.
          - `id` integer, required
          - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Instrumentation.Completion of this BDMS.Models.Instrumentation.
          - `completion` Completion — recursive
          - `fromDepth` number, double, nullable — Gets or sets the BDMS.Models.Instrumentation's upper depth.
          - `toDepth` number, double, nullable — Gets or sets the BDMS.Models.Instrumentation's lower depth.
          - `name` string, nullable — Gets or sets the BDMS.Models.Instrumentation's name.
          - `kindId` integer, nullable — Gets or sets the id BDMS.Models.Instrumentation's kind.
          - `kind` Codelist — Represents a codelist entity in the database.
            - `id` integer, required
            - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
            - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
            - `code` string — Gets or sets the BDMS.Models.Codelist's code.
            - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
            - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
            - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
            - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
            - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
            - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
            - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
            - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
            - `path` LTree
              - …
          - `statusId` integer, nullable — Gets or sets the id of the BDMS.Models.Instrumentation's status.
          - `status` Codelist — Represents a codelist entity in the database.
            - `id` integer, required
            - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
            - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
            - `code` string — Gets or sets the BDMS.Models.Codelist's code.
            - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
            - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
            - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
            - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
            - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
            - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
            - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
            - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
            - `path` LTree
              - …
          - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Instrumentation belongs to an open borehole.
          - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Instrumentation's casing.
          - `casing` Casing — recursive
          - `notes` string, nullable — Gets or sets the BDMS.Models.Instrumentation's notes.
          - `createdById` integer, nullable
          - `createdBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `created` string, date-time, nullable
          - `updatedById` integer, nullable
          - `updatedBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `updated` string, date-time, nullable
        - `backfills` Backfill[], nullable — Gets the BDMS.Models.Backfills associated with the BDMS.Models.Casing.
          - `id` integer, required
          - `completionId` integer, required — Gets or sets foreign key for the BDMS.Models.Backfill.Completion of this BDMS.Models.Backfill.
          - `completion` Completion — recursive
          - `fromDepth` number, double, nullable — Gets or sets the BDMS.Models.Backfill's upper depth.
          - `toDepth` number, double, nullable — Gets or sets the BDMS.Models.Backfill's lower depth.
          - `kindId` integer, nullable — Gets or sets the id BDMS.Models.Backfill's kind.
          - `kind` Codelist — Represents a codelist entity in the database.
            - `id` integer, required
            - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
            - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
            - `code` string — Gets or sets the BDMS.Models.Codelist's code.
            - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
            - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
            - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
            - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
            - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
            - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
            - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
            - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
            - `path` LTree
              - …
          - `materialId` integer, nullable — Gets or sets the id of the BDMS.Models.Backfill's status.
          - `material` Codelist — Represents a codelist entity in the database.
            - `id` integer, required
            - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
            - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
            - `code` string — Gets or sets the BDMS.Models.Codelist's code.
            - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
            - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
            - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
            - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
            - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
            - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
            - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
            - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
            - `path` LTree
              - …
          - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Backfill belongs to an open borehole.
          - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Backfill's casing.
          - `casing` Casing — recursive
          - `notes` string, nullable — Gets or sets the BDMS.Models.Backfill's notes.
          - `createdById` integer, nullable
          - `createdBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `created` string, date-time, nullable
          - `updatedById` integer, nullable
          - `updatedBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `updated` string, date-time, nullable
        - `observations` Observation[], nullable — Gets the BDMS.Models.Observations associated with the BDMS.Models.Casing.
          - `id` integer, required — Gets or sets the BDMS.Models.Observation's id.
          - `type` 0 | 1 | 2 | 3 | 4 — Represents an observation type.
          - `startTime` string, date-time, nullable — Gets or sets the BDMS.Models.Observation's start time.
          - `endTime` string, date-time, nullable — Gets or sets the BDMS.Models.Observation's end time.
          - `duration` number, double, nullable — Gets or sets the BDMS.Models.Observation's duration.
          - `originalVerticalReferenceSystem` 0 | 1 | 2 — The system that is used to describe borehole depths.
          - `fromDepthM` number, double, nullable — Gets or sets the BDMS.Models.Observation's from depth in m.
          - `toDepthM` number, double, nullable — Gets or sets the BDMS.Models.Observation's to depth in m.
          - `fromDepthMasl` number, double, nullable — Gets or sets the BDMS.Models.Observation's from depth in m a.s.l.
          - `toDepthMasl` number, double, nullable — Gets or sets the BDMS.Models.Observation's to depth in m a.s.l.
          - `casingId` integer, nullable — Gets or sets id of the BDMS.Models.Observation's casing.
          - `isOpenBorehole` boolean — Gets or sets whether or not the BDMS.Models.Observation belongs to an open borehole.
          - `casing` Casing — recursive
          - `comment` string, nullable — Gets or sets the BDMS.Models.Observation's comment.
          - `reliabilityId` integer, nullable — Gets or sets the BDMS.Models.Observation's reliability id.
          - `reliability` Codelist — Represents a codelist entity in the database.
            - `id` integer, required
            - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
            - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
            - `code` string — Gets or sets the BDMS.Models.Codelist's code.
            - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
            - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
            - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
            - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
            - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
            - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
            - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
            - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
            - `path` LTree
              - …
          - `boreholeId` integer, required — Gets or sets the BDMS.Models.Observation's borehole id.
          - `createdById` integer, nullable
          - `createdBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `created` string, date-time, nullable
          - `updatedById` integer, nullable
          - `updatedBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `updated` string, date-time, nullable
        - `casingElements` CasingElement[] — Gets the BDMS.Models.CasingElements of the BDMS.Models.Casing.
          - `id` integer, required
          - `casingId` integer, required — Gets or sets foreign key for the BDMS.Models.CasingElement.Casing of this BDMS.Models.CasingElement.
          - `casing` Casing — recursive
          - `fromDepth` number, double — Gets or sets the BDMS.Models.CasingElement's upper depth.
          - `toDepth` number, double — Gets or sets the BDMS.Models.CasingElement's lower depth.
          - `kindId` integer, required — Gets or sets the BDMS.Models.CasingElement.Casing's kind id.
          - `kind` Codelist — Represents a codelist entity in the database.
            - `id` integer, required
            - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
            - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
            - `code` string — Gets or sets the BDMS.Models.Codelist's code.
            - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
            - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
            - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
            - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
            - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
            - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
            - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
            - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
            - `path` LTree
              - …
          - `materialId` integer, nullable — Gets or sets the id of the BDMS.Models.CasingElement.Casing's material.
          - `material` Codelist — Represents a codelist entity in the database.
            - `id` integer, required
            - `geolcode` integer, nullable — Gets or sets the BDMS.Models.Codelist's geolcode.
            - `schema` string, nullable — Gets or sets the BDMS.Models.Codelist's schema.
            - `code` string — Gets or sets the BDMS.Models.Codelist's code.
            - `en` string — Gets or sets the BDMS.Models.Codelist's english text.
            - `de` string, nullable — Gets or sets the BDMS.Models.Codelist's german text.
            - `fr` string, nullable — Gets or sets the BDMS.Models.Codelist 's french text.
            - `it` string, nullable — Gets or sets the BDMS.Models.Codelist's italian text.
            - `ro` string, nullable — Gets or sets the BDMS.Models.Codelist's romantsch text.
            - `order` integer, nullable — Gets or sets the BDMS.Models.Codelist's order.
            - `conf` string, nullable — Gets or sets the BDMS.Models.Codelist's configuration.
            - `isDefault` boolean, nullable — Gets or sets whether the BDMS.Models.Codelist is default.
            - `path` LTree
              - …
          - `innerDiameter` number, double, nullable — Gets or sets the BDMS.Models.CasingElement.Casing's inner diameter.
          - `outerDiameter` number, double, nullable — Gets or sets the BDMS.Models.CasingElement.Casing's outer diameter.
          - `createdById` integer, nullable
          - `createdBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `created` string, date-time, nullable
          - `updatedById` integer, nullable
          - `updatedBy` User — Represents a user entity in the database.
            - `id` integer, required
            - `name` string — Gets or sets the BDMS.Models.User name.
            - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
            - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
            - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
            - `email` string — Gets or sets the BDMS.Models.Users email.
            - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
            - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
            - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
            - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
              - …
            - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
              - …
            - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
          - `updated` string, date-time, nullable
        - `createdById` integer, nullable
        - `createdBy` User — Represents a user entity in the database.
          - `id` integer, required
          - `name` string — Gets or sets the BDMS.Models.User name.
          - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
          - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
          - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
          - `email` string — Gets or sets the BDMS.Models.Users email.
          - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
          - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
          - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
            - `user` User — recursive
            - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
            - `workgroup` Workgroup — Represents a workgroup entity in the database.
              - …
            - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
            - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
          - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
            - `user` User — recursive
            - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
            - `term` Term — Represents a term entity in the database.
              - …
            - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
          - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
        - `created` string, date-time, nullable
        - `updatedById` integer, nullable
        - `updatedBy` User — Represents a user entity in the database.
          - `id` integer, required
          - `name` string — Gets or sets the BDMS.Models.User name.
          - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
          - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
          - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
          - `email` string — Gets or sets the BDMS.Models.Users email.
          - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
          - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
          - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
          - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
          - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
            - `user` User — recursive
            - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
            - `workgroup` Workgroup — Represents a workgroup entity in the database.
              - …
            - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
            - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
          - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
            - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
            - `user` User — recursive
            - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
            - `term` Term — Represents a term entity in the database.
              - …
            - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
          - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
        - `updated` string, date-time, nullable
    - `sections` Section[], nullable — Gets the BDMS.Models.Borehole's BDMS.Models.Sections.
      - `id` integer, required
      - `boreholeId` integer, required — Gets or sets foreign key for the BDMS.Models.Borehole of this BDMS.Models.Section.
      - `borehole` Borehole — recursive
      - `name` string — Gets or sets the BDMS.Models.Section's name.
      - `createdById` integer, nullable
      - `createdBy` User — Represents a user entity in the database.
        - `id` integer, required
        - `name` string — Gets or sets the BDMS.Models.User name.
        - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
        - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
        - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
        - `email` string — Gets or sets the BDMS.Models.Users email.
        - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
        - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
        - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
        - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
          - `user` User — recursive
          - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
          - `workgroup` Workgroup — Represents a workgroup entity in the database.
            - `id` integer, required
            - `name` string, required — Gets or sets the name of the workgroup.
            - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
            - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
            - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
            - `boreholeCount` integer — Number of boreholes in the workgroup.
          - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
          - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
        - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
          - `user` User — recursive
          - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
          - `term` Term — Represents a term entity in the database.
            - `id` integer, required
            - `isDraft` boolean — Gets or sets whetther the BDMS.Models.Term is a draft.
            - `textEn` string — Gets or sets the BDMS.Models.Term's english text.
            - `textDe` string, nullable — Gets or sets the BDMS.Models.Term's german text.
            - `textFr` string, nullable — Gets or sets the BDMS.Models.Term's french text.
            - `textIt` string, nullable — Gets or sets the BDMS.Models.Term's italian text.
            - `textRo` string, nullable — Gets or sets the BDMS.Models.Term's romansch text.
            - `creation` string, date-time — Gets or sets the BDMS.Models.Term's creation date.
            - `expiration` string, date-time, nullable — Gets or sets the BDMS.Models.Term's expiration date.
          - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
        - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
      - `created` string, date-time, nullable
      - `updatedById` integer, nullable
      - `updatedBy` User — Represents a user entity in the database.
        - `id` integer, required
        - `name` string — Gets or sets the BDMS.Models.User name.
        - `subjectId` string — Gets or sets the BDMS.Models.Users subject id provided by oidc.
        - `firstName` string — Gets or sets the BDMS.Models.Users firstname.
        - `lastName` string — Gets or sets the BDMS.Models.Users lastname.
        - `email` string — Gets or sets the BDMS.Models.Users email.
        - `isAdmin` boolean — Gets or sets whether the BDMS.Models.User has admin privileges.
        - `isDisabled` boolean — Gets the value whether the BDMS.Models.User is disabled or not.
        - `disabledAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `createdAt` string, date-time, nullable — Gets or sets the timestamp from the moment a BDMS.Models.User got disabled.
        - `settings` string, nullable — Gets or sets the BDMS.Models.Users settings.
        - `workgroupRoles` UserWorkgroupRole[] — Gets the WorkgroupRoles.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.User entity.
          - `user` User — recursive
          - `workgroupId` integer, required — Gets or sets the foreign key to the BDMS.Models.UserWorkgroupRole.Workgroup entity.
          - `workgroup` Workgroup — Represents a workgroup entity in the database.
            - `id` integer, required
            - `name` string, required — Gets or sets the name of the workgroup.
            - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
            - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
            - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
            - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
            - `boreholeCount` integer — Number of boreholes in the workgroup.
          - `role` 'View' | 'Editor' | 'Controller' | 'Validator' | 'Publisher' — Represents a role entity in the database.
          - `isActive` boolean, nullable — Gets or sets whether the role is active or not.
        - `termsAccepted` TermsAccepted[] — Gets the TermsAccepted.
          - `userId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.User entity.
          - `user` User — recursive
          - `termId` integer, required — Gets or sets the foreign key to the BDMS.Models.TermsAccepted.Term entity.
          - `term` Term — Represents a term entity in the database.
            - `id` integer, required
            - `isDraft` boolean — Gets or sets whetther the BDMS.Models.Term is a draft.
            - `textEn` string — Gets or sets the BDMS.Models.Term's english text.
            - `textDe` string, nullable — Gets or sets the BDMS.Models.Term's german text.
            - `textFr` string, nullable — Gets or sets the BDMS.Models.Term's french text.
            - `textIt` string, nullable — Gets or sets the BDMS.Models.Term's italian text.
            - `textRo` string, nullable — Gets or sets the BDMS.Models.Term's romansch text.
            - `creation` string, date-time — Gets or sets the BDMS.Models.Term's creation date.
            - `expiration` string, date-time, nullable — Gets or sets the BDMS.Models.Term's expiration date.
          - `acceptedAt` string, date-time — Gets or sets the timestamp from the moment the terms got accepted.
        - `deletable` boolean, nullable — Gets or sets whether this user can be deleted.
- … truncated; see the full OpenAPI document linked below

---

[API](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2.md) · [All operations](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geoadmin/boreholes-rest-api-v2/versions/e6d0b4ee0f52/schema)
