Generally, a schema is a model, plan, or pattern that defines a particular language or structure.
- In Active Directory, the schema provides definitions for every type of object that can be included in a forest.
- In relational databases, schemas are used to define entities, relations, attributes, and other logical and physical elements of the database.
- In XML, schemas are used to define the structure of documents.
References:
AD:
Database:
XML: