Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raz-varren/jaxsd
JSON Schema to XSD converter
https://github.com/raz-varren/jaxsd
json-schema php xsd xsd-converter
Last synced: about 1 month ago
JSON representation
JSON Schema to XSD converter
- Host: GitHub
- URL: https://github.com/raz-varren/jaxsd
- Owner: raz-varren
- License: mit
- Created: 2014-02-20T23:27:30.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-29T17:48:03.000Z (over 10 years ago)
- Last Synced: 2023-08-14T20:44:57.342Z (over 1 year ago)
- Topics: json-schema, php, xsd, xsd-converter
- Language: PHP
- Size: 191 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
JAXSD
=====JSON Schema to XSD converter
I had been making a lot of APIs and validating my user input with JSON schema. It was all going pretty well until I had a client that could only send me data in XML format. I really didn't want to write out a gross XSD for each one of my nice clean JSON schema files, and after spending who knows how many hours trying to find a script to do it for me, I came to the realization that such a script did not exist. So, I decided to make my own. I realize that there is a lot that gets lost in the translation from JSON to XSD, but if all you need is basic JSON to XSD conversion, this script will do the trick. It has certainly saved me a lot of time.
### Example:
```php