Home

Awesome

DEPRECATED

Unfortunately we decided to not maintain this project anymore (see why). If you want to mark another package as a replacement for this one please send an email to hello@knplabs.com.

Build Status

Disclaimer

This bundle is under development.

KnpJsonSchema Bundle

This Symfony bundle offers support for creating JSON Schema definition from Doctrine ORM entities. JSON Schema is described in its specification as:

JSON Schema is a JSON media type for defining the structure of JSON data. JSON Schema provides a contract for what JSON data is required for a given application and how to interact with it. JSON Schema is intended to define validation, documentation, hyperlink navigation, and interaction control of JSON data.

This bundle provides a service which allows you to generate JSON Schema based on the metadata for your entities, including it's schema and validation information.

Documentation

Read the documentation here

License

This bundle is under the MIT License