{
  "$schema": "https://frictionlessdata.io/schemas/table-schema.json",
  "$id": "https://raw.githubusercontent.com/tscnlab/glc-metadata-validator/main/schemas/3.0.2/participants.schema.json",
  "version": "3.0.2",
  "fields": [
    {
      "name": "participant_internal_id",
      "type": "string",
      "constraints": {
        "required": true
      },
      "description": "Unique ID for participant",
      "example": "EXAMPLE_P001"
    },
    {
      "name": "participant_age",
      "type": "integer",
      "constraints": {
        "required": true,
        "minimum": 0,
        "maximum": 120
      },
      "description": "Age of the participant at the time of first participation",
      "example": 34
    },
    {
      "name": "participant_sex",
      "type": "string",
      "description": "Sex of participant, if recorded",
      "example": "female"
    },
    {
      "name": "participant_gender",
      "type": "string",
      "description": "Gender of participant, if required",
      "example": "woman"
    }
  ],
  "primaryKey": "participant_internal_id"
}
