Prepare a GLC datapackage

Metadata Builder Beta

Schema 2.0.0

Getting started with GLC metadata

Make light-exposure and optical-radiation datasets easier to understand, validate, and reuse.

The Global Light Commons (GLC) standard provides a shared structure for describing studies, participants, devices, datasheets, and measurement files for light-exposure and optical-radiation research. This builder guides you through creating a complete metadata package that can accompany your dataset.

Note: files you select while building the metadata package stay on your computer. They are processed locally in your browser and are not uploaded, transmitted, or stored by this site.

Why researchers use GLC

GLC metadata makes wearable light-exposure and optical-radiation datasets easier to review, combine, and reuse.

Easier collaboration Study, participant, device, and dataset information can be found in predictable places.
Validation-ready Links between files can be checked automatically to catch common mistakes.
Reusable data Future users can understand what was measured, with which device, and under what conditions.

What you’ll create

A GLC package links the key parts of a wearable light-exposure or optical-radiation dataset.

Study Participants Devices & Datasheets Dataset Files

The resulting metadata package can be validated and shared alongside your data.

How the builder works

Work through the pages in order, import existing metadata when available, then export a package for validation.

  1. Describe your study
  2. Add participants
  3. Document devices and datasheets
  4. Register dataset files
  5. Export a package

Expected time: 5–30 minutes.

Generated files and package structure

A GLC metadata package keeps package-level metadata at the root and resource metadata in data/.

glc-metadata-package/
  datapackage.json
  data/
    study.json
    participants.csv
    participant_characteristics.csv
    devices.json
    device_datasheet.json
    datasets.json
    datasets/
      your-measurement-files.csv

Useful resources

1

Project setup

Choose the release version and package-level settings.

Already have metadata?

Import an existing package folder to review or continue editing it here.

The builder looks for datapackage.json, study.json, participants.csv, participant_characteristics.csv, devices.json, device_datasheet.json, and datasets.json at the folder root or inside data/.

2

Study

Core fields from study.schema.json. Dataset IDs will be filled from the dataset step.

Optional: import an existing study.json to pre-fill this page.

Study groups

Optional repeatable groups from study_groups. Select the dataset records that belong to each group.

Study contributors

Optional embedded contributors from contributor.schema.json. Add rows manually, or import a CSV/TSV/JSON file to fill the table.

Import replaces the contributor rows below. For CSV/TSV, use these column names: contributor_full_name, contributor_roles, contributor_email, contributor_orcid, contributor_institution_name, contributor_institution_city, contributor_institution_country. Roles can be separated with semicolons. JSON can be either contributors.json or study.json with study_contributors.

Reference schemas:
3

Participants

Add participant rows for participants.csv and optional characteristics.

Participant roster

Required rows for participants.csv.

Optional: import participants.csv or participants.json. Expected fields: participant_internal_id, participant_age, participant_sex, participant_gender.

Participant characteristics

Optional long-format rows for participant_characteristics.csv.

Optional: import participant_characteristics.csv or JSON. Expected fields: participant_internal_id, participant_characteristic_name, participant_characteristic_value, participant_characteristic_unit, participant_characteristic_description.

Reference schemas:
4

Devices

Add device records and the datasheets they reference.

Device inventory

Required records for devices.json.

Optional: import devices.json or a CSV/TSV device table. Expected fields: device_internal_id, device_manufacturer, device_model, device_serial_number, device_calibration_date, device_firmware_version, device_datasheet_id, device_sensors. Sensor entries can use sensor type | sensor datasheet id, separated by semicolons.

Datasheet IDs are pending cross-references: if the matching datasheet has not been added yet, leave the field blank or keep the imported ID and complete the datasheet section below.

Device datasheets

Add device or sensor datasheet records referenced by devices.

Optional: import device_datasheet.json, sensor_datasheet.json, or a CSV/TSV datasheet table. Expected fields include datasheet_id, datasheet_manufacturer, datasheet_type, datasheet_model, datasheet_calibration_interval, spectral sensitivity, calibration fields, and channels.

Reference schemas:
5

Dataset record ?

One dataset record represents one participant dataset. Cross-reference fields use earlier pages.

Dataset or file group?

Use a new dataset record for a different participant, primary device, body/device location, or primary modality. Use a file group for files that belong to the same participant measurement context, including auxiliary files such as wear logs.

Example: wrist light data and its wear log can be one dataset with two file groups. Wrist light and chest light for the same participant should usually be two dataset records.

Optional: import an existing datasets.json. Multiple dataset records are imported as separate participant-level records.

Dataset records ?

Each record should describe one participant dataset. Add more records when a study has multiple participants or participant-level datasets.

5a

Dataset file assistant ?

Each file group describes one set of same-structure files for this participant.

No file selected yet.

Variable terms for this file group

These terms populate the semantic-term dropdowns for variables in the active file group. other is always included.

Datetime for this file group

Use column metadata when the file contains date/time columns. If it does not, declare the collection date/time instead.

5b

Detected variables

Edit labels, units, calibration notes, semantic terms, and tick primary variables.

Select a file to detect columns.
Reference schemas:
6

Export package

Download individual metadata files or a metadata package zip.

The zip includes generated metadata files and schemas. It does not include the original data files referenced by datasets.json.