I'm working on a JSON project and finding limits in how the schema works. I'm wondering if there is a better way to do this.
Let's say I have a file that defines a list of departments and a list of employees. I want the schema to verify the department associated with the employee is in the list of departments.
This seems complex in JSON Schema.
How have you dealt with this? Are there non-JSON files that would be easier?








