view.schemas() as Sequence
This function returns all of the schema specifications.
const view = require('/MarkLogic/views'); view.schemas(); // Returns all of the schema specifications.