Summary of request
Currently there is need for an often lengthy check to see if certain properties are inside of a schema field level restriction, such as for code lists. Adding extraction functions for these properties will greatly enhance the development process and provide for cleaner and testable code .
Details
Currently there are extraction functions defined inside of the packages/ui/src/viewer-table/ConditionalLogicModal/SimpleRestrictions.tsx
Desired solution
Extract out these helpers into the TypeUtils inside of lectern