This project is used to manage the JSON representation for Clinical Datasets (a complement to the Dataset-XML representation). The schema is automatically generated from a Typescript representation of the model.
- Clone the repository
git clone https://github.com/cdisc-org/DataExchange-DatasetJson.git - Install required packages (required only once)
cd typescript npm install - Create a branch from
masterfor your updatesgit checkout -b feature/<new_facet> - Update the schema by editing the
dataset.tsfile - Convert Typescript definitions to JSON Schema; this will update file dataset.schema.json in the schema folder.
npm run schema - Push your branch to the upstream repository
git push -u origin feature/<new_facet> - Raise a Pull Request for the update
The examples/big_xpt folder contains scripts to create a large XPT file (5Gb) from the XPT file examples/sdtm/lb.xpt.