To get Schema of Node Mongoose database which defined in another model, we use the schema property.
For instance, we write
const SongSchema = require("mongoose").model("Song").schema;
to call the model method to get the 'Song' model.
And we use the schema property to get its schema.