- Items (object): Variable level metadata individual fields integrated into the variable level
metadata object within the HEAL platform metadata service.
> Note, onlynameanddescriptionare required.
Listed at the end of the description are suggested "priority" levels in brackets (e.g., []):
- [Required]: Needs to be filled out to be valid.
- [Highly recommended]: Greatly help using the data dictionary but not required.
- [Optional, if applicable]: May only be applicable to certain fields.
- [Autopopulated, if not filled]: These fields are intended to be autopopulated from other fields but can be filled out if desired.
- [Experimental]: These fields are not currently used but are in development. Can contain additional properties.
-
module(string): The section, form, survey instrument, set of measures or other broad category used to group variables.Examples:
"Demographics""PROMIS""Substance use""Medical History""Sleep questions""Physical activity" -
name(string, required): The name of a variable (i.e., field) as it appears in the data.
[Required] . -
title(string): The human-readable title or label of the variable.
[Highly recommended] .Examples:
"My Variable (for name of my_variable)" -
description(string, required): An extended description of the variable. This could be the definition of a variable or the question text (e.g., if a survey).
[Required] .Examples:
"Definition""Question text (if a survey)" -
type(string): A classification or category of a particular data element or property expected or allowed in the dataset.
-number(A numeric value with optional decimal places. (e.g., 3.14)) -
integer(A whole number without decimal places. (e.g., 42)) -
string(A sequence of characters. (e.g., "test")) -
any(Any type of data is allowed. (e.g., true)) -
boolean(A binary value representing true or false. (e.g., true)) -
date(A specific calendar date. (e.g., "2023-05-25")) -
datetime(A specific date and time, including timezone information. (e.g., "2023-05-25T10:30:00Z")) -
time(A specific time of day. (e.g., "10:30:00")) -
year(A specific year. (e.g., 2023) -
yearmonth(A specific year and month. (e.g., "2023-05")) -
duration(A length of time. (e.g., "PT1H") -
geopoint(A pair of latitude and longitude coordinates. (e.g., [51.5074, -0.1278])) . Must be one of:["number", "integer", "string", "any", "boolean", "date", "datetime", "time", "year", "yearmonth", "duration", "geopoint"]. -
format: A format taken from one of the frictionless specification schemas. For example, for tabular data, there is the Table Schema specification
Each format is dependent on thetypespecified. For example: Iftypeis "string", then see the String formats. Iftypeis one of the date-like formats, then see Date formats.- Any of
-
: Must be one of:
["uri", "email", "binary", "uuid"]. -
: A format for a date variable (
date,time,datetime).
\n\t* default: An ISO8601 format string. \n\t* any: Any parsable representation of a date/time/datetime. The implementing library can attempt to parse the datetime via a range of strategies. \n\t* {PATTERN}: The value can be parsed according to{PATTERN}, whichMUSTfollow the date formatting syntax of C / Python strftime.
\nExamples:
%Y-%m-%d(for date, e.g., 2023-05-25)%Y%-%d(for date, e.g., 20230525) for date without dashes"%Y-%m-%dT%H:%M:%S(for datetime, e.g., 2023-05-25T10:30:45)%Y-%m-%dT%H:%M:%SZ(for datetime with UTC timezone, e.g., 2023-05-25T10:30:45Z)%Y-%m-%dT%H:%M:%S%z(for datetime with timezone offset, e.g., 2023-05-25T10:30:45+0300)%Y-%m-%dT%H:%M(for datetime without seconds, e.g., 2023-05-25T10:30)%Y-%m-%dT%H(for datetime without minutes and seconds, e.g., 2023-05-25T10)%H:%M:%S(for time, e.g., 10:30:45)%H:%M:%SZ(for time with UTC timezone, e.g., 10:30:45Z)%H:%M:%S%z(for time with timezone offset, e.g., 10:30:45+0300) . -
: The two types of formats for
geopoint(describing a geographic point).- One of
- array: A JSON array or a string parsable as a JSON array where each item is a number with the first as the latitude and the second as longitude. .
- object: Contains latitude and longitude with two keys ("lat" and "long") with number items mapped to each key.
- One of
-
: The JSON object according to the geojson spec. Must be one of:
["topojson", "default"].
-
- Any of
-
constraints(object)maxLength(integer): Indicates the maximum length of an iterable (e.g., array, string, or object). For example, if 'Hello World' is the longest value of a categorical variable, this would be a maxLength of 11.
[Optional,if applicable] .enum(array): Constrains possible values to a set of values.
[Optional,if applicable] .pattern(string): A regular expression pattern the data MUST conform to.
[Optional,if applicable] .maximum(integer): Specifies the maximum value of a field (e.g., maximum -- or most recent -- date, maximum integer etc). Note, this is different then maxLength property.
[Optional,if applicable] .minimum(integer): Specifies the minimum value of a field.
[Optional,if applicable] .
-
encodings(object): Variable value encodings provide a way to further annotate any value within a any variable type, making values easier to understand.
Many analytic software programs (e.g., SPSS,Stata, and SAS) use numerical encodings and some algorithms only support numerical values. Encodings (and mappings) allow categorical values to be stored as numerical values.
Additionally, as another use case, this field provides a way to store categoricals that are stored as "short" labels (such as abbreviations).
[Optional,if applicable] .Examples:
{ "0": "No", "1": "Yes" }{ "HW": "Hello world", "GBW": "Good bye world", "HM": "Hi, Mike" } -
ordered(boolean): Indicates whether a categorical variable is ordered. This variable is relevant for variables that have an ordered relationship but not necessarily a numerical relationship (e.g., Strongly disagree < Disagree < Neutral < Agree).
[Optional,if applicable] . -
missingValues(array): A list of missing values specific to a variable.
[Highly recommended] . -
trueValues(array): For boolean (true) variable (as defined in type field), this field allows a physical string representation to be cast as true (increasing readability of the field). It can include one or more values.
[Optional, if applicable] .- Items (string)
Examples:
"Required""REQUIRED""required""Yes""Checked\"" -
falseValues(array): For boolean (false) variable (as defined in type field), this field allows a physical string representation to be cast as false (increasing readability of the field) that is not a standard false value. It can include one or more values. -
repo_link(string): A link to the variable as it exists on the home repository, if applicable . -
standardsMappings(array): A published set of standard variables such as the NIH Common Data Elements program. [Autopopulated, if not filled].- Items (object)
-
type(string): The type of mapping linked to a published set of standard variables such as the NIH Common Data Elements program. [Autopopulated, if not filled] .Examples:
"cde""ontology""reference_list" -
label(string): A free text label of a mapping indicating a mapping(s) to a published set of standard variables such as the NIH Common Data Elements program.
[Autopopulated, if not filled] .Examples:
"substance use""chemical compound""promis" -
url(string): The url that links out to the published, standardized mapping.
[Autopopulated, if not filled] .Examples:
"https://cde.nlm.nih.gov/deView?tinyId=XyuSGdTTI" -
source(string): The source of the standardized variable.Examples:
"TBD (will have controlled vocabulary)" -
id(string): The id locating the individual mapping within the given source.
-
- Items (object)
-
relatedConcepts(array): Mappings to a published set of concepts related to the given field such as ontological information (eg., NCI thesaurus, bioportal etc) [Autopopulated, if not filled].- Items (object)
-
type(string): The type of mapping to a published set of concepts related to the given field such as ontological information (eg., NCI thesaurus, bioportal etc)
[Autopopulated, if not filled] . -
label(string): A free text label of mapping to a published set of concepts related to the given field such as ontological information (eg., NCI thesaurus, bioportal etc)
[Autopopulated, if not filled] . -
url(string): The url that links out to the published, standardized concept.
[Autopopulated, if not filled] .Examples:
"https://cde.nlm.nih.gov/deView?tinyId=XyuSGdTTI" -
source(string): The source of the related concept.
[Autopopulated, if not filled] .Examples:
"TBD (will have controlled vocabulary)" -
id(string): The id locating the individual mapping within the given source.
[Autopopulated, if not filled] .
-
- Items (object)
-
univarStats(object): Univariate statistics inferred from the data about the given variable
[Experimental] .median(number)mean(number)std(number)min(number)max(number)mode(number)count(integer): Minimum:0.twentyFifthPercentile(number)seventyFifthPercentile(number)categoricalMarginals(array)- Items (object)
name(string)count(integer)
- Items (object)