Time is used to store specific points or periods of time on a day e.g. the time of a medication intake.


Use when you only need a time, not a date. Do not use for data that does need date information.

Data Model

Name Type M Description Example
dateTime String X Contains the time, format must follow a pattern (see rules) “11:24:57”



The pattern for the dateTime string is (d means digit):

d:0 till 2 d : d:0 till 5 d : d:0 till 5 d . 3 d + or – 2 d : 2 d
hour (24h) min sec milli-sec time shift

What gives following options:

Coded date Equivalent date
11:24:57 11:24 and 57 seconds
11:24:57.321 11:24, 57 seconds and 321 milliseconds
11:24:57+08:00 11:24, 57 seconds in time zone UTC+8 (Singapore)
11:24:57.543+08:00 11:24, 57 seconds and 321 milliseconds in UTC+8

Update Rhythm

Depends on use case. Time information of an medication intake will likely be set only once, but updates due to changes in the medication plan are possible.


    "id": "/core/Time",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "string",
    "pattern": "^[0-2]\d:[0-5]\d(?::[0-5]\d(?:\.\d{3})?)?((?:[+-]\d{2}:\d{2})|Z)?$"