nette Schema
Validating data structures against a given Schema
A practical library for validation and normalization of data structures against a given schema with a smart & easy-to-understand API. In variable $schema we have a validation schema (what exactly this means and how to create it we will say later) and in variable $data we have a data structure that we want to validate and normalize. This can be, for example, data sent by the user through an API, configuration file, etc.