Schema¶
A schema is a blueprint or structural representation of the organization and structure of a complex dataset. That dataset may be a database, a XML file, a JSON file, etc.
It defines how data is organized and how relationships between data are handled within the database system. In essence, a database schema specifies the logical design of the database, including the tables, fields, relationships, constraints, and other characteristics that define the data storage and retrieval.
A schema is often needed for validations, in particular when they are complex or voluminous.
A schema relies on simple types, such as strings, int, etc.
See also API Platform Schema Generator.
Related : Database, JavaScript Object Notation (JSON), Extensible Markup Language (XML), Scheme, Validation, Document Database