{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "https://app.somn.io/api/interoperability/profile-export-schema-json",
  "definitions": {
    "pid": {
      "type": "object",
      "title": "PID",
      "description": "Object identifying the patient in the program",
      "default": "",
      "examples": [
      ],
      "properties": {
        "use": {
          "type": "string",
          "title": "Use",
          "description": "Purpose of the identifier. Possible values are: usual | official | temp | secondary | old",
          "default": "usual",
          "examples": [
            "usual"
          ]
        },
        "type": {
          "type": "object",
          "title": "Type",
          "description": "Type of the identifier",
          "default": "",
          "examples": [
          ],
          "properties": {
            "coding": {
              "type": "array",
              "title": "Coding",
              "description": "Describes, how the identifier is encoded",
              "default": "",
              "examples": [
              ],
              "items": {
                "$ref": "#/definitions/mrtype"
              }
            },
            "text": {
              "type": "string",
              "title": "Text",
              "description": "Human readable representation of the identifier system",
              "default": "Technical database identifier",
              "examples": [
                "_id_abc123"
              ]
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "system": {
          "type": "string",
          "title": "System",
          "description": "Describes the system (namespace) in which the identifier is used",
          "default": "de.mementor",
          "examples": [
            "de.mementor"
          ]
        },
        "value": {
          "type": "string",
          "title": "Value",
          "description": "The unique identifier of the patient",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        }
      },
      "required": [
        "use",
        "type",
        "system",
        "value"
      ]
    },
    "mrtype": {
      "type": "object",
      "title": "MR Type",
      "description": "Describes the type of the identifier",
      "default": "",
      "examples": [
      ],
      "properties": {
        "system": {
          "type": "string",
          "format": "uri",
          "title": "System",
          "description": "The identification of the code system that defines the meaning of the symbol in the code",
          "default": "http://terminology.hl7.org/CodeSystem/v2-0203",
          "examples": [
            "http://terminology.hl7.org/CodeSystem/v2-0203"
          ]
        },
        "version": {
          "type": "string",
          "title": "Version",
          "description": "Version of the identifier used",
          "default": "",
          "examples": [
            "1"
          ]
        },
        "code": {
          "type": "string",
          "title": "Code",
          "description": "Fixed value defined by the KBV_PR_Base_Patient profile",
          "default": "MR",
          "examples": [
            "MR"
          ]
        },
        "display": {
          "type": "string",
          "title": "Display",
          "description": "Identifier value as displayed by the system",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "userSelected": {
          "type": "boolean",
          "title": "User Selected",
          "description": "Whether the user has selected this type of coding for the identifier",
          "default": "false",
          "examples": [
            "false"
          ]
        }
      },
      "required": [
        "system",
        "version",
        "code",
        "display",
        "userSelected"
      ]
    },
    "KBV_PR_Base_Patient": {
      "type": "object",
      "title": "The FHIR-compliant KBV_PR_Base_Patient schema",
      "description": "Patient model according to the FHIR specification: see https://mio.kbv.de/pages/viewpage.action?pageId=31031611, specification see https://simplifier.net/base1x0/kbvprbasepatient",
      "default": {},
      "required": [
        "pid",
        "gender",
        "birthDate",
        "telecom"
      ],
      "properties": {
        "pid": {
          "type": "array",
          "title": "PID",
          "description": "Technical property that unambiguously identifies the person",
          "default": "",
          "examples": [
          ],
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/pid"
          }
        },
        "gender": {
          "type": "string",
          "title": "Gender",
          "description": "The gender can have the values male | female | other | unknown",
          "default": "",
          "examples": [
            "female"
          ]
        },
        "birthDate": {
          "type": "integer",
          "title": "The year of birth",
          "description": "Since in somnio, the birthdate is not captured, it is only possible to indicate a rough estimation of the birth year by subtracting the age from the user's joined date",
          "default": "",
          "examples": [
            1988
          ]
        },
        "telecom": {
          "type": "array",
          "title": "Contact information based on the FHIR specification",
          "description": "Array of telecom data. At somnio, only the mail address is captured",
          "default": [],
          "examples": [
            {
              "system": "email",
              "value": "mail@example.com"
            }
          ]
        }
      }
    },
    "module": {
      "type": "object",
      "title": "Module",
      "description": "User data stored per module during the somnio sleep training",
      "default": {},
      "examples": [
      ],
      "required": [
        "optional",
        "progress",
        "completed",
        "startedDate",
        "completionDate",
        "history",
        "requiredEntries",
        "createdEntries",
        "menuOpened",
        "_id",
        "module"
      ],
      "properties": {
        "optional": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/optional",
          "type": "boolean",
          "title": "Optional",
          "description": "Whether this module is optional and can be omitted during the sleep training",
          "default": false,
          "examples": [
            false
          ]
        },
        "progress": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/progress",
          "type": "integer",
          "title": "Progress",
          "description": "Progress of the user for the current module; in percent",
          "default": 0,
          "examples": [
            100
          ]
        },
        "completed": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/completed",
          "type": "boolean",
          "title": "Completed",
          "description": "Whether this module has been completed",
          "default": false,
          "examples": [
            true
          ]
        },
        "startedDate": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/startedDate",
          "type": "string",
          "format": "date-time",
          "title": "Started Date",
          "description": "Date at which the current module was started",
          "default": "",
          "examples": [
            "2020-06-04T06:13:19.198Z"
          ]
        },
        "completionDate": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/completionDate",
          "type": "string",
          "title": "Completion Date",
          "description": "Date at which the current module was completed",
          "default": "",
          "examples": [
            "2020-11-15T06:20:53.192Z"
          ]
        },
        "history": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/history",
          "type": "array",
          "title": "History",
          "description": "References to other module versions that were used before the current module was updated",
          "default": [],
          "examples": [
            [
              [
                "_id_abc123",
                "_id_abc123"
              ]
            ]
          ]
        },
        "requiredEntries": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/requiredEntries",
          "type": "integer",
          "title": "Required Entires",
          "description": "Number of sleep journal entries inserted after completion of the current module that must be present before the subsequent module can be started",
          "default": 0,
          "examples": [
            3
          ]
        },
        "createdEntries": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/createdEntries",
          "type": "integer",
          "title": "Created Entries",
          "description": "Number of sleep journal entries that have been created since the current module was completed",
          "default": 0,
          "examples": [
            2
          ]
        },
        "menuOpened": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/menuOpened",
          "type": "boolean",
          "title": "Menu Opened",
          "description": "Internal technical property to check whether the user has opened a referenced menu in the module",
          "default": false,
          "examples": [
            false
          ]
        },
        "_id": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/_id",
          "type": "string",
          "title": "ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "module": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/modules/properties/module",
          "type": "string",
          "title": "Module",
          "description": "Internal technical identifier pointing to a module object",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        }
      },
      "additionalProperties": false
    },
    "coaching": {
      "$id": "#/properties/mementor/properties/training/properties/coachings",
      "type": "object",
      "title": "Coaching",
      "description": "Properties stored for each coaching the user is assigned to",
      "default": {},
      "examples": [
      ],
      "required": [
        "version",
        "published",
        "_id",
        "released",
        "modules",
        "key",
        "name",
        "__v",
        "user",
        "client",
        "lastUpdate",
        "waitingRoom",
        "settings",
        "rating"
      ],
      "properties": {
        "version": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/version",
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            9
          ]
        },
        "published": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/published",
          "type": "boolean",
          "title": "Published",
          "description": "Whether this coaching has been published, i.e. is available to be used",
          "default": false,
          "examples": [
            false
          ]
        },
        "_id": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/_id",
          "type": "string",
          "title": "ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "released": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/released",
          "type": "boolean",
          "title": "Released",
          "description": "Internal property used to specify whether this coaching is released and ready for active use",
          "default": false,
          "examples": [
            true
          ]
        },
        "modules": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/module"
          },
          "default": []
        },
        "key": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/key",
          "type": "string",
          "title": "Key",
          "description": "Internal technical text to identify the coaching by name",
          "default": "",
          "examples": [
            "SLEEP"
          ]
        },
        "name": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/name",
          "type": "object",
          "title": "Name",
          "description": "Name of the coaching",
          "default": {},
          "examples": [
            {
              "_id": "_id_abc123",
              "de_ch": "Schlafcoaching",
              "fr_ch": "Coaching de sommeil",
              "en_us": "Sleep coaching",
              "it_ch": "Coaching del sonno"
            }
          ],
          "required": [
            "_id",
            "de_ch",
            "fr_ch",
            "en_us",
            "it_ch"
          ],
          "properties": {
            "_id": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/properties/name/properties/_id",
              "type": "string",
              "title": "ID",
              "description": "Internal technical identifier with no semantic meaning",
              "default": "",
              "examples": [
                "_id_abc123"
              ]
            },
            "de_ch": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/properties/name/properties/de_ch",
              "type": "string",
              "title": "German Translation",
              "description": "German Coaching Name",
              "default": "",
              "examples": [
                "Schlafcoaching"
              ]
            },
            "fr_ch": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/properties/name/properties/fr_ch",
              "type": "string",
              "title": "French Translation",
              "description": "French Coaching Name",
              "default": "",
              "examples": [
                "Coaching de sommeil"
              ]
            },
            "en_us": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/properties/name/properties/en_us",
              "type": "string",
              "title": "English Translation",
              "description": "English Coaching Name",
              "default": "",
              "examples": [
                "Sleep coaching"
              ]
            },
            "it_ch": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/properties/name/properties/it_ch",
              "type": "string",
              "title": "Italian Translation",
              "description": "Italian Coaching Name",
              "default": "",
              "examples": [
                "Coaching del sonno"
              ]
            }
          },
          "additionalProperties": false
        },
        "__v": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/__v",
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            6
          ]
        },
        "source": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/source",
          "type": [
            "string",
            "null"
          ],
          "title": "Source",
          "description": "Obsolete property that is no longer used",
          "default": null,
          "examples": [
            null
          ]
        },
        "user": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/user",
          "type": "string",
          "title": "User",
          "description": "Internal technical identifier referencing the user",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "client": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/client",
          "type": "string",
          "title": "Client",
          "description": "Internal value used to reference a client",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "lastUpdate": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/properties/lastUpdate",
          "type": "string",
          "format": "date-time",
          "title": "Last Update",
          "description": "Date at which the coaching was updated the last time",
          "default": "",
          "examples": [
            "2019-10-24T13:31:48.619Z"
          ]
        },
        "waitingRoom": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/waitingRoom",
          "type": "object",
          "title": "The waitingRoom schema",
          "default": {},
          "required": [
            "active",
            "pathHistory",
            "history"
          ],
          "properties": {
            "active": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/waitingRoom/properties/active",
              "type": "boolean",
              "title": "The active schema",
              "default": false,
              "examples": [
                false
              ]
            },
            "pathHistory": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/waitingRoom/properties/pathHistory",
              "type": "array",
              "title": "The pathHistory schema",
              "default": [],
              "examples": [
                []
              ],
              "additionalItems": true,
              "items": {
                "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/waitingRoom/properties/pathHistory/items"
              }
            },
            "history": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/waitingRoom/properties/history",
              "type": "array",
              "title": "The history schema",
              "default": [],
              "examples": [
                []
              ],
              "additionalItems": true,
              "items": {
                "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/waitingRoom/properties/history/items"
              }
            }
          },
          "additionalProperties": true
        },
        "settings": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/settings",
          "type": "array",
          "title": "The settings schema",
          "default": [],
          "additionalItems": true,
          "items": {
            "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/settings/items",
            "anyOf": [
              {
                "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/settings/items/anyOf/0",
                "type": "object",
                "title": "The first anyOf schema",
                "default": {},
                "examples": [
                  {
                    "_id": "620634f3a2959c4a4892f4c8",
                    "property": "hasSeenHypertensionDisclaimer",
                    "value": "true"
                  }
                ],
                "required": [
                  "_id",
                  "property",
                  "value"
                ],
                "properties": {
                  "_id": {
                    "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/settings/items/anyOf/0/properties/_id",
                    "type": "string",
                    "title": "The _id schema",
                    "default": "",
                    "examples": [
                      "620634f3a2959c4a4892f4c8"
                    ]
                  },
                  "property": {
                    "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/settings/items/anyOf/0/properties/property",
                    "type": "string",
                    "title": "The property schema",
                    "default": "",
                    "examples": [
                      "hasSeenHypertensionDisclaimer"
                    ]
                  },
                  "value": {
                    "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/settings/items/anyOf/0/properties/value",
                    "type": "string",
                    "title": "The value schema",
                    "default": "",
                    "examples": [
                      "true"
                    ]
                  }
                },
                "additionalProperties": true
              }
            ]
          }
        },
        "rating": {
          "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/rating",
          "type": "object",
          "title": "The rating schema",
          "default": {},
          "examples": [
            {
              "requests": 0,
              "declined": 0,
              "approved": 0,
              "promoterScore": -1
            }
          ],
          "required": [
            "requests",
            "declined",
            "approved",
            "promoterScore"
          ],
          "properties": {
            "requests": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/rating/properties/requests",
              "type": "integer",
              "title": "The requests schema",
              "default": 0,
              "examples": [
                0
              ]
            },
            "declined": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/rating/properties/declined",
              "type": "integer",
              "title": "The declined schema",
              "default": 0,
              "examples": [
                0
              ]
            },
            "approved": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/rating/properties/approved",
              "type": "integer",
              "title": "The approved schema",
              "default": 0,
              "examples": [
                0
              ]
            },
            "promoterScore": {
              "$id": "#/properties/mementor/properties/training/properties/coachings/items/anyOf/0/properties/rating/properties/promoterScore",
              "type": "integer",
              "title": "The promoterScore schema",
              "default": 0,
              "examples": [
                -1
              ]
            }
          },
          "additionalProperties": true
        }
      },
      "additionalProperties": false
    },
    "license": {
      "type": "object",
      "title": "License",
      "description": "Describes the license with which the user is registered",
      "default": {},
      "examples": [
      ],
      "required": [
        "vouchers",
        "_id",
        "user",
        "licenseType",
        "datePaid",
        "validUntil",
        "__v",
        "id"
      ],
      "properties": {
        "vouchers": {
          "type": "array",
          "title": "Vouchers",
          "description": "Reference to the vouchers attached to this license",
          "default": [],
          "examples": [
            [
              "_id_abc123",
              "_id_abc123"
            ]
          ]
        },
        "_id": {
          "type": "string",
          "title": "_ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "user": {
          "type": "string",
          "title": "User",
          "description": "Reference to the person that uses this license",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "coaching": {
          "type": "string",
          "title": "Coaching",
          "description": "Obsolete property that is no longer used",
          "default": "",
          "examples": [
            "SLEEP"
          ]
        },
        "coachingKey": {
          "type": [
            "string",
            "null"
          ],
          "title": "Coaching Key",
          "description": "Reference to the coaching type the license is valid for",
          "default": "",
          "examples": [
            "SLEEP"
          ]
        },
        "licenseType": {
          "type": "string",
          "title": "License Type",
          "description": "Describes the type of this license",
          "default": "",
          "examples": [
            "diga"
          ]
        },
        "datePaid": {
          "type": "string",
          "format": "date-time",
          "title": "Activation Date",
          "description": "Specifies the date at which the license was created",
          "default": "",
          "examples": [
            "2019-09-17T08:35:16.706Z"
          ]
        },
        "validUntil": {
          "type": "string",
          "format": "date-time",
          "title": "Expiration Date",
          "description": "Date up to which the license is valid",
          "default": "",
          "examples": [
            "2021-10-28T08:35:16.709Z"
          ]
        },
        "__v": {
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            0
          ]
        },
        "id": {
          "type": "string",
          "title": "ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        }
      },
      "additionalProperties": false
    },
    "voucher": {
      "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0",
      "type": "object",
      "title": "Voucher",
      "description": "Represents data about a license voucher",
      "default": {},
      "examples": [
      ],
      "required": [
        "validity",
        "quantity",
        "demoAccount",
        "_id",
        "code",
        "provider",
        "discount",
        "client",
        "__v"
      ],
      "properties": {
        "validity": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/validity",
          "type": "integer",
          "title": "Validity",
          "description": "For how many days the license duration will be extended when applying this voucher",
          "default": 0,
          "examples": [
            90
          ]
        },
        "quantity": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/quantity",
          "type": "integer",
          "title": "Quantity",
          "description": "How many times this voucher can be redeemed",
          "default": 0,
          "examples": [
            1
          ]
        },
        "demoAccount": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/demoAccount",
          "type": "boolean",
          "title": "Demo Account",
          "description": "Whether the account where this voucher is redeemed should be able to perform demo operations in the somnio application",
          "default": false,
          "examples": [
            false
          ]
        },
        "_id": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/_id",
          "type": "string",
          "title": "_ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "code": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/code",
          "type": "string",
          "title": "Code",
          "description": "The code of this voucher: registration code/ license code",
          "default": "",
          "examples": [
            "ABCD-EFGH-IJKL-MNOP"
          ]
        },
        "provider": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/provider",
          "type": [
            "string",
            "null"
          ],
          "title": "Provider",
          "description": "Reference to the institution that has issued the code",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "discount": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/discount",
          "type": "integer",
          "title": "Discount",
          "description": "The value in percentage by which the original price of a license is reduced. Defaults to 100: there application will be available at no additional charge",
          "default": 100,
          "examples": [
            100
          ]
        },
        "client": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/client",
          "type": "string",
          "title": "Client",
          "description": "Internal value used to reference a client",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "__v": {
          "$id": "#/properties/mementor/properties/licensing/properties/vouchers/items/anyOf/0/properties/__v",
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            0
          ]
        }
      },
      "additionalProperties": true
    },
    "message": {
      "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/",
      "type": "object",
      "title": "Message",
      "description": "Data about a message that was sent to the user",
      "default": {},
      "examples": [
      ],
      "required": [
        "content",
        "dateRead",
        "_id",
        "dateSent",
        "messageType",
        "senderMail",
        "recipientMail",
        "recipientUser",
        "sendAsMail",
        "subject",
        "__v"
      ],
      "properties": {
        "content": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/content",
          "type": "string",
          "title": "Message Content",
          "description": "Text that was sent, can be in HTML format",
          "default": "",
          "examples": [
            "<p>Ihre Lizenz für das Coaching Schlafcoaching wird in 7 Tagen ablaufen.</p>"
          ]
        },
        "dateRead": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/dateRead",
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "title": "Date Read",
          "description": "Obsolete property that is no longer used",
          "default": null,
          "examples": [
            null
          ]
        },
        "_id": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/_id",
          "type": "string",
          "title": "_ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "dateSent": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/dateSent",
          "type": "string",
          "format": "date-time",
          "title": "Date Sent",
          "description": "Date at which the message was transmitted",
          "default": "",
          "examples": [
            "2019-10-24T13:51:21.340Z"
          ]
        },
        "messageType": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/messageType",
          "type": "string",
          "title": "Message Type",
          "description": "Identifier in text form to specify the type of the message",
          "default": "",
          "examples": [
            "expiringLicenseNonDiga"
          ]
        },
        "senderMail": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/senderMail",
          "type": "string",
          "title": "Sender Mail",
          "description": "Sender E-Mail address",
          "default": "",
          "examples": [
            "\"mementor no-reply\" <no-reply@mementor.de>"
          ]
        },
        "recipientMail": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/recipientMail",
          "type": "string",
          "title": "Recipient Mail",
          "description": "Recipient E-Mail address",
          "default": "",
          "examples": [
            "mail@example.com"
          ]
        },
        "recipientUser": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/recipientUser",
          "type": "string",
          "title": "Recipient User",
          "description": "Reference to the user that this message was sent to",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "sendAsMail": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/sendAsMail",
          "type": "boolean",
          "title": "Send as Mail",
          "description": "Whether this message was also transmitted via e-mail (as opposed to stored in the database only for application-internal usage)",
          "default": false,
          "examples": [
            true
          ]
        },
        "subject": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/subject",
          "type": "string",
          "title": "Subject",
          "description": "The subject of the message",
          "default": "",
          "examples": [
            "Lizenz läuft bald ab"
          ]
        },
        "__v": {
          "$id": "#/properties/mementor/properties/communication/properties/messages/items/anyOf/0/properties/__v",
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            0
          ]
        }
      },
      "additionalProperties": false
    },
    "sleepWindow": {
      "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0",
      "type": "object",
      "title": "Sleep Window",
      "description": "Data used to handle sleep windows",
      "default": {},
      "examples": [
      ],
      "required": [
        "_id",
        "lastModified",
        "user",
        "start",
        "end",
        "duration",
        "__v",
        "efficiency"
      ],
      "properties": {
        "_id": {
          "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0/properties/_id",
          "type": "string",
          "title": "_ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "lastModified": {
          "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0/properties/lastModified",
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "title": "Last Modified",
          "description": "Date at which the sleep window was last modified",
          "default": "",
          "examples": [
            "2020-07-24T10:31:28.383Z"
          ]
        },
        "user": {
          "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0/properties/user",
          "type": "string",
          "title": "User",
          "description": "Reference to the user that the sleep window was defined for",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "start": {
          "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0/properties/start",
          "type": "string",
          "format": "date-time",
          "title": "Start",
          "description": "Time of day at which the sleep window starts, encoded as date-time",
          "default": "",
          "examples": [
            "2020-07-23T22:50:00.000Z"
          ]
        },
        "end": {
          "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0/properties/end",
          "type": "string",
          "format": "date-time",
          "title": "End",
          "description": "Time of day at which the sleep window ends, encoded as date-time",
          "default": "",
          "examples": [
            "2020-07-24T04:50:00.000Z"
          ]
        },
        "duration": {
          "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0/properties/duration",
          "type": "integer",
          "title": "Duration",
          "description": "Duration of the sleep window in minutes",
          "default": 0,
          "examples": [
            360
          ]
        },
        "__v": {
          "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0/properties/__v",
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            0
          ]
        },
        "efficiency": {
          "$id": "#/properties/mementor/properties/training/properties/sleepWindows/items/anyOf/0/properties/efficiency",
          "type": [
            "number",
            "null"
          ],
          "title": "Efficiency",
          "description": "Sleep efficiency in the last time interval that will be evaluate whether or not the sleep window can be extended",
          "default": 0.0,
          "examples": [
            76.72
          ]
        }
      },
      "additionalProperties": false
    },
    "sleepJournalEntry": {
      "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0",
      "type": "object",
      "title": "Sleep Journal Protocol Entry",
      "description": "Sleep journal protocol entry storing information about the sleep",
      "default": {},
      "examples": [
        {
          "bedPhase": {
            "toBedDate": "2020-07-19T20:00:00.000Z",
            "getUpDate": "2020-07-20T04:20:00.000Z"
          },
          "sleepPhase": {
            "noSleep": false,
            "triedToSleepDate": "2020-07-19T20:20:00.000Z",
            "fallAsleepDate": "2020-07-19T20:40:00.000Z",
            "awakeAmount": 3,
            "awakeDuration": 20,
            "wakeUpDate": "2020-07-20T04:00:00.000Z",
            "quality": 74
          },
          "fromTracker": false,
          "_id": "_id_abc123",
          "user": "_id_abc123",
          "bedDuration": 500,
          "sleepDuration": 420,
          "fallAsleepDuration": 20,
          "activeAfterWakeup": 20,
          "efficiency": 84,
          "__v": 0
        }
      ],
      "required": [
        "bedPhase",
        "sleepPhase",
        "fromTracker",
        "_id",
        "user",
        "bedDuration",
        "sleepDuration",
        "fallAsleepDuration",
        "activeAfterWakeup",
        "efficiency",
        "__v"
      ],
      "properties": {
        "bedPhase": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/bedPhase",
          "type": "object",
          "title": "Bed Phase",
          "description": "Captures the bed phase of a sleep journal entry",
          "default": {},
          "examples": [
            {
              "toBedDate": "2020-07-19T20:00:00.000Z",
              "getUpDate": "2020-07-20T04:20:00.000Z"
            }
          ],
          "required": [
            "toBedDate",
            "getUpDate"
          ],
          "properties": {
            "toBedDate": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/bedPhase/properties/toBedDate",
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "title": "To Bed Date",
              "description": "Date at which the user went to bed",
              "default": "",
              "examples": [
                "2020-07-19T20:00:00.000Z"
              ]
            },
            "getUpDate": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/bedPhase/properties/getUpDate",
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "title": "Get up Date",
              "description": "Date at which the user left the bed",
              "default": "",
              "examples": [
                "2020-07-20T04:20:00.000Z"
              ]
            }
          },
          "additionalProperties": true
        },
        "sleepPhase": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepPhase",
          "type": "object",
          "title": "Sleep Phase",
          "description": "Captures the sleep phase of a sleep journal entry",
          "default": {},
          "examples": [
          ],
          "required": [
            "noSleep",
            "fallAsleepDate",
            "awakeDuration",
            "wakeUpDate",
            "quality"
          ],
          "properties": {
            "noSleep": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepPhase/properties/noSleep",
              "type": "boolean",
              "title": "No Sleep",
              "description": "Whether the user did not sleep at all during the current sleep phase",
              "default": false,
              "examples": [
                false
              ]
            },
            "triedToSleepDate": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepPhase/properties/triedToSleepDate",
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "title": "Tried to Sleep",
              "description": "Obsolete property that is no longer used",
              "default": "",
              "examples": [
                "2020-07-19T20:20:00.000Z"
              ]
            },
            "fallAsleepDate": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepPhase/properties/fallAsleepDate",
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "title": "Fall Asleep",
              "description": "Moment at which the user fell asleep",
              "default": "",
              "examples": [
                "2020-07-19T20:40:00.000Z"
              ]
            },
            "awakeAmount": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepPhase/properties/awakeAmount",
              "type": "integer",
              "title": "Awake Count",
              "description": "Obsolete property that is no longer used",
              "default": 0,
              "examples": [
                3
              ]
            },
            "awakeDuration": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepPhase/properties/awakeDuration",
              "type": "integer",
              "title": "Awake Duration",
              "description": "Time in minutes the user stayed awake in the bed",
              "default": 0,
              "examples": [
                20
              ]
            },
            "wakeUpDate": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepPhase/properties/wakeUpDate",
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "title": "Wake Up Date",
              "description": "Moment at which the user woke up",
              "default": "",
              "examples": [
                "2020-07-20T04:00:00.000Z"
              ]
            },
            "quality": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepPhase/properties/quality",
              "type": [
                "integer",
                "null"
              ],
              "title": "Sleep Quality",
              "description": "Value between 0 and 100 which the user has evaluated the sleep quality with",
              "default": 0,
              "examples": [
                74
              ]
            }
          },
          "additionalProperties": true
        },
        "fromTracker": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/fromTracker",
          "type": "boolean",
          "title": "Sleep Tracker",
          "description": "Whether the data of the current sleep journal entry originates from a sleep tracker",
          "default": false,
          "examples": [
            false
          ]
        },
        "_id": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/_id",
          "type": "string",
          "title": "_ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "user": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/user",
          "type": "string",
          "title": "User",
          "description": "Reference to the user this sleep journal entry is for",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "bedDuration": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/bedDuration",
          "type": "integer",
          "title": "Bed Duration",
          "description": "Time in minutes during which the user stayed in bed",
          "default": 0,
          "examples": [
            500
          ]
        },
        "sleepDuration": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/sleepDuration",
          "type": "integer",
          "title": "Sleep Duration",
          "description": "Time in minutes during which the user slept",
          "default": 0,
          "examples": [
            420
          ]
        },
        "fallAsleepDuration": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/fallAsleepDuration",
          "type": "integer",
          "title": "Fall Asleep Duration",
          "description": "Time in minutes it took the user to fall asleep after being ready to sleep",
          "default": 0,
          "examples": [
            20
          ]
        },
        "activeAfterWakeup": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/activeAfterWakeup",
          "type": "integer",
          "title": "Activity After Wakeup",
          "description": "Time in minutes the user stayed in bed after having woken up before actually getting up",
          "default": 0,
          "examples": [
            20
          ]
        },
        "efficiency": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/efficiency",
          "type": [
            "number",
            "null"
          ],
          "title": "Efficiency",
          "description": "The calculated sleep efficiency of this entry",
          "default": 0,
          "examples": [
            84
          ]
        },
        "__v": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/sleepJournalEntries/items/anyOf/0/properties/__v",
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            0
          ]
        }
      },
      "additionalProperties": false
    },
    "awakeJournalEntry": {
      "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0",
      "type": "object",
      "title": "Awake Journal Protocol Entry",
      "description": "Awake journal protocol entry storing information about the day",
      "default": {},
      "examples": [
      ],
      "required": [
        "_id",
        "created",
        "mood",
        "performance",
        "energy",
        "alcoholRecent",
        "caffeineRecent",
        "user",
        "__v"
      ],
      "properties": {
        "_id": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/_id",
          "type": "string",
          "title": "_ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "created": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/created",
          "type": "string",
          "format": "date-time",
          "title": "Created Date",
          "description": "Date at which this entry was created",
          "default": "",
          "examples": [
            "2020-08-10T09:59:00.000Z"
          ]
        },
        "mood": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/mood",
          "type": "integer",
          "title": "Mood",
          "description": "Value between 0 and 10 which the user has evaluated his mood during since the last sleep phase with. 0 means very bad mood, 10 means very good mood",
          "default": 0,
          "examples": [
            5
          ]
        },
        "performance": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/performance",
          "type": "integer",
          "title": "Performance",
          "description": "Value between 0 and 10 which the user has evaluated his performance since the last sleep phase with. 0 means very poor performance, 10 means very high performance",
          "default": 0,
          "examples": [
            2
          ]
        },
        "energy": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/energy",
          "type": "integer",
          "title": "Energy",
          "description": "Value between 0 and 10 which the user has evaluated his energy since the last sleep phase with. 0 means very low energy, 10 means plenty of energy",
          "default": 0,
          "examples": [
            4
          ]
        },
        "alcoholRecent": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/alcoholRecent",
          "type": "integer",
          "title": "Alcohol Consumption",
          "description": "Alcohol consumption since the last sleep phase. Value between 0 (no alcohol consumption) and 3 (consumed a lot of alcohol)",
          "default": 0,
          "examples": [
            2
          ]
        },
        "caffeineRecent": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/caffeineRecent",
          "type": "integer",
          "title": "Caffeine Consumption",
          "description": "Caffeine consumption since the last sleep phase. Value between 0 (no caffeine consumption) and 3 (consumed a lot of caffeine)",
          "default": 0,
          "examples": [
            2
          ]
        },
        "user": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/user",
          "type": "string",
          "title": "User",
          "description": "Reference to the user this awake journal entry is for",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "__v": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal/properties/awakeJournalEntries/items/anyOf/0/properties/__v",
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            0
          ]
        }
      },
      "additionalProperties": false
    },
    "answer": {
      "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0",
      "type": "object",
      "title": "Answer",
      "description": "Data container that stores the answer/ option the user has selected throughout the program, for example by picking an item of a selection or by entering a text when asked for feedback",
      "default": {},
      "examples": [
      ],
      "required": [
        "history",
        "updates",
        "_id",
        "answerContainer",
        "client",
        "user",
        "__v",
        "value",
        "created"
      ],
      "properties": {
        "history": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/history",
          "type": "array",
          "title": "History",
          "description": "Keeps track of the values given to this answer",
          "default": [],
          "examples": [
            [
            ]
          ],
          "additionalItems": false,
          "items": {
            "$ref": "#/definitions/answerEntry"
          }
        },
        "updates": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/updates",
          "type": "integer",
          "title": "Updates",
          "description": "Number of times this answer has been updated",
          "default": 0,
          "examples": [
            5
          ]
        },
        "_id": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/_id",
          "type": "string",
          "title": "_ID",
          "description": "Internal technical identifier with no semantic meaning",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "answerContainer": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/answerContainer",
          "type": "string",
          "title": "Answer Container",
          "description": "Technical reference to the database object which specifies properties of the question this answer is valid for",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "client": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/client",
          "type": "string",
          "title": "Client",
          "description": "Internal value used to reference a client",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "user": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/user",
          "type": "string",
          "title": "User",
          "description": "Reference to the user that has given this answer value",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "__v": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/__v",
          "type": "integer",
          "title": "Version",
          "description": "Internal technical database record version",
          "default": 0,
          "examples": [
            0
          ]
        },
        "value": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/value",
          "type": "string",
          "title": "Value",
          "description": "The actual answer of the user. Can also be integers, saved in text format",
          "default": "",
          "examples": [
            "Alex"
          ]
        },
        "created": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/created",
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "title": "Created",
          "description": "Date at which the answer was given",
          "default": "",
          "examples": [
            "2020-07-09T16:03:25.550Z"
          ]
        }
      },
      "additionalProperties": false
    },
    "answerEntry": {
      "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/history/items/anyOf/0",
      "type": "object",
      "title": "Answer Entry",
      "description": "Describes the location and value an answer was given for",
      "default": {},
      "examples": [
      ],
      "required": [
        "saved",
        "step",
        "value"
      ],
      "properties": {
        "saved": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/history/items/anyOf/0/properties/saved",
          "type": "string",
          "format": "date-time",
          "title": "Saved Date",
          "description": "Date at which the answer was saved",
          "default": "",
          "examples": [
            "2019-12-16T19:46:32.883Z"
          ]
        },
        "step": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/history/items/anyOf/0/properties/step",
          "type": "string",
          "title": "Step",
          "description": "Reference to the step, i.e. part of the module, which this answer was given for",
          "default": "",
          "examples": [
            "_id_abc123"
          ]
        },
        "value": {
          "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/answers/items/anyOf/0/properties/history/items/anyOf/0/properties/value",
          "type": "string",
          "title": "Answer Value",
          "description": "The actual answer of the user. Can also be integers, saved in text format",
          "default": "",
          "examples": [
            "Alex"
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "type": "object",
  "title": "Schema definition for the DiGA somnio",
  "description": "This schema specifies the semantics and the grammar of the file that is generated when exporting a user's profile data. Throughout the example, database internal identifiers as well as randomly generated strings are used. If the value in the example is an internal database id, the string '_id_abc123' is used in this documentation. Random strings are specified as '_randomString_abc123' in the example. Note that in order to avoid multiple and duplicate examples, only base type examples are provided in the JSON schema documentation for non-complex types. However, a full example that includes all properties is given for the entire profile export at the top level",
  "default": {},
  "examples": [
    {
      "fhir": {
        "KBV_PR_Base_Patient": {
          "pid": [
            {
              "use": "usual",
              "type": {
                "coding": [
                  {
                    "MR-Type": {
                      "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                      "version": "1",
                      "code": "MR",
                      "display": "_id_abc123",
                      "userSelected": false
                    }
                  }
                ],
                "text": "Technical database identifier"
              },
              "system": "de.mementor",
              "value": "_id_abc123"
            }
          ],
          "active": true,
          "gender": "female",
          "birthDate": 1988,
          "telecom": [
            {
              "system": "email",
              "value": "mail@example.com"
            }
          ]
        },
        "observation": {
          "$id": "#/properties/fhir/properties/observation",
          "type": "object",
          "title": "The observation schema",
          "default": {},
          "examples": [
            {
              "blood-pressure": [
                {
                  "id": "blood-pressure",
                  "subject": {
                    "reference": "Patient/123456789"
                  },
                  "effectiveDateTime": "2022-02-08T05:51:01.673Z",
                  "performer": {
                    "reference": "Patient/123456789"
                  },
                  "code": {
                    "coding": [
                      {
                        "system": "http://loinc.org",
                        "code": "85354-9",
                        "display": "Blood pressure panel with all children optional"
                      }
                    ],
                    "text": "Blood pressure systolic & diastolic"
                  },
                  "component": [
                    {
                      "code": {
                        "coding": {
                          "system": "app.actens.io",
                          "code": "8480-6",
                          "display": "Systolic blood pressure"
                        }
                      },
                      "valueQuantity": {
                        "value": 120,
                        "unit": "mm[Hg]"
                      }
                    },
                    {
                      "code": {
                        "coding": [
                          {
                            "system": "app.actens.io",
                            "code": "8462-4",
                            "display": "Diastolic blood pressure"
                          }
                        ]
                      },
                      "valueQuantity": {
                        "value": 80,
                        "unit": "mm[Hg]"
                      }
                    },
                    {
                      "code": {
                        "coding": [
                          {
                            "system": "app.actens.io",
                            "display": "Pulse"
                          }
                        ]
                      },
                      "valueQuantity": {
                        "value": 70,
                        "unit": "BPM"
                      }
                    }
                  ]
                }
              ],
              "medicationadministration": []
            }
          ],
          "required": [
            "blood-pressure",
            "medicationadministration"
          ],
          "properties": {
            "blood-pressure": {
              "$id": "#/properties/fhir/properties/observation/properties/blood-pressure",
              "type": "array",
              "title": "The blood-pressure schema",
              "default": [],
              "additionalItems": true,
              "items": {
                "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items",
                "anyOf": [
                  {
                    "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0",
                    "type": "object",
                    "title": "The first anyOf schema",
                    "default": {},
                    "examples": [
                      {
                        "id": "blood-pressure",
                        "subject": {
                          "reference": "Patient/123456789"
                        },
                        "effectiveDateTime": "2022-02-08T05:51:01.673Z",
                        "performer": {
                          "reference": "Patient/123456789"
                        },
                        "code": {
                          "coding": [
                            {
                              "system": "http://loinc.org",
                              "code": "85354-9",
                              "display": "Blood pressure panel with all children optional"
                            }
                          ],
                          "text": "Blood pressure systolic & diastolic"
                        },
                        "component": [
                          {
                            "code": {
                              "coding": {
                                "system": "app.actens.io",
                                "code": "8480-6",
                                "display": "Systolic blood pressure"
                              }
                            },
                            "valueQuantity": {
                              "value": 120,
                              "unit": "mm[Hg]"
                            }
                          },
                          {
                            "code": {
                              "coding": [
                                {
                                  "system": "app.actens.io",
                                  "code": "8462-4",
                                  "display": "Diastolic blood pressure"
                                }
                              ]
                            },
                            "valueQuantity": {
                              "value": 80,
                              "unit": "mm[Hg]"
                            }
                          },
                          {
                            "code": {
                              "coding": [
                                {
                                  "system": "app.actens.io",
                                  "display": "Pulse"
                                }
                              ]
                            },
                            "valueQuantity": {
                              "value": 70,
                              "unit": "BPM"
                            }
                          }
                        ]
                      }
                    ],
                    "required": [
                      "id",
                      "subject",
                      "effectiveDateTime",
                      "performer",
                      "code",
                      "component"
                    ],
                    "properties": {
                      "id": {
                        "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/id",
                        "type": "string",
                        "title": "The id schema",
                        "default": ""
                      },
                      "subject": {
                        "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/subject",
                        "type": "object",
                        "title": "The subject schema",
                        "default": {},
                        "required": [
                          "reference"
                        ],
                        "properties": {
                          "reference": {
                            "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/subject/properties/reference",
                            "type": "string",
                            "title": "The reference schema",
                            "default": ""
                          }
                        },
                        "additionalProperties": true
                      },
                      "effectiveDateTime": {
                        "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/effectiveDateTime",
                        "type": "string",
                        "title": "The effectiveDateTime schema",
                        "default": "",
                        "examples": [
                          "2022-02-08T05:51:01.673Z"
                        ]
                      },
                      "performer": {
                        "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/performer",
                        "type": "object",
                        "title": "The performer schema",
                        "default": {},
                        "required": [
                          "reference"
                        ],
                        "properties": {
                          "reference": {
                            "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/performer/properties/reference",
                            "type": "string",
                            "title": "The reference schema",
                            "default": ""
                          }
                        },
                        "additionalProperties": true
                      },
                      "code": {
                        "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/code",
                        "type": "object",
                        "title": "The code schema",
                        "default": {},
                        "examples": [
                          {
                            "coding": [
                              {
                                "system": "http://loinc.org",
                                "code": "85354-9",
                                "display": "Blood pressure panel with all children optional"
                              }
                            ],
                            "text": "Blood pressure systolic & diastolic"
                          }
                        ],
                        "required": [
                          "coding",
                          "text"
                        ],
                        "properties": {
                          "coding": {
                            "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/code/properties/coding",
                            "type": "array",
                            "title": "The coding schema",
                            "default": [],
                            "examples": [
                              [
                                {
                                  "system": "http://loinc.org",
                                  "code": "85354-9",
                                  "display": "Blood pressure panel with all children optional"
                                }
                              ]
                            ],
                            "additionalItems": true,
                            "items": {
                              "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/code/properties/coding/items",
                              "anyOf": [
                                {
                                  "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/code/properties/coding/items/anyOf/0",
                                  "type": "object",
                                  "title": "The first anyOf schema",
                                  "default": {},
                                  "examples": [
                                    {
                                      "system": "http://loinc.org",
                                      "code": "85354-9",
                                      "display": "Blood pressure panel with all children optional"
                                    }
                                  ],
                                  "required": [
                                    "system",
                                    "code",
                                    "display"
                                  ],
                                  "properties": {
                                    "system": {
                                      "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/code/properties/coding/items/anyOf/0/properties/system",
                                      "type": "string",
                                      "title": "The system schema",
                                      "default": "",
                                      "examples": [
                                        "http://loinc.org"
                                      ]
                                    },
                                    "code": {
                                      "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/code/properties/coding/items/anyOf/0/properties/code",
                                      "type": "string",
                                      "title": "The code schema",
                                      "default": "",
                                      "examples": [
                                        "85354-9"
                                      ]
                                    },
                                    "display": {
                                      "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/code/properties/coding/items/anyOf/0/properties/display",
                                      "type": "string",
                                      "title": "The display schema",
                                      "default": "",
                                      "examples": [
                                        "Blood pressure panel with all children optional"
                                      ]
                                    }
                                  },
                                  "additionalProperties": true
                                }
                              ]
                            }
                          },
                          "text": {
                            "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/code/properties/text",
                            "type": "string",
                            "title": "The text schema",
                            "default": "",
                            "examples": [
                              "Blood pressure systolic & diastolic"
                            ]
                          }
                        },
                        "additionalProperties": true
                      },
                      "component": {
                        "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component",
                        "type": "array",
                        "title": "The component schema",
                        "default": [],
                        "examples": [
                          [
                            {
                              "code": {
                                "coding": {
                                  "system": "app.actens.io",
                                  "code": "8480-6",
                                  "display": "Systolic blood pressure"
                                }
                              },
                              "valueQuantity": {
                                "value": 120,
                                "unit": "mm[Hg]"
                              }
                            },
                            {
                              "code": {
                                "coding": [
                                  {
                                    "system": "app.actens.io",
                                    "code": "8462-4",
                                    "display": "Diastolic blood pressure"
                                  }
                                ]
                              },
                              "valueQuantity": {
                                "value": 80,
                                "unit": "mm[Hg]"
                              }
                            }
                          ]
                        ],
                        "additionalItems": true,
                        "items": {
                          "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items",
                          "anyOf": [
                            {
                              "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0",
                              "type": "object",
                              "title": "The first anyOf schema",
                              "default": {},
                              "required": [
                                "code",
                                "valueQuantity"
                              ],
                              "properties": {
                                "code": {
                                  "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0/properties/code",
                                  "type": "object",
                                  "title": "The code schema",
                                  "default": {},
                                  "required": [
                                    "coding"
                                  ],
                                  "properties": {
                                    "coding": {
                                      "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0/properties/code/properties/coding",
                                      "type": "object",
                                      "title": "The coding schema",
                                      "default": {},
                                      "required": [
                                        "system",
                                        "code",
                                        "display"
                                      ],
                                      "properties": {
                                        "system": {
                                          "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0/properties/code/properties/coding/properties/system",
                                          "type": "string",
                                          "title": "The system schema",
                                          "default": "",
                                          "examples": [
                                            "app.actens.io"
                                          ]
                                        },
                                        "code": {
                                          "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0/properties/code/properties/coding/properties/code",
                                          "type": "string",
                                          "title": "The code schema",
                                          "default": "",
                                          "examples": [
                                            "8480-6"
                                          ]
                                        },
                                        "display": {
                                          "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0/properties/code/properties/coding/properties/display",
                                          "type": "string",
                                          "title": "The display schema",
                                          "default": "",
                                          "examples": [
                                            "Systolic blood pressure"
                                          ]
                                        }
                                      },
                                      "additionalProperties": true
                                    }
                                  },
                                  "additionalProperties": true
                                },
                                "valueQuantity": {
                                  "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0/properties/valueQuantity",
                                  "type": "object",
                                  "title": "The valueQuantity schema",
                                  "default": {},
                                  "examples": [
                                    {
                                      "value": 120,
                                      "unit": "mm[Hg]"
                                    }
                                  ],
                                  "required": [
                                    "value",
                                    "unit"
                                  ],
                                  "properties": {
                                    "value": {
                                      "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0/properties/valueQuantity/properties/value",
                                      "type": "integer",
                                      "title": "The value schema",
                                      "default": 0,
                                      "examples": [
                                        120
                                      ]
                                    },
                                    "unit": {
                                      "$id": "#/properties/fhir/properties/observation/properties/blood-pressure/items/anyOf/0/properties/component/items/anyOf/0/properties/valueQuantity/properties/unit",
                                      "type": "string",
                                      "title": "The unit schema",
                                      "default": "",
                                      "examples": [
                                        "mm[Hg]"
                                      ]
                                    }
                                  },
                                  "additionalProperties": true
                                }
                              },
                              "additionalProperties": true
                            }
                          ]
                        }
                      }
                    },
                    "additionalProperties": true
                  }
                ]
              }
            },
            "medicationadministration": {
              "$id": "#/properties/fhir/properties/observation/properties/medicationadministration",
              "type": "array",
              "title": "The medicationadministration schema",
              "default": [],
              "additionalItems": true,
              "items": {
                "$id": "#/properties/fhir/properties/observation/properties/medicationadministration/items"
              }
            }
          },
          "additionalProperties": true
        }
      },
      "mementor": {
        "user": {
          "profile": {
            "sleepTracker": {
              "accessToken": "_randomString_abc123",
              "provider": "fitbit",
              "expiresInSeconds": 31536000,
              "providerUserId": "6DQSA2",
              "refreshToken": "_randomString_abc123"
            },
            "clients": [
              "_id_abc123"
            ],
            "dataProcessingConsent": true,
            "dataProcessingConsentDate": null,
            "language": "de_ch",
            "active": true,
            "anonymized": false,
            "speakingRate": 9,
            "showSubtitles": false,
            "autoNext": true,
            "loginCount": 1157,
            "trustedDevices": [
              "_randomString_abc123",
              "_randomString_abc123"
            ],
            "twoFactorAuthentication": true,
            "newsletter": false,
            "notifications": true,
            "_id": "_id_abc123",
            "joined": "2020-08-01T08:03:07.308Z",
            "email": "mail@example.com",
            "__v": 37,
            "lastLogin": "2020-11-27T09:42:49.619Z",
            "name": "Benutzername 123",
            "coachingId": "_id_abc123",
            "lastReadSystemNotifications": "2020-07-26T16:58:59.717Z",
            "gender": "female",
            "age": 22,
            "notificationUpdateHash": "bf4ef823d3a65f64c27433131c2d4e65bde74928",
            "resetToken": "_randomString_abc123",
            "resetTokenCreatedDate": "2020-11-13T09:51:49.896Z",
            "newEmail": "newMail@example.com",
            "newEmailToken": "_randomString_abc123",
            "newEmailTokenCreatedDate": "2020-11-23T12:59:32.097Z",
            "demoAccount": false
          },
          "roles": [
            {
              "_id": "_id_abc123",
              "name": "support",
              "user": "_id_abc123",
              "client": "_id_abc123",
              "__v": 0
            }
          ]
        },
        "licensing": {
          "licenses": [
            {
              "vouchers": [
                "_id_abc123"
              ],
              "_id": "_id_abc123",
              "user": "_id_abc123",
              "coachingKey": "SLEEP",
              "licenseType": "diga",
              "datePaid": "2019-10-25T17:42:02.486Z",
              "validUntil": "2020-10-25T17:42:02.486Z",
              "__v": 0,
              "id": "_id_abc123"
            }
          ],
          "vouchers": [
            {
              "validity": 0,
              "quantity": 1,
              "demoAccount": false,
              "_id": "_id_abc123",
              "code": "ABCD-EFGH-IJKL-MNOP",
              "coachingKey": "SLEEP",
              "provider": "_id_abc123",
              "discount": 100,
              "client": "_id_abc123",
              "__v": 0
            }
          ]
        },
        "communication": {
          "messages": [
            {
              "content": "<p>Ihre Lizenz für das Coaching Schlafcoaching wird in 7 Tagen ablaufen.</p>",
              "dateRead": null,
              "_id": "_id_abc123",
              "dateSent": "2019-10-24T13:51:21.340Z",
              "messageType": "expiringLicenseNonDiga",
              "senderMail": "\"mementor no-reply\" <no-reply@mementor.de>",
              "recipientMail": "mail.example@com",
              "recipientUser": "_id_abc123",
              "sendAsMail": true,
              "subject": "Lizenz läuft bald ab",
              "__v": 0
            },
            {
              "content": "<p>Du hast in den letzten drei Tagen vergessen, das Schlaftagebuch auszufüllen</p>",
              "dateRead": null,
              "_id": "_id_abc123",
              "dateSent": "2019-10-24T13:51:21.340Z",
              "messageType": "sleepJournalReminder",
              "senderMail": "\"mementor no-reply\" <no-reply@mementor.de>",
              "recipientMail": "mail.example@com",
              "recipientUser": "_id_abc123",
              "sendAsMail": true,
              "subject": "Schlaftagebucheinträge vergessen",
              "__v": 0
            }
          ]
        },
        "training": {
          "coachings": [
            {
              "version": 9,
              "published": false,
              "_id": "_id_abc123",
              "released": true,
              "modules": [
                {
                  "optional": false,
                  "progress": 100,
                  "completed": true,
                  "startedDate": "2020-06-04T06:13:19.198Z",
                  "completionDate": "2020-11-15T06:20:53.192Z",
                  "history": [],
                  "requiredEntries": 0,
                  "createdEntries": 0,
                  "menuOpened": false,
                  "_id": "_id_abc123",
                  "module": "_id_abc123"
                },
                {
                  "optional": false,
                  "progress": 100,
                  "completed": true,
                  "startedDate": "2020-07-24T10:28:18.405Z",
                  "completionDate": "2020-11-15T06:20:53.193Z",
                  "history": [
                    "_id_abc123",
                    "_id_abc123"
                  ],
                  "requiredEntries": 3,
                  "createdEntries": 1,
                  "menuOpened": true,
                  "_id": "_id_abc123",
                  "module": "_id_abc123"
                }
              ],
              "key": "SLEEP",
              "name": {
                "_id": "_id_abc123",
                "de_ch": "Schlafcoaching",
                "fr_ch": "Coaching de sommeil",
                "en_us": "Sleep coaching",
                "it_ch": "Coaching del sonno"
              },
              "__v": 6,
              "user": "_id_abc123",
              "client": "_id_abc123",
              "lastUpdate": "2019-10-24T13:31:48.619Z"
            }
          ],
          "sleepWindows": [
            {
              "_id": "_id_abc123",
              "lastModified": "2020-07-24T10:31:28.383Z",
              "user": "_id_abc123",
              "start": "2020-07-23T22:50:00.000Z",
              "end": "2020-07-24T04:50:00.000Z",
              "duration": 360,
              "__v": 0,
              "efficiency": 76.72783521303259
            },
            {
              "_id": "_id_abc123",
              "start": "2020-07-23T23:00:00.000Z",
              "end": "2020-07-24T05:00:00.000Z",
              "duration": 360,
              "lastModified": "2020-10-01T06:57:44.735Z",
              "efficiency": null,
              "user": "_id_abc123",
              "__v": 0
            }
          ],
          "userInputs": {
            "sleepJournal": {
              "sleepJournalEntries": [
                {
                  "bedPhase": {
                    "toBedDate": "2020-07-19T20:00:00.000Z",
                    "getUpDate": "2020-07-20T04:20:00.000Z"
                  },
                  "sleepPhase": {
                    "noSleep": false,
                    "triedToSleepDate": "2020-07-19T20:20:00.000Z",
                    "fallAsleepDate": "2020-07-19T20:40:00.000Z",
                    "awakeAmount": 3,
                    "awakeDuration": 20,
                    "wakeUpDate": "2020-07-20T04:00:00.000Z",
                    "quality": 74
                  },
                  "fromTracker": false,
                  "_id": "_id_abc123",
                  "user": "_id_abc123",
                  "bedDuration": 500,
                  "sleepDuration": 420,
                  "fallAsleepDuration": 20,
                  "activeAfterWakeup": 20,
                  "efficiency": 84,
                  "__v": 0
                },
                {
                  "bedPhase": {
                    "toBedDate": "2020-07-20T20:00:00.000Z",
                    "getUpDate": "2020-07-21T04:00:00.000Z"
                  },
                  "sleepPhase": {
                    "noSleep": false,
                    "triedToSleepDate": "2020-07-20T20:20:00.000Z",
                    "fallAsleepDate": "2020-07-20T20:30:00.000Z",
                    "awakeAmount": 1,
                    "awakeDuration": 1,
                    "wakeUpDate": "2020-07-21T03:00:00.000Z",
                    "quality": 83
                  },
                  "fromTracker": false,
                  "_id": "_id_abc123",
                  "user": "_id_abc123",
                  "bedDuration": 480,
                  "sleepDuration": 389,
                  "fallAsleepDuration": 10,
                  "activeAfterWakeup": 60,
                  "efficiency": 81.04166666666667,
                  "__v": 0
                }
              ],
              "awakeJournalEntries": [
                {
                  "_id": "_id_abc123",
                  "created": "2020-08-10T09:59:00.000Z",
                  "mood": 5,
                  "performance": 2,
                  "energy": 4,
                  "alcoholRecent": 2,
                  "caffeineRecent": 2,
                  "user": "_id_abc123",
                  "__v": 0
                },
                {
                  "_id": "_id_abc123",
                  "created": "2020-10-23T09:48:00.000Z",
                  "mood": 4,
                  "performance": 3,
                  "energy": 5,
                  "alcoholRecent": 2,
                  "caffeineRecent": 1,
                  "user": "_id_abc123",
                  "__v": 0
                }
              ]
            },
            "answers": [
              {
                "history": [
                  {
                    "saved": "2019-12-16T19:46:32.883Z",
                    "step": "_id_abc123",
                    "value": "Alex"
                  },
                  {
                    "saved": "2019-12-16T19:52:47.972Z",
                    "step": "_id_abc123",
                    "value": "Benita"
                  }
                ],
                "updates": 5,
                "_id": "_id_abc123",
                "answerContainer": "_id_abc123",
                "client": "_id_abc123",
                "user": "_id_abc123",
                "__v": 0,
                "value": "Mein Benutzername 123",
                "created": "2020-11-27T09:43:38.379Z"
              },
              {
                "history": [],
                "updates": 10,
                "_id": "_id_abc123",
                "answerContainer": "_id_abc123",
                "client": "_id_abc123",
                "user": "_id_abc123",
                "__v": 0,
                "value": "9",
                "created": "2020-11-27T09:43:38.380Z"
              }
            ]
          }
        }
      }
    }
  ],
  "required": [
    "fhir",
    "mementor"
  ],
  "properties": {
    "fhir": {
      "type": "object",
      "title": "The DiGA data compliant with the fhir schema",
      "description": "This property contains the data that are consistent with the FHIR standard. Note that some of the values might also be listed in another format and/ or form in other properties of the JSON schema. For example, the birth year is specified in the 'fhir' part, whereas in the 'mementor' property, the age is used instead",
      "default": {
      },
      "examples": [
      ],
      "required": [
        "KBV_PR_Base_Patient"
      ],
      "properties": {
        "KBV_PR_Base_Patient": {
          "$ref": "#/definitions/KBV_PR_Base_Patient"
        }
      },
      "additionalProperties": false
    },
    "mementor": {
      "$id": "#/properties/mementor",
      "type": "object",
      "title": "Mementor Data",
      "description": "This part of the profile export contains data that is required to run the somnio app. This can include sleep data that was captured from external devices, but the values stored at mementor is in a custom format",
      "default": {},
      "examples": [],
      "required": [
        "user",
        "licensing",
        "communication",
        "training"
      ],
      "properties": {
        "user": {
          "type": "object",
          "title": "User",
          "description": "Data that are related to the user that is using the app",
          "default": {
          },
          "examples": [
          ],
          "required": [
            "profile",
            "roles"
          ],
          "properties": {
            "profile": {
              "type": "object",
              "title": "Profile",
              "description": "Profile related values about the user",
              "default": {
              },
              "examples": [
              ],
              "required": [
                "sleepTracker",
                "clients",
                "dataProcessingConsent",
                "language",
                "active",
                "anonymized",
                "speakingRate",
                "showSubtitles",
                "autoNext",
                "loginCount",
                "trustedDevices",
                "twoFactorAuthentication",
                "newsletter",
                "notifications",
                "_id",
                "joined",
                "email",
                "__v",
                "lastLogin",
                "name",
                "coachingId",
                "lastReadSystemNotifications",
                "gender",
                "age",
                "notificationUpdateHash",
                "thryveConnections",
                "waitingRoom"
              ],
              "properties": {
                "sleepTracker": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/sleepTracker",
                  "type": "object",
                  "title": "Sleep Tracker",
                  "description": "Technical data used to establish a connection with a sleep tracking device",
                  "default": {},
                  "examples": [],
                  "required": [
                    "accessToken",
                    "provider",
                    "expiresInSeconds",
                    "providerUserId",
                    "refreshToken"
                  ],
                  "properties": {
                    "requestTokenSecret": {
                      "$id": "#/properties/mementor/properties/user/properties/profile/properties/sleepTracker/properties/requestTokenSecret",
                      "type": [
                        "string",
                        "null"
                      ],
                      "title": "Request Token Secret",
                      "description": "Obsolete property that is no longer used",
                      "default": null,
                      "examples": [
                        null
                      ]
                    },
                    "accessToken": {
                      "$id": "#/properties/mementor/properties/user/properties/profile/properties/sleepTracker/properties/accessToken",
                      "type": [
                        "string",
                        "null"
                      ],
                      "title": "AccessToken",
                      "description": "Access token to request data from the sleep tracking provider API",
                      "default": "",
                      "examples": [
                        "_randomString_abc123"
                      ]
                    },
                    "provider": {
                      "$id": "#/properties/mementor/properties/user/properties/profile/properties/sleepTracker/properties/provider",
                      "type": [
                        "string",
                        "null"
                      ],
                      "title": "Provider",
                      "description": "Name of the sleep tracker provider that is used",
                      "default": "",
                      "examples": [
                        "fitbit"
                      ]
                    },
                    "expiresInSeconds": {
                      "$id": "#/properties/mementor/properties/user/properties/profile/properties/sleepTracker/properties/expiresInSeconds",
                      "type": [
                        "integer",
                        "null"
                      ],
                      "title": "Expiration",
                      "description": "Delay after which the access token expires",
                      "default": 0,
                      "examples": [
                        31536000
                      ]
                    },
                    "providerUserId": {
                      "$id": "#/properties/mementor/properties/user/properties/profile/properties/sleepTracker/properties/providerUserId",
                      "type": [
                        "string",
                        "null"
                      ],
                      "title": "Provider user id",
                      "description": "Provider-specific identifier of the user (which is not the same as the somnio user id)",
                      "default": "",
                      "examples": [
                        "6DQSX2"
                      ]
                    },
                    "refreshToken": {
                      "$id": "#/properties/mementor/properties/user/properties/profile/properties/sleepTracker/properties/refreshToken",
                      "type": [
                        "string",
                        "null"
                      ],
                      "title": "RefreshToken",
                      "description": "Token used to refresh the access at the sleep tracking provider",
                      "default": "",
                      "examples": [
                        "_randomString_abc123"
                      ]
                    },
                    "accessTokenSecret": {
                      "$id": "#/properties/mementor/properties/user/properties/profile/properties/sleepTracker/properties/accessTokenSecret",
                      "type": [
                        "string",
                        "null"
                      ],
                      "title": "Access Token Secret",
                      "description": "Obsolete property that is no longer used",
                      "default": null,
                      "examples": [
                        null
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "clients": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/clients",
                  "type": "array",
                  "title": "Clients",
                  "description": "Internal value used to assign a user to a client. Note that this does NOT specify an origin, e.g. a medical institution or doctor or health insurance",
                  "default": [
                    [
                      "mementor"
                    ]
                  ],
                  "examples": [
                    [
                      "mementor"
                    ]
                  ]
                },
                "dataProcessingConsent": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/dataProcessingConsent",
                  "type": "boolean",
                  "title": "Data Processing Consent",
                  "description": "Whether or not the user has agreed to the data processing terms. If set to FALSE, the user cannot log in and use the application anymore. Hence, all active users have this value set to true",
                  "default": false,
                  "examples": [
                    true
                  ]
                },
                "dataProcessingConsentDate": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/dataProcessingConsentDate",
                  "type": "string",
                  "format": "date-time",
                  "title": "Data Processing Consent Date",
                  "description": "Date at which the user has agreed to the data processing terms",
                  "default": null,
                  "examples": [
                    "2020-08-01T14:43:25.945Z"
                  ]
                },
                "language": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/language",
                  "type": "string",
                  "title": "Language",
                  "description": "The language the user has set to use the app in. Possible values are: en_us, de_ch, fr_ch",
                  "default": "",
                  "examples": [
                    "de_ch"
                  ]
                },
                "active": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/active",
                  "type": "boolean",
                  "title": "Active",
                  "description": "Specifies the state of the profile regarding the program use. Set to FALSE until the user has activated the program",
                  "default": false,
                  "examples": [
                    true
                  ]
                },
                "anonymized": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/anonymized",
                  "type": "boolean",
                  "title": "Anonymized",
                  "description": "If a user account is deleted, his profile is reset and user input data is deleted from the database. In this case, the anomyized property is set to true",
                  "default": false,
                  "examples": [
                    false
                  ]
                },
                "speakingRate": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/speakingRate",
                  "type": "integer",
                  "title": "Speaking Rate",
                  "description": "Setting describing the speed rate at which the speech is played back. Possible values are 1 - 9",
                  "default": 0,
                  "examples": [
                    5
                  ]
                },
                "showSubtitles": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/showSubtitles",
                  "type": "boolean",
                  "title": "Subtitles",
                  "description": "Setting describing whether the subtitles are displayed during speech playback",
                  "default": false,
                  "examples": [
                    false
                  ]
                },
                "autoNext": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/autoNext",
                  "type": "boolean",
                  "title": "Auto Next",
                  "description": "Setting describing whether during program execution after a step is completed, the step should automatically be played back if possible",
                  "default": false,
                  "examples": [
                    true
                  ]
                },
                "loginCount": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/loginCount",
                  "type": "integer",
                  "title": "Login Count",
                  "description": "Number of times that the user has logged into the app",
                  "default": 0,
                  "examples": [
                    1291
                  ]
                },
                "trustedDevices": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/trustedDevices",
                  "type": "array",
                  "title": "Trusted Devices",
                  "description": "Contains a list of machine identifiers for which the user has executed the two phase authentication",
                  "default": [],
                  "examples": [
                    [
                      "_randomString_abc123",
                      "_randomString_abc123"
                    ]
                  ]
                },
                "twoFactorAuthentication": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/twoFactorAuthentication",
                  "type": "boolean",
                  "title": "Two Factor Authentication",
                  "description": "If enabled, the user can only log in to the somnio app on new devices when entering a two phase authentication token",
                  "default": true,
                  "examples": [
                    false
                  ]
                },
                "newsletter": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/newsletter",
                  "type": "boolean",
                  "title": "Newsletter",
                  "description": "Specifies whether the user would like to receive newsletters",
                  "default": false,
                  "examples": [
                    false
                  ]
                },
                "notifications": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/notifications",
                  "type": "boolean",
                  "title": "Receive Notifications",
                  "description": "Specifies whether the user would like to receive program related notifications sent to his mail address",
                  "default": false,
                  "examples": [
                    true
                  ]
                },
                "_id": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/_id",
                  "type": "string",
                  "title": "_ID",
                  "description": "Internal technical identifier with no semantic meaning",
                  "default": "",
                  "examples": [
                    "_id_abc123"
                  ]
                },
                "joined": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/joined",
                  "type": "string",
                  "format": "date-time",
                  "title": "Joined Date",
                  "description": "Date at which the user has registered",
                  "default": "",
                  "examples": [
                    "2019-07-12T08:03:07.308Z"
                  ]
                },
                "email": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/email",
                  "type": "string",
                  "format": "idn-email",
                  "title": "E-Mail",
                  "description": "The user's e-mail address",
                  "default": "",
                  "examples": [
                    "mail@example.com"
                  ]
                },
                "__v": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/__v",
                  "type": "integer",
                  "title": "Version",
                  "description": "Internal technical database record version",
                  "default": 0,
                  "examples": [
                    37
                  ]
                },
                "lastLogin": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/lastLogin",
                  "type": "string",
                  "format": "date-time",
                  "title": "Last Login",
                  "description": "Date at which the user has logged in the last",
                  "default": "",
                  "examples": [
                    "2020-11-27T09:42:49.619Z"
                  ]
                },
                "name": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/name",
                  "type": "string",
                  "title": "User Name",
                  "description": "The user name the user has chosen",
                  "default": "",
                  "examples": [
                    "My User Name"
                  ]
                },
                "coachingId": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/coachingId",
                  "type": "string",
                  "title": "Coaching",
                  "description": "Internal technical identifier pointing to the last coaching the user was working on",
                  "default": "",
                  "examples": [
                    "_id_abc123"
                  ]
                },
                "lastCoachingId": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/lastCoachingId",
                  "type": [
                    "string",
                    "null"
                  ],
                  "title": "Last Coaching ID",
                  "description": "Obsolete property that is no longer used",
                  "default": null,
                  "examples": [
                    null
                  ]
                },
                "lastReadSystemNotifications": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/lastReadSystemNotifications",
                  "type": "string",
                  "format": "date-time",
                  "title": "Last Read System Notifications",
                  "description": "Date at which the user has read the app system messages the last time",
                  "default": "",
                  "examples": [
                    "2020-07-26T16:58:59.717Z"
                  ]
                },
                "gender": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/gender",
                  "type": "string",
                  "title": "Gender",
                  "description": "The user gender. Possible values: male | female | other | null",
                  "default": "",
                  "examples": [
                    "female"
                  ]
                },
                "age": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/age",
                  "type": "integer",
                  "title": "Age",
                  "description": "The user's age",
                  "default": 0,
                  "examples": [
                    22
                  ]
                },
                "notificationUpdateHash": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/notificationUpdateHash",
                  "type": "string",
                  "title": "Notification Update Hash",
                  "description": "Internal random technical string used when updating the mail notification preferences",
                  "default": "",
                  "examples": [
                    "_randomString_abc123"
                  ]
                },
                "resetToken": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/resetToken",
                  "type": "string",
                  "title": "Reset Token",
                  "description": "Internal random technical string used when resetting the password",
                  "default": "",
                  "examples": [
                    "_randomString_abc123"
                  ]
                },
                "resetTokenCreatedDate": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/resetTokenCreatedDate",
                  "type": "string",
                  "format": "date-time",
                  "title": "Reset Token Created Date",
                  "description": "Date at which the user has requested a new password. Used internally",
                  "default": "",
                  "examples": [
                    "2020-11-13T09:51:49.896Z"
                  ]
                },
                "newEmail": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/newEmail",
                  "type": "string",
                  "format": "idn-email",
                  "title": "New EMail",
                  "description": "New e-mail address the user has desired to use this account with. This value is reset once the user's mail address has been confirmed",
                  "default": "",
                  "examples": [
                    "mail2@example.com"
                  ]
                },
                "newEmailToken": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/newEmailToken",
                  "type": "string",
                  "title": "New Email Token",
                  "description": "Internal random technical string used when setting a new email address",
                  "default": "",
                  "examples": [
                    "_randomString_abc123"
                  ]
                },
                "newEmailTokenCreatedDate": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/newEmailTokenCreatedDate",
                  "type": "string",
                  "format": "date-time",
                  "title": "New Email Token Created Date",
                  "description": "Date at which the user has requested to set a new email address. Used internally",
                  "default": "",
                  "examples": [
                    "2020-11-23T12:59:32.097Z"
                  ]
                },
                "demoAccount": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/demoAccount",
                  "type": "boolean",
                  "title": "Demo Account",
                  "description": "Whether the account should be able to perform demo operations in the somnio application",
                  "default": false,
                  "examples": [
                    false
                  ]
                },
                "thryveConnections": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/thryveConnections",
                  "type": "array",
                  "title": "The thryveConnections schema",
                  "default": [],
                  "examples": [
                    []
                  ],
                  "additionalItems": true,
                  "items": {
                    "$id": "#/properties/mementor/properties/user/properties/profile/properties/thryveConnections/items"
                  }
                },
                "waitingRoom": {
                  "$id": "#/properties/mementor/properties/user/properties/profile/properties/waitingRoom",
                  "type": "boolean",
                  "title": "The waitingRoom schema",
                  "default": false,
                  "examples": [
                    false
                  ]
                }
              },
              "additionalProperties": false
            },
            "roles": {
              "type": "array",
              "title": "Roles",
              "description": "List of roles that the user has; used internally",
              "default": [],
              "examples": [
              ]
            }
          },
          "additionalProperties": false
        },
        "licensing": {
          "type": "object",
          "title": "Licensing",
          "description": "Information about the somnio app usage access, including licensing and voucher data",
          "default": {},
          "examples": [
          ],
          "required": [
            "licenses",
            "vouchers"
          ],
          "properties": {
            "licenses": {
              "$id": "#/properties/mementor/properties/licensing/properties/licenses",
              "type": "array",
              "title": "Licenses",
              "description": "List of licenses that have been created for the user",
              "default": [],
              "examples": [
              ],
              "additionalItems": false,
              "items": {
                "$ref": "#/definitions/license"
              }
            },
            "vouchers": {
              "$id": "#/properties/mementor/properties/licensing/properties/vouchers",
              "type": "array",
              "title": "Vouchers",
              "description": "List of vouchers that the user has redeemed",
              "default": [],
              "examples": [
                []
              ],
              "additionalItems": false,
              "items": {
                "$ref": "#/definitions/voucher"
              }
            }
          },
          "additionalProperties": false
        },
        "communication": {
          "type": "object",
          "title": "Communication",
          "description": "Data used in the communication between the app and the user",
          "default": [],
          "examples": [
            []
          ],
          "required": [
            "messages"
          ],
          "properties": {
            "messages": {
              "$id": "#/properties/mementor/properties/communication/properties/messages",
              "type": "array",
              "title": "Messages",
              "description": "Messages that were sent to the user",
              "items": {
                "$ref": "#/definitions/message"
              }
            }
          }
        },
        "training": {
          "$id": "#/properties/mementor/properties/training",
          "type": "object",
          "title": "Training",
          "description": "Captures data that is relevant when using the somnio app",
          "default": {},
          "examples": [
          ],
          "required": [
            "coachings",
            "sleepWindows",
            "userInputs"
          ],
          "properties": {
            "coachings": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/coaching"
              },
              "default": []
            },
            "sleepWindows": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/sleepWindow"
              },
              "default": [],
              "examples": [
              ]
            },
            "userInputs": {
              "$id": "#/properties/mementor/properties/training/properties/userInputs",
              "type": "object",
              "title": "User Input",
              "description": "Data that the user has entered throughout the app usage",
              "default": {
              },
              "examples": [
              ],
              "required": [
                "sleepJournal",
                "hypertensionJournal",
                "answers"
              ],
              "properties": {
                "sleepJournal": {
                  "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/sleepJournal",
                  "type": "object",
                  "title": "Sleep Journal",
                  "description": "Information about the sleep journal (sleep protocols) stored for the user",
                  "default": {
                  },
                  "examples": [
                  ],
                  "required": [
                    "sleepJournalEntries",
                    "awakeJournalEntries"
                  ],
                  "properties": {
                    "sleepJournalEntries": {
                      "type": "array",
                      "items": {
                        "$ref": "#/definitions/sleepJournalEntry"
                      },
                      "default": [],
                      "examples": [
                      ]
                    },
                    "awakeJournalEntries": {
                      "type": "array",
                      "items": {
                        "$ref": "#/definitions/awakeJournalEntry"
                      },
                      "default": [],
                      "examples": [
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "answers": {
                  "type": "array",
                  "items": {
                    "$ref": "#/definitions/answer"
                  },
                  "default": [],
                  "examples": [
                  ]
                },
                "hypertensionJournal": {
                  "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal",
                  "type": "object",
                  "title": "The hypertensionJournal schema",
                  "default": {},
                  "required": [
                    "bloodPressureJournalEntries",
                    "hypertensionJournalEntries"
                  ],
                  "properties": {
                    "bloodPressureJournalEntries": {
                      "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries",
                      "type": "array",
                      "title": "The bloodPressureJournalEntries schema",
                      "default": [],
                      "additionalItems": true,
                      "items": {
                        "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items",
                        "anyOf": [
                          {
                            "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0",
                            "type": "object",
                            "title": "The first anyOf schema",
                            "default": {},
                            "examples": [
                              {
                                "fromTracker": false,
                                "source": "manual",
                                "location": "home",
                                "hasComplaints": false,
                                "complaints": [],
                                "_id": "620204c53493574f90ef8025",
                                "systolic": 120,
                                "diastolic": 80,
                                "pulse": 70,
                                "user": "6107a79820362d00c00e6113",
                                "createdAt": "2022-02-08T05:51:01.673Z",
                                "date": "2022-02-06T23:00:00.673Z",
                                "updatedAt": "2022-02-08T05:51:01.673Z",
                                "__v": 0
                              }
                            ],
                            "required": [
                              "fromTracker",
                              "source",
                              "location",
                              "hasComplaints",
                              "complaints",
                              "_id",
                              "systolic",
                              "diastolic",
                              "pulse",
                              "user",
                              "createdAt",
                              "date",
                              "updatedAt",
                              "__v"
                            ],
                            "properties": {
                              "fromTracker": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/fromTracker",
                                "type": "boolean",
                                "title": "The fromTracker schema",
                                "default": false,
                                "examples": [
                                  false
                                ]
                              },
                              "source": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/source",
                                "type": "string",
                                "title": "The source schema",
                                "default": "",
                                "examples": [
                                  "manual"
                                ]
                              },
                              "location": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/location",
                                "type": "string",
                                "title": "The location schema",
                                "default": "",
                                "examples": [
                                  "home"
                                ]
                              },
                              "hasComplaints": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/hasComplaints",
                                "type": "boolean",
                                "title": "The hasComplaints schema",
                                "default": false,
                                "examples": [
                                  false
                                ]
                              },
                              "complaints": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/complaints",
                                "type": "array",
                                "title": "The complaints schema",
                                "default": [],
                                "examples": [
                                  []
                                ],
                                "additionalItems": true,
                                "items": {
                                  "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/complaints/items"
                                }
                              },
                              "_id": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/_id",
                                "type": "string",
                                "title": "The _id schema",
                                "default": "",
                                "examples": [
                                  "620204c53493574f90ef8025"
                                ]
                              },
                              "systolic": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/systolic",
                                "type": "integer",
                                "title": "The systolic schema",
                                "default": 0,
                                "examples": [
                                  120
                                ]
                              },
                              "diastolic": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/diastolic",
                                "type": "integer",
                                "title": "The diastolic schema",
                                "default": 0,
                                "examples": [
                                  80
                                ]
                              },
                              "pulse": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/pulse",
                                "type": "integer",
                                "title": "The pulse schema",
                                "default": 0,
                                "examples": [
                                  70
                                ]
                              },
                              "user": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/user",
                                "type": "string",
                                "title": "The user schema",
                                "default": "",
                                "examples": [
                                  "6107a79820362d00c00e6113"
                                ]
                              },
                              "createdAt": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/createdAt",
                                "type": "string",
                                "title": "The createdAt schema",
                                "default": "",
                                "examples": [
                                  "2022-02-08T05:51:01.673Z"
                                ]
                              },
                              "date": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/date",
                                "type": "string",
                                "title": "The date schema",
                                "default": "",
                                "examples": [
                                  "2022-02-06T23:00:00.673Z"
                                ]
                              },
                              "updatedAt": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/updatedAt",
                                "type": "string",
                                "title": "The updatedAt schema",
                                "default": "",
                                "examples": [
                                  "2022-02-08T05:51:01.673Z"
                                ]
                              },
                              "__v": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/bloodPressureJournalEntries/items/anyOf/0/properties/__v",
                                "type": "integer",
                                "title": "The __v schema",
                                "default": 0,
                                "examples": [
                                  0
                                ]
                              }
                            },
                            "additionalProperties": true
                          }
                        ]
                      }
                    },
                    "hypertensionJournalEntries": {
                      "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries",
                      "type": "array",
                      "title": "The hypertensionJournalEntries schema",
                      "default": [],
                      "additionalItems": true,
                      "items": {
                        "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items",
                        "anyOf": [
                          {
                            "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0",
                            "type": "object",
                            "title": "The first anyOf schema",
                            "default": {},
                            "required": [
                              "activity",
                              "nutrition",
                              "stimulants",
                              "relaxation",
                              "fromTracker",
                              "_id",
                              "medication",
                              "activitiesDetailed",
                              "user",
                              "createdAt",
                              "date",
                              "updatedAt",
                              "__v"
                            ],
                            "properties": {
                              "activity": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/activity",
                                "type": "object",
                                "title": "The activity schema",
                                "default": {},
                                "examples": [
                                  {
                                    "low": 30,
                                    "medium": 15,
                                    "high": 40,
                                    "all": 85
                                  }
                                ],
                                "required": [
                                  "low",
                                  "medium",
                                  "high",
                                  "all"
                                ],
                                "properties": {
                                  "low": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/activity/properties/low",
                                    "type": "integer",
                                    "title": "The low schema",
                                    "default": 0,
                                    "examples": [
                                      30
                                    ]
                                  },
                                  "medium": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/activity/properties/medium",
                                    "type": "integer",
                                    "title": "The medium schema",
                                    "default": 0,
                                    "examples": [
                                      15
                                    ]
                                  },
                                  "high": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/activity/properties/high",
                                    "type": "integer",
                                    "title": "The high schema",
                                    "default": 0,
                                    "examples": [
                                      40
                                    ]
                                  },
                                  "all": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/activity/properties/all",
                                    "type": "integer",
                                    "title": "The all schema",
                                    "default": 0,
                                    "examples": [
                                      85
                                    ]
                                  }
                                },
                                "additionalProperties": true
                              },
                              "nutrition": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition",
                                "type": "object",
                                "title": "The nutrition schema",
                                "default": {},
                                "examples": [
                                  {
                                    "vegetables": 6,
                                    "fruits": 6,
                                    "wholeGrain": 6,
                                    "lowFatMilk": 5,
                                    "goodFats": 2,
                                    "salt": 4,
                                    "redMeat": 2,
                                    "sugar": 3,
                                    "dashScore": 20
                                  }
                                ],
                                "required": [
                                  "vegetables",
                                  "fruits",
                                  "wholeGrain",
                                  "lowFatMilk",
                                  "goodFats",
                                  "salt",
                                  "redMeat",
                                  "sugar",
                                  "dashScore"
                                ],
                                "properties": {
                                  "vegetables": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/vegetables",
                                    "type": "integer",
                                    "title": "The vegetables schema",
                                    "default": 0,
                                    "examples": [
                                      6
                                    ]
                                  },
                                  "fruits": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/fruits",
                                    "type": "integer",
                                    "title": "The fruits schema",
                                    "default": 0,
                                    "examples": [
                                      6
                                    ]
                                  },
                                  "wholeGrain": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/wholeGrain",
                                    "type": "integer",
                                    "title": "The wholeGrain schema",
                                    "default": 0,
                                    "examples": [
                                      6
                                    ]
                                  },
                                  "lowFatMilk": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/lowFatMilk",
                                    "type": "integer",
                                    "title": "The lowFatMilk schema",
                                    "default": 0,
                                    "examples": [
                                      5
                                    ]
                                  },
                                  "goodFats": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/goodFats",
                                    "type": "integer",
                                    "title": "The goodFats schema",
                                    "default": 0,
                                    "examples": [
                                      2
                                    ]
                                  },
                                  "salt": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/salt",
                                    "type": "integer",
                                    "title": "The salt schema",
                                    "default": 0,
                                    "examples": [
                                      4
                                    ]
                                  },
                                  "redMeat": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/redMeat",
                                    "type": "integer",
                                    "title": "The redMeat schema",
                                    "default": 0,
                                    "examples": [
                                      2
                                    ]
                                  },
                                  "sugar": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/sugar",
                                    "type": "integer",
                                    "title": "The sugar schema",
                                    "default": 0,
                                    "examples": [
                                      3
                                    ]
                                  },
                                  "dashScore": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/nutrition/properties/dashScore",
                                    "type": "integer",
                                    "title": "The dashScore schema",
                                    "default": 0,
                                    "examples": [
                                      20
                                    ]
                                  }
                                },
                                "additionalProperties": true
                              },
                              "stimulants": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/stimulants",
                                "type": "object",
                                "title": "The stimulants schema",
                                "default": {},
                                "examples": [
                                  {
                                    "alcohol": 0,
                                    "cigarettes": 6
                                  }
                                ],
                                "required": [
                                  "alcohol",
                                  "cigarettes"
                                ],
                                "properties": {
                                  "alcohol": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/stimulants/properties/alcohol",
                                    "type": "integer",
                                    "title": "The alcohol schema",
                                    "default": 0,
                                    "examples": [
                                      0
                                    ]
                                  },
                                  "cigarettes": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/stimulants/properties/cigarettes",
                                    "type": "integer",
                                    "title": "The cigarettes schema",
                                    "default": 0,
                                    "examples": [
                                      6
                                    ]
                                  }
                                },
                                "additionalProperties": true
                              },
                              "relaxation": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/relaxation",
                                "type": "object",
                                "title": "The relaxation schema",
                                "default": {},
                                "examples": [
                                  {
                                    "mindfulness": 30,
                                    "other": 10
                                  }
                                ],
                                "required": [
                                  "mindfulness",
                                  "other"
                                ],
                                "properties": {
                                  "mindfulness": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/relaxation/properties/mindfulness",
                                    "type": "integer",
                                    "title": "The mindfulness schema",
                                    "default": 0,
                                    "examples": [
                                      30
                                    ]
                                  },
                                  "other": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/relaxation/properties/other",
                                    "type": "integer",
                                    "title": "The other schema",
                                    "default": 0,
                                    "examples": [
                                      10
                                    ]
                                  }
                                },
                                "additionalProperties": true
                              },
                              "fromTracker": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/fromTracker",
                                "type": "boolean",
                                "title": "The fromTracker schema",
                                "default": false,
                                "examples": [
                                  false
                                ]
                              },
                              "_id": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/_id",
                                "type": "string",
                                "title": "The _id schema",
                                "default": "",
                                "examples": [
                                  "620204c53493574f90ef8017"
                                ]
                              },
                              "medication": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/medication",
                                "type": "array",
                                "title": "The medication schema",
                                "default": [],
                                "examples": [
                                  []
                                ],
                                "additionalItems": true,
                                "items": {
                                  "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/medication/items"
                                }
                              },
                              "activitiesDetailed": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/activitiesDetailed",
                                "type": "array",
                                "title": "The activitiesDetailed schema",
                                "default": [],
                                "examples": [
                                  []
                                ],
                                "additionalItems": true,
                                "items": {
                                  "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/activitiesDetailed/items"
                                }
                              },
                              "user": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/user",
                                "type": "string",
                                "title": "The user schema",
                                "default": "",
                                "examples": [
                                  "6107a79820362d00c00e6113"
                                ]
                              },
                              "createdAt": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/createdAt",
                                "type": "string",
                                "title": "The createdAt schema",
                                "default": "",
                                "examples": [
                                  "2022-02-08T05:51:01.265Z"
                                ]
                              },
                              "date": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/date",
                                "type": "string",
                                "title": "The date schema",
                                "default": "",
                                "examples": [
                                  "2022-02-06T23:00:00.265Z"
                                ]
                              },
                              "updatedAt": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/updatedAt",
                                "type": "string",
                                "title": "The updatedAt schema",
                                "default": "",
                                "examples": [
                                  "2022-02-08T05:51:01.268Z"
                                ]
                              },
                              "__v": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/0/properties/__v",
                                "type": "integer",
                                "title": "The __v schema",
                                "default": 0,
                                "examples": [
                                  0
                                ]
                              }
                            },
                            "additionalProperties": true
                          },
                          {
                            "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1",
                            "type": "object",
                            "title": "The second anyOf schema",
                            "default": {},
                            "examples": [
                              {
                                "nutrition": {
                                  "vegetables": 3,
                                  "fruits": 1,
                                  "wholeGrain": 6,
                                  "lowFatMilk": 5,
                                  "goodFats": 6,
                                  "salt": 7,
                                  "redMeat": 5,
                                  "sugar": 7,
                                  "dashScore": 16
                                },
                                "stimulants": {
                                  "alcohol": 1,
                                  "cigarettes": 15
                                },
                                "relaxation": {
                                  "mindfulness": null,
                                  "other": null
                                },
                                "fromTracker": false,
                                "_id": "620204c53493574f90ef8024",
                                "medication": [],
                                "activitiesDetailed": [],
                                "user": "6107a79820362d00c00e6113",
                                "createdAt": "2022-02-08T05:51:01.615Z",
                                "date": "2022-01-24T23:00:00.615Z",
                                "updatedAt": "2022-02-08T05:51:01.615Z",
                                "__v": 0
                              }
                            ],
                            "required": [
                              "nutrition",
                              "stimulants",
                              "relaxation",
                              "fromTracker",
                              "_id",
                              "medication",
                              "activitiesDetailed",
                              "user",
                              "createdAt",
                              "date",
                              "updatedAt",
                              "__v"
                            ],
                            "properties": {
                              "nutrition": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition",
                                "type": "object",
                                "title": "The nutrition schema",
                                "default": {},
                                "examples": [
                                  {
                                    "vegetables": 3,
                                    "fruits": 1,
                                    "wholeGrain": 6,
                                    "lowFatMilk": 5,
                                    "goodFats": 6,
                                    "salt": 7,
                                    "redMeat": 5,
                                    "sugar": 7,
                                    "dashScore": 16
                                  }
                                ],
                                "required": [
                                  "vegetables",
                                  "fruits",
                                  "wholeGrain",
                                  "lowFatMilk",
                                  "goodFats",
                                  "salt",
                                  "redMeat",
                                  "sugar",
                                  "dashScore"
                                ],
                                "properties": {
                                  "vegetables": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/vegetables",
                                    "type": "integer",
                                    "title": "The vegetables schema",
                                    "default": 0,
                                    "examples": [
                                      3
                                    ]
                                  },
                                  "fruits": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/fruits",
                                    "type": "integer",
                                    "title": "The fruits schema",
                                    "default": 0,
                                    "examples": [
                                      1
                                    ]
                                  },
                                  "wholeGrain": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/wholeGrain",
                                    "type": "integer",
                                    "title": "The wholeGrain schema",
                                    "default": 0,
                                    "examples": [
                                      6
                                    ]
                                  },
                                  "lowFatMilk": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/lowFatMilk",
                                    "type": "integer",
                                    "title": "The lowFatMilk schema",
                                    "default": 0,
                                    "examples": [
                                      5
                                    ]
                                  },
                                  "goodFats": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/goodFats",
                                    "type": "integer",
                                    "title": "The goodFats schema",
                                    "default": 0,
                                    "examples": [
                                      6
                                    ]
                                  },
                                  "salt": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/salt",
                                    "type": "integer",
                                    "title": "The salt schema",
                                    "default": 0,
                                    "examples": [
                                      7
                                    ]
                                  },
                                  "redMeat": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/redMeat",
                                    "type": "integer",
                                    "title": "The redMeat schema",
                                    "default": 0,
                                    "examples": [
                                      5
                                    ]
                                  },
                                  "sugar": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/sugar",
                                    "type": "integer",
                                    "title": "The sugar schema",
                                    "default": 0,
                                    "examples": [
                                      7
                                    ]
                                  },
                                  "dashScore": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/nutrition/properties/dashScore",
                                    "type": "integer",
                                    "title": "The dashScore schema",
                                    "default": 0,
                                    "examples": [
                                      16
                                    ]
                                  }
                                },
                                "additionalProperties": true
                              },
                              "stimulants": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/stimulants",
                                "type": "object",
                                "title": "The stimulants schema",
                                "default": {},
                                "examples": [
                                  {
                                    "alcohol": 1,
                                    "cigarettes": 15
                                  }
                                ],
                                "required": [
                                  "alcohol",
                                  "cigarettes"
                                ],
                                "properties": {
                                  "alcohol": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/stimulants/properties/alcohol",
                                    "type": "integer",
                                    "title": "The alcohol schema",
                                    "default": 0,
                                    "examples": [
                                      1
                                    ]
                                  },
                                  "cigarettes": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/stimulants/properties/cigarettes",
                                    "type": "integer",
                                    "title": "The cigarettes schema",
                                    "default": 0,
                                    "examples": [
                                      15
                                    ]
                                  }
                                },
                                "additionalProperties": true
                              },
                              "relaxation": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/relaxation",
                                "type": "object",
                                "title": "The relaxation schema",
                                "default": {},
                                "examples": [
                                  {
                                    "mindfulness": null,
                                    "other": null
                                  }
                                ],
                                "required": [
                                  "mindfulness",
                                  "other"
                                ],
                                "properties": {
                                  "mindfulness": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/relaxation/properties/mindfulness",
                                    "type": "null",
                                    "title": "The mindfulness schema",
                                    "default": null,
                                    "examples": [
                                      null
                                    ]
                                  },
                                  "other": {
                                    "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/relaxation/properties/other",
                                    "type": "null",
                                    "title": "The other schema",
                                    "default": null,
                                    "examples": [
                                      null
                                    ]
                                  }
                                },
                                "additionalProperties": true
                              },
                              "fromTracker": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/fromTracker",
                                "type": "boolean",
                                "title": "The fromTracker schema",
                                "default": false,
                                "examples": [
                                  false
                                ]
                              },
                              "_id": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/_id",
                                "type": "string",
                                "title": "The _id schema",
                                "default": "",
                                "examples": [
                                  "620204c53493574f90ef8024"
                                ]
                              },
                              "medication": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/medication",
                                "type": "array",
                                "title": "The medication schema",
                                "default": [],
                                "examples": [
                                  []
                                ],
                                "additionalItems": true,
                                "items": {
                                  "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/medication/items"
                                }
                              },
                              "activitiesDetailed": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/activitiesDetailed",
                                "type": "array",
                                "title": "The activitiesDetailed schema",
                                "default": [],
                                "examples": [
                                  []
                                ],
                                "additionalItems": true,
                                "items": {
                                  "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/activitiesDetailed/items"
                                }
                              },
                              "user": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/user",
                                "type": "string",
                                "title": "The user schema",
                                "default": "",
                                "examples": [
                                  "6107a79820362d00c00e6113"
                                ]
                              },
                              "createdAt": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/createdAt",
                                "type": "string",
                                "title": "The createdAt schema",
                                "default": "",
                                "examples": [
                                  "2022-02-08T05:51:01.615Z"
                                ]
                              },
                              "date": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/date",
                                "type": "string",
                                "title": "The date schema",
                                "default": "",
                                "examples": [
                                  "2022-01-24T23:00:00.615Z"
                                ]
                              },
                              "updatedAt": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/updatedAt",
                                "type": "string",
                                "title": "The updatedAt schema",
                                "default": "",
                                "examples": [
                                  "2022-02-08T05:51:01.615Z"
                                ]
                              },
                              "__v": {
                                "$id": "#/properties/mementor/properties/training/properties/userInputs/properties/hypertensionJournal/properties/hypertensionJournalEntries/items/anyOf/1/properties/__v",
                                "type": "integer",
                                "title": "The __v schema",
                                "default": 0,
                                "examples": [
                                  0
                                ]
                              }
                            },
                            "additionalProperties": true
                          }
                        ]
                      }
                    }
                  },
                  "additionalProperties": true
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "supportRequests": {
          "$id": "#/properties/mementor/properties/supportRequests",
          "type": "array",
          "title": "The supportRequests schema",
          "default": [],
          "examples": [
            []
          ],
          "additionalItems": true,
          "items": {
            "$id": "#/properties/mementor/properties/supportRequests/items"
          }
        },
        "resetMailTokens": {
          "$id": "#/properties/mementor/properties/resetMailTokens",
          "type": "array",
          "title": "The resetMailTokens schema",
          "default": [],
          "additionalItems": true,
          "items": {
            "$id": "#/properties/mementor/properties/resetMailTokens/items"
          }
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
