Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Facilitate generation of schema definitions of Drupal 8 data models as produced by Serialization for Drupal 8 REST. Currently supported: JSON Schema for JSON, HAL JSON, and JSON API serialized Drupal Content Entities.
A schema is a declarative description of structured data that prescribes the rules for how that data can be created. Schemas are commonly used to provision relational storage, to generate forms or other user interfaces, to generate client library code, or to validate data.
Schemata supports the creation of provider modules that create schemas to describe the different entities in a Drupal site (such as Nodes, Taxonomy Terms, and Users) as they are rendered in Drupal REST responses. This project ensures your Drupal site is able to deliver self-documenting machine descriptions of your API payloads, driven by the same configuration that Drupal uses to build forms and validate entities.