Config options
- Last Updated: October 26, 2026
- 1 minute read
- Corticon.js
- Version 2.4
- Documentation
A config option you can use at run time defines the topLevelEntities, a JSON Object.
const config = {
topLevelEntities: {
'JSON PATH': 'Entities @ the JSON PATH specified'
}
};
For example, where the Patient Entity is at root:
topLevelEntities: {
"quot;: "Patient"
}
In another example, there are three top-level entities, so you use a comma-separated array:
topLevelEntities: {
"quot;: ["Cargo", "FlightPlan", "Aircraft"]
}