-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support array in default #464
Conversation
I think what you have done here is sufficient, no? I prefer simplicity whenever possible. Have you figured out how come the |
Got it. ;)
It may be a bug, I'll check check-jsonschema and some other validators. I see that rush command is used to install check-jsonschema. I guess it is this one, am I right? |
Nope. It is my own rush, and the installation script for check-jsonschema is in my own rush repo. I simply install it with pipx (on my arch linux).
(sorry - just realized I edited your comment instead of replying so I recreated yours.... 🤦) |
It seems to be a bug, I have to investigate why it happens and report about it if developers aren't already informed about it. As a temporary solution, I suggest replacing this validator with another one.
I thought it was a GitHub bug that it showed your reply and my username above it. 😆 |
So - is this ready to merge from your standpoint? |
This reverts commit fd141cf.
Yep. I suggest create an issue about this CI problem with |
... and one last thing:
If you know of a better, or the "de facto standard" CLI for validating JSON schema, let me know and I will switch to it. |
Right. I will, once I am also able to create a reproducible simple test case. |
Thanks for your quick implementation, as always. |
@EmilyGraceSeville7cf - see #465 |
closes #463
The easiest way to add array support for
default
.To implement dependency between
repeatable
anddefault
properties hereif
is required, but it means that common properties tothen
andelse
branches should be declared insidedefinitions
. Will u accept such change if I make it?