Developed with love by KnpLabs Hire us for your project!
52

KnpJsonSchemaBundle

by KnpLabs

A bundle to generate json schema based on various metadata

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

Copyright (c) 2004-2012 KnpLabs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • Merge pull request #14 from stanlemon/docs
    By docteurklein, 2 years ago
  • Merge pull request #15 from stanlemon/configure-mappings
    By docteurklein, 2 years ago
  • Add compiler pass to configure mappings manually
    By stanlemon, 2 years ago
  • If the namespace/alias combination already exists it should not die
    By stanlemon, 2 years ago
  • Better grammar
    By stanlemon, 2 years ago
  • Merge pull request #13 from K-Phoen/mongodb
    By docteurklein, 2 years ago
  • Support Doctrine ODM
    By K-Phoen, 2 years ago
  • Merge pull request #12 from stanlemon/controller-service
    By docteurklein, 2 years ago
  • Switching to controller as a service.
    By stanlemon, 2 years ago
  • Merge pull request #10 from stanlemon/php53
    By docteurklein, 2 years ago
  • Merge pull request #11 from mhor/master
    By docteurklein, 2 years ago
  • Merge remote-tracking branch 'upstream/master' into php53
    By stanlemon, 2 years ago
  • change LICENCE to LICENSE
    By mhor, 2 years ago
  • Merge pull request #8 from stanlemon/travis-ci
    By docteurklein, 2 years ago
  • Merge pull request #7 from stanlemon/remove-class-params
    By docteurklein, 2 years ago
  • Updating composer.json for php 5.3
    By stanlemon, 2 years ago
  • Implementing #9 PHP 5.3 support
    By stanlemon, 2 years ago
  • Changing test to not mock ReflectionClass so it passes for hhvm
    By stanlemon, 2 years ago
  • Tweaked to format like a quote instead of code
    By stanlemon, 2 years ago
  • Update readme file
    By stanlemon, 2 years ago
  • Update php versions for travis
    By stanlemon, 2 years ago
  • Remove class parameters
    By stanlemon, 2 years ago
  • Merge pull request #5 from stanlemon/symfony2.5
    By docteurklein, 2 years ago
  • PSR-2 fixes and cleanup
    By stanlemon, 2 years ago
  • Updated spec function names to not use 'should' per @henrikbjorn
    By stanlemon, 2 years ago
  • Updated Prophecy\Argument to be use statements.
    By stanlemon, 2 years ago
  • Update composer.json
    By stanlemon, 2 years ago
  • Fix specs
    By stanlemon, 2 years ago
  • Use the bundle annotation reader, prefix finder & filesystem
    By stanlemon, 2 years ago
  • Better handling of parent object schemas
    By stanlemon, 2 years ago