A schema may refer to any of the following:
1. In general, a schema refers to any plan or vision that is a well-thought-out document with set rules and restrictions.
2. When referring to a database, a schema is a description of the structure and rules of a database and the relationships of data elements.