highsource / highsource/jsonix-schema-compiler

JSON-Schema generated from XSD does not use maxLength

Open
#68 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
138
Forks
37
PR merge metrics
No merged PRs in 30d

Description

After using the Maven plugin for generating a JSON-Schema from an XSD (which is included in a WSDL), I notice that the maximum length restrictions are not reflected in the JSON-Schema.

Here is a simplified and cut version of my XSD:

```













```

The `maxLength` is not represented in the generated JSON-Schema. This is unfortunate, as I want to pass on the JSON-Schema to other parties as a technical documentation, and tell them that if their JSON validates with the schema, it's good for me to accept.

Is there any good way how I can have the JSON-Schema generated with `maxLength`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.