This function downloads the JSON schemas for the various ComptoxAI API endpoints (chemical, hazard, bioactivity, exposure) from production. The schemas are saved in the 'schema' directory of the project.
Examples
if (interactive()) {
ct_schema()
}
This function downloads the JSON schemas for the various ComptoxAI API endpoints (chemical, hazard, bioactivity, exposure) from production. The schemas are saved in the 'schema' directory of the project.
if (interactive()) {
ct_schema()
}