In Psychology, Schema described as a pattern of thinking or behavior, which organized the information and categories their relations.
It provides a logical structure or definition for the organization that analysis the knowledge, that can be beneficial because it encourages us to simplify a great deal of information, which is available in the world.
In another word, we can say that it is a method of planning a new thing like a blueprint of the home, design a game, project, etc.