-
Notifications
You must be signed in to change notification settings - Fork 95
any_of='use-first'
not working
#297
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
Comments
Hey @kurtrwall, I've got a PR that fixes your issue, but it highlighted a different one in the adaptive-card.json schema. Do you happen to know what one is supposed to do with these invalid properties: https://github.com/cwacek/python-jsonschema-objects/pull/301/files#diff-3c302bf352d3c575ff7e419df154d494c77f837be3f00e9e4b350b0ec7d99779R35-R43 As far as I can tell reading the spec, at a minimum you are required to provide the |
This might be a broader issue with Microsoft's AdaptiveCard: microsoft/AdaptiveCards#8943 Going to mark as xfail for now, so I can merge the PR because the underlying issue was real. |
Thanks for looking at this, hopefully they address it soon or at least take a look at that linked issue... |
Describe the bug
Btw, great library, thanks for making it!
I'm trying to use this with draft 6 jsonschema (Microsoft's AdaptiveCard schema, and I'm still getting:
Example Schema and code
Expected behavior
The schema was parsed and the classes were generated.
The text was updated successfully, but these errors were encountered: