xsd2json - Translate XML Schema into equivalent JSON Schema

  •        146

Translate an XML Schema into equivalent JSON Schema based on SWI-Prolog and Constraint Handling Rules (CHR). For usage directly in Prolog or node.js. If that works, so will xsd2json.

https://github.com/fnogatz/xsd2json

Dependencies:

char-spinner : ^1.0.1
commander : ^2.13.0
concat-stream : ^1.4.6

Tags
Implementation
License
Platform

   




Related Projects

JSV - A JavaScript implementation of an extendable, fully compliant JSON Schema validator.

  •    Javascript

A JSON validator is a program that takes JSON data and, with a provided schema, will ensure that the provided JSON is structured in the way defined by the schema. This ensures that if validation has passed, the JSON instance is guaranteed to be in the expected format. It will also provide an explanation on why a particular instance failed validation. There is no one way to validate JSON, just like there is no one way to validate XML. Even the JSON Schema specification has gone through several revisions which are not 100% backwards compatible with each other. To solve the issue of using numerous schemas already written to older specifications, JSV provides customizable environments to validate your JSON within.

gSOAP Toolkit

  •    C

Development toolkit for Web services and XML data bindings for Camp;C++

XML Editor/Validator/Designer with CAMV

  •    Java

CAM XML Editor & CAMV tool with SQL + XML Open-XDX sponsored by Oracle

Xsd2Code .net class generator from XSD schema

  •    

Xsd2Code is a CSharp or Visual Basic Business Entity class Generator from XSD schema.

XML Schema Documenter

  •    CSharp

XML Schema Documenter is a Sandcastle Help File Builder plug-in that allows you to integrate reference documentation for XML schemas in your help files.


XML Parse Lib

  •    C

XML-Parse library is a lightweight set of functions for parsing, checking, and creating xml files. It can support stream-oriented, SAX or DOM parsing styles, and includes an optional xsd schema validator and graphical schema generator.

angular-schema-form - Generate forms from a JSON schema, with AngularJS!

  •    Javascript

Schema Form is inspired by the nice [JSON Form](https://github.com/joshfire/jsonform) library andaims to be roughly compatible with it, especially its form definition. So what sets Schema Formapart from JSON Form?1. Schema Form integrates deeply with AngularJS and uses AngularJS conventions to handle forms.2. Schema Form uses [tv4](https://github.com/geraintluff/tv4) for validation, making it compatible with version 4 of the JSON schema standard.3. By default, Schema Form generates Bootstrap 3

OXM-Library

  •    DotNet

OxmLibrary generates classes from XSD, or infer from XML files, and then bind XML files to the object tree. Much like XSD.exe but better! Allows creating generation files using a GUI, choosing data types and merging similar classes. It's developed in C#

json-schema - Ruby JSON Schema Validator

  •    Ruby

This library is intended to provide Ruby with an interface for validating JSON objects against a JSON schema conforming to JSON Schema Draft 4. Legacy support for JSON Schema Draft 3, JSON Schema Draft 2, and JSON Schema Draft 1 is also included. Please be aware that the upgrade to version 2.0.0 will use Draft-04 by default, so schemas that do not declare a validator using the $schema keyword will use Draft-04 now instead of Draft-03. This is the reason for the major version upgrade.

generate-schema - Convert JSON Objects to MySQL Schema, JSON Schema, Mongoose Schema, Google BigQuery, or a Generic template for Swagger files, documentation, code generation, and more

  •    Javascript

Convert JSON Objects to MySQL Table Schema, JSON Schema, Mongoose Schema, ClickHouse Schema, Google BigQuery, or a Generic template for documentation, code generation, and more. Optionally, add -g to the above if you want the generate-schema command line executable.

angular-schema-form - Generate forms from a JSON schema, with AngularJS!

  •    Javascript

Much of the new development is being done in Assimilate, a standardised validator for JSON Schema to help ensure changing validators is never as painful as escaping tv4 is, as well as a new core library to allow for a more predictable upgrade from AngularJS to Angular. If you use ASF in your project/company please let us know! We'd love to feature you on the site.

SJSX - Simple JavaScript Xmldatabinding

  •    Java

The SJSX is a tool to make a XML Data Binding from a schema (XSD) and to generate its representatives classes in Java Script. You can create JS objects from these classes to easily generate a XML structure based in the schema.

ajv - The fastest JSON Schema Validator. Supports draft-04/06/07

  •    Javascript

The fastest JSON Schema validator for Node.js and browser. Supports draft-04/06/07.JSON Schema draft-07 is published.

angular2-schema-form - HTML form generation based on JSON Schema

  •    TypeScript

Angular2 Schema Form is an Angular2 module allowing you to instanciate an HTML form from a JSON schema. Angular2 Schema Form is not related to angular-schema-form and schemaform.io.

json-schema-spec - The JSON Schema I-D sources

  •    Makefile

JSON Schema is a vocabulary that allows you to validate, annotate, and manipulate JSON documents. This repository contains the sources for the work in progress of the next set of JSON Schema IETF Internet Draft (I-D) documents. For the latest released I-Ds, please see the Specification page on the website.

jsonform - Build forms from JSON Schema

  •    Javascript

The JSON Form library is a JavaScript client-side library that takes a structured data model defined using JSON Schema as input and returns a Bootstrap-friendly HTML form that matches the schema. The generated HTML form includes client-side validation logic that provides direct inline feedback to the user upon form submission (provided a JSON Schema validator is available). If values are valid, the JSON Form library uses submitted values to create the JavaScript data structure that matches the data model.

Mozilla Add On Install Manifest Schema

  •    

XML Schema for install manifest for Mozilla Add-ons. Useful for code completion in IDEs like Visual Studio.

XML Explorer

  •    DotNet

XML Explorer is an extremely fast, lightweight XML file viewer. It can handle extremely large XML files. It has been tested on files as big as 300MB. It allows fast viewing and exploration, copying of formatted XML data, evaluation of XPath expressions, and XSD schema validation.

Apache Xerces for Java XML Parser

  •    Java

Xerces-J is a validating XML parser written in Java.

NJsonSchema - JSON Schema reader, generator and validator for .NET

  •    CSharp

NJsonSchema is a .NET library to read, generate and validate JSON Schema draft v4+ schemas. The library can read a schema from a file or string and validate JSON data against it. A schema can also be generated from an existing .NET class. With the code generation APIs you can generate C# and TypeScript classes or interfaces from a schema. The library uses Json.NET to read and write JSON data.