Schemas
The GLC 3.0.2 schemas define the structure, constraints, and relationships of
metadata used to describe light-exposure and optical-measurement studies.
Tabular resources use
Frictionless Table Schema;
structured resources use JSON Schema. The tables below show required fields
(*), permitted values, descriptions, and cross-resource references.
Resources marked with * are required.
Download the GLC 3.0.2 schema bundle (.zip)
Study Schema *
Source:
study_schema.json
·
Download schema
| Name | Definition | Type |
|---|---|---|
schema_version
*
|
Version of the metadata schema used by this study
Example:
|
string |
study_internal_id
*
|
Unique identifier for study
Example:
Referenced by:
|
string |
study_title
*
|
Study name
Example:
|
string |
study_preregistration
|
DOI, URL, or concise status note for study or analysis preregistration. Clearly distinguish analysis preregistration from preregistration of the study or data collection.
Example:
|
string |
study_ethics
|
Name of ethics committee and approval number
Example:
|
string |
study_registration
|
Registry and ID of clinical trial registration
Example:
|
string |
study_short_description
*
|
Short narrative description of the study
Example:
|
string |
study_sample
*
|
Short description of the study sample
Example:
|
string |
study_groups
|
Groups in the study
Example:
Item properties (6)Inclusion criteria for sample group, given as an array of strings
Example:
array
Exclusion criteria for sample group, given as an array of strings
Example:
array
Dataset internal IDs linked to this study group
Constraints
Example:
array
|
array |
study_intervention
|
Short description of the study intervention, if any
Example:
|
string |
study_setting
*
|
Description of the study setting
Example:
|
string |
study_geographical_location
*
|
Geographical location and context (city/rural, urban)
Example:
|
string |
study_contributors
|
Any contributors to the study
Example:
|
array |
study_datasets
*
|
Datasets contained within the study
Example:
|
array |
study_type
|
Type of study
Example:
|
string |
study_funding_sources
|
Any funding sources supporting the project. If the funding number is available, it should be given
Constraints
Example:
|
array |
study_keywords
|
Key words describing the projects
Example:
|
array |
Fields marked with * are required.
Contributor Schema
Source:
contributor_schema.json
·
Download schema
| Name | Definition | Type |
|---|---|---|
contributor_full_name
*
|
Full name of the contributor
Example:
|
string |
contributor_roles
|
List of contributor roles (e.g., author, data collector)
Example:
|
array |
contributor_email
|
Email address of the contributor
Constraints
Example:
|
string |
contributor_orcid
|
ORCID identifier of the contributor
Example:
|
string |
contributor_institution
|
Institutional affiliation of the contributor
Example:
Properties (3) |
string |
Fields marked with * are required.
Dataset Schema *
Source:
dataset_schema.json
·
Download schema
| Name | Definition | Type |
|---|---|---|
schema_version
*
|
Version of the metadata schema used by this dataset
Example:
|
string |
dataset_internal_id
*
|
Unique identifier of dataset
Example:
|
string |
dataset_participant_associated
*
|
Whether this dataset is associated with one participant. True requires a valid participant ID. For datasets containing no participant-associated data, set this to false and omit the participant ID.
Example:
|
boolean |
dataset_crossref
*
|
Crossreferencing information linking to study, participant, and device
Example:
Properties (2)Internal ID for participant. Required for participant-associated datasets and omitted otherwise.
Constraints
Example:
string
|
string |
dataset_timezone
*
|
IANA time zone name for data collection, such as Europe/Berlin
Constraints
Example:
|
string |
dataset_location
*
|
Latitude/Longitude of data collection
Constraints
Example:
|
array |
dataset_variable_terms
*
|
Dataset-specific controlled vocabulary for variable_term values. Include ‘other’ as fallback.
Constraints
Example:
|
string |
dataset_file
*
|
Dataset descriptors
Constraints
Example:
Item properties (21)Controlled data modalities contained in this same-structure file group
Constraints
Example:
array
Human-readable modality required when dataset_file_modality contains other
Constraints
Example:
string
Whether an other modality is sensor-generated or non-device data
Constraints
Example:
string
Instrument and collection method for a questionnaire, diary, or wear-log file group
Example:
Properties (7)Who entered or completed the questionnaire, diary, or wear log
Constraints
Example:
string
Description of who entered or completed the record when recorded_by is other
Constraints
Example:
string
string
Internal ID of the device that generated or is directly described by this file group. For questionnaires, diaries, and wear logs, provide this only when the complete file group unambiguously concerns one device; omit device metadata when it concerns multiple devices collectively or device attribution is unknown. Shared timing alone is not sufficient.
Constraints
Example:
string
Specific placement of the acquisition device, such as non-dominant wrist, bedside table, or building rooftop
Constraints
Example:
string
Relationship of the acquisition device to the participant or wider environment. Use body_worn when the device is attached to or worn by the participant, such as on the wrist or chest. Use participant_proximal when the device is intentionally positioned near the participant but is not worn, such as on a bedside table or beside a workstation. Use environmental when the device measures the wider environment without being positioned relative to a participant, such as on a building rooftop or at an outdoor monitoring station.
Constraints
Example:
string
Temporal resolution of records in this file group
Example:
Properties (3)
string
Concise human-readable description of the file group’s contents, scope, and intended interpretation. Use when important information is not represented by the structured file-group metadata.
Constraints
Example:
string
Instructions associated with collection of this file group
Constraints
Example:
string
File names corresponding
Constraints
Example:
array
File text encoding (e.g., UTF-8)
Constraints
Example:
array
IANA time zone name for the data files, such as Europe/Berlin
Constraints
Example:
string
Datetime metadata that applies to every file in this file group
Example:
Properties (5)Whether datetime information comes from file columns or a fixed collection date/time value
Constraints
Example:
string
Date/datetime column name when source is column, or fixed collection date/time value when source is collection
Constraints
Example:
string
Format of the date/datetime column or fixed collection date/time value. For consistency, use YYYY-MM-DD for a date or YYYY-MM-DD HH:mm:ss for a datetime when possible.
Constraints
Example:
string
Separate time column name when source is column. Omit when no separate time column is used.
Constraints
Example:
string
Format of the separate time column when present. Omit when no separate time column is used.
Constraints
Example:
string
string
Role of this file group in the dataset. Primary file groups contain the principal data used for analysis; supporting file groups provide related context or supporting information.
Constraints
Example:
string
State of the data in this file group. Raw data have not undergone preprocessing; processed data have undergone transformations described in dataset_file_preprocessing.
Constraints
Example:
string
Optional 1-based row index of the true header row in the file; use when preamble lines exist
Constraints
Example:
integer
Preprocessing information
Example:
Properties (2)Description of what preprocessing was applied
Example:
array
array
Variables contained in the dataset, units and location (column)
Constraints
Example:
Item properties (8)Variable name as contained in the dataset
Example:
string
Optional full description, questionnaire prompt, or interpretation of the variable. Keep the label concise and use this field for complete source wording and instructions.
Constraints
Example:
string
UCUM unit code or a precise custom unit. Required for numeric and integer variables and omitted for string, boolean, and factor variables. Do not use placeholders such as N/A or Unknown.
Constraints
Example:
string
Description of transformation that should be applied to the variable for calibration, based only on researchers’ calibration
Example:
string
Expected value type for non-empty cells in this variable column. Boolean values may be encoded as true/false or 0/1. Select factor only for categorical variables with a finite set of defined levels, such as 0 = No and 1 = Yes. A numerical factor, coefficient, ratio, proportion, percentage, score, count, or other quantitatively meaningful value must instead be declared numeric or integer.
Constraints
Example:
string
Permitted categorical values and their meanings when the variable type is factor
Constraints
Example:
Item properties (3)Human-readable meaning of the factor value
Constraints
Example:
string
Optional additional explanation of the factor level
Example:
string
string
Semantic term metadata for this variable
Example:
Properties (2)Controlled semantic term for this variable
Constraints
Example:
string
Custom variable name required when variable_term is ‘other’
Example:
string
string
string
Principal or default variables used when analysing this file group. Values must be a subset of dataset_file_variables_name.
Constraints
Example:
array
|
array |
Fields marked with * are required.
Device Schema *
Source:
device_schema.json
·
Download schema
| Name | Definition | Type |
|---|---|---|
schema_version
*
|
Version of the metadata schema used by this device record
Example:
|
string |
device_internal_id
*
|
Unique internal identifier for the device
Example:
Referenced by:
|
string |
device_manufacturer
*
|
Manufacturer of the device
Example:
|
string |
device_model
*
|
Model name or number of the device
Example:
|
string |
device_serial_number
*
|
Serial number assigned to the individual device
Example:
|
string |
device_calibration_date
*
|
Required date of the device’s most recent applicable calibration (format YYYY-MM-DD).
Constraints
Example:
|
string |
device_firmware_version
|
Firmware version installed on the device
Example:
|
string |
device_datasheet_id
*
|
Reference to the general device specifications. Datasheet ID (slug). Version suffix optional; e.g., lumitech-lt100-v1.0
Constraints
Example:
|
string |
device_sensors
|
List of sensors contained within the device
Example:
Item properties (2)Type of sensor (e.g., photopic light sensor, UV sensor)
Example:
string
Optional reference to a separate detailed datasheet for this sensor component. Omit when the required whole-device datasheet covers the integrated sensor.
Constraints
Example:
string
|
string |
Fields marked with * are required.
Device/sensor datasheet schema *
Source:
device_datasheet_schema.json
·
Download schema
Metadata schema for device and sensor datasheets.
| Name | Definition | Type |
|---|---|---|
schema_version
*
|
Version of the metadata schema used by this datasheet record
Example:
|
string |
datasheet_id
*
|
Unique datasheet identifier referenced by devices or sensors
Constraints
Example:
|
string |
datasheet_version
|
Version label for this datasheet, e.g. 1.0
Example:
|
string |
datasheet_manufacturer
*
|
Manufacturer of the device or sensor
Example:
|
string |
datasheet_type
*
|
Human-readable type of the device or sensor
Example:
|
string |
datasheet_sensor_modality
*
|
One or more controlled modalities/categories used to apply modality-specific validation rules
Constraints
Example:
|
array |
datasheet_sensor_modality_other
|
Free-text modality description when datasheet_sensor_modality contains other
Example:
|
string |
datasheet_model
*
|
Model of the device or sensor
Example:
|
string |
datasheet_calibration_interval
|
Recommended or required calibration interval in days. Omit when not applicable.
Constraints
Example:
|
integer |
datasheet_calibration_method
|
General description of the calibration method, if applicable
Example:
|
string |
datasheet_calibration_accuracy
|
Accuracy, uncertainty, or tolerance information, if applicable
Example:
|
string |
datasheet_calibration_range
|
Light-sensor measurement or calibration range. Required when datasheet_sensor_modality is light.
Example:
|
string |
datasheet_calibration_notes
|
Additional calibration notes
Example:
|
string |
datasheet_calibration_parameters
|
Generic calibration or sensor specification parameters. This supports non-light sensor metadata without hardcoding modality-specific fields.
Example:
Item properties (4)Additional explanation of the parameter
Example:
string
|
string |
datasheet_calibration_spectral_sensitivity
|
Optional light-sensor spectral sensitivity calibration, when documented by the source.
Constraints
Example:
Item properties (2)Wavelength (nm)
Constraints
Example:
number
Relative spectral sensitivity at the given wavelength
Example:
number
|
number |
datasheet_calibration_linearity
|
Optional linearity calibration information, when documented by the source.
Example:
|
string |
datasheet_calibration_directional_response
|
Optional directional-response calibration information, when documented by the source.
Example:
|
string |
datasheet_channel
*
|
Information on channels exported by the device or sensor
Constraints
Example:
Item properties (4)Description of channel
Example:
string
|
string |
Fields marked with * are required.
Participant schema *
Source:
participant_schema.json
·
Download schema
| Name | Definition | Type |
|---|---|---|
participant_internal_id
*
|
Unique ID for participant Example:
Referenced by:
|
string |
participant_age
*
|
Age of the participant at the time of first participation
Constraints
Example: |
integer |
participant_sex
|
Sex of participant, if recorded Example: |
string |
participant_gender
|
Gender of participant, if required Example: |
string |
Participant characteristics schema
Source:
participant_characteristics_schema.json
·
Download schema
| Name | Definition | Type |
|---|---|---|
participant_internal_id
|
Linked participant ID Example:
References:
|
string |
participant_characteristic_name
|
Name of the participant characteristic Example: |
string |
participant_characteristic_value
|
Value of the participant characteristic Example: |
string |
participant_characteristic_unit
|
Optional unit of the characteristic value. Leave blank for unitless scores or categorical values. |
string |
participant_characteristic_description
|
Additional notes or description Example: |
string |