-
-
Notifications
You must be signed in to change notification settings - Fork 590
Array items reference problem #82
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
The 'id' keyword changes the resolution scope of $refs. Your ref becomes |
Alright. removing all |
Yes, that'd do this. We can leave this open so that there's a better error message if you do this, but yeah, the |
I don't use it at all to tell the truth. I think it came in while creating an initial schema via http://www.jsonschema.net/#. Simply removing it fixed my problem ;). Thanks a lot! |
Ouch. I see. I'll send over an email to the author. I'm reopening just so we can change this to a |
Should we add a |
Also, it seems like we might want some other attributes on the |
Resolution errors are errors, they're not really things that are expected to happen and to be queried at runtime like So I don't think any sort of information is necessary on them other than a message appropriate for each possible time one can happen that the developer can decypher to see what they did wrong. |
0b657e8 Merge pull request #86 from kylef/patch-1 1bd4151 [README] JSONSchema.swift uses these tests too 8f86716 Revert "Add jon, JSON parser for the fishshell." db9c629 Merge pull request #82 from bucaran/patch-1 875fa42 Add jon, JSON parser for the fishshell. 64c556c Merge pull request #81 from s-panferov/patch-1 43105d4 Add new Rust library to the list aa4d927 Merge pull request #80 from seagreen/implementations 20ef067 Add new haskell implementation. 1274070 Merge pull request #79 from Muscula/json-schema-benchmark 6d8cf45 Merge pull request #78 from JamesNK/patch-1 55c4992 Add json-schema-benchmark to list of users of this test suite 645623d Added Newtonsoft.Json.Schema implementation a7944d1 Merge pull request #76 from Prestaul/patch-1 5729cdf Added skeemas to list of suite users 4600fe3 Make the implementation list a bit less unwieldy now that it's so long (hooray!) 11d6905 Merge remote-tracking branch 'mafintosh/patch-1' into develop 689b80f Merge pull request #74 from bugventure/develop c36f888 Add request-validator as a user of the test suite 41876b1 Update README.md aabcb34 Merge pull request #71 from seagreen/additionalproperties b3d160b Add tests for additionalProperties by itself. git-subtree-dir: json git-subtree-split: 0b657e8b0d21a4099d3ce378ba7208073a9295e6
Hi,
updated jsonschema to 1.1.0 today and now I'm facing the following problem. Given is a simple schema like this:
Trying to validate the following JSON (or any other) raises an exception:
In case I do something wrong here please point me to it. Thanks in advance.
Jan
The text was updated successfully, but these errors were encountered: