Tobias Munk

Results 511 comments of Tobias Munk

Could you please add a link to an example?

Sorry, I don't get what you are trying to achieve. There are a few examples with `allOf` in the source: https://github.com/json-editor/json-editor/search?q=allof

> The data has a chord item with name specified, and the data passes scheme validation (e.g. https://github.com/java-json-tools/json-schema-validator). > When the schema and data is passed to JSONEditor, it complains...

Is there an example in the spec? I just found: https://json-schema.org/understanding-json-schema/reference/combining.html#anyof How about using definitions? CC: @robocoder @germanbisurgi

I thought `anyOf` definitions must contain all attributes. But in your example there's just `required`. Maybe `definitions` is not the right thing to use. I thought it could help in...

How about adding `"default": 1`? But, I agree that it should not render `0`, if you find a way to fix this, PRs welcome.

Is this covered by the spec? https://json-schema.org/understanding-json-schema/reference/string.html#dates-and-times https://datatracker.ietf.org/doc/html/rfc3339#section-5.6

Looks like a tough one. Could you create a much more condensed example? That would ease debugging.

No it's fine now, much easier to understand. PRs also welcome. But, I'll ask @germanbisurgi to take a look.