jsonx-org / java

Reference implementation of the JSONx specification for the Java platform, including encoding, decoding, processing, validation, and binding.
https://www.jsonx.org/java/
MIT License
49 stars 14 forks source link

String definition for length #29

Closed powentonnai closed 1 year ago

powentonnai commented 3 years ago

Does JSONX supports generating length attributes for String definition while converting XSD to JSON Schema.

safris commented 3 years ago

JSONx does not convert XSD to JSON Schema. JSONx defines its own JSON Schema Definition (JSD) Language that can be represented in both XML form (.jsdx extension), as well JSON form (.jsd extension). A example.jsdx schema (that is expressed in XML) can be converted to a example.jsd schema (that is represented in JSON), and vice-versa. Please see ConvertTest.