Castor Fields API
Retrieve the data-capture fields that define a study's forms, plus their supporting metadata - field dependencies (conditional logic), option groups (answer choices), and field validations. This is the schema you need to interpret and write study data points correctly.