-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Containing $ref in select statement throws error unless fully qualified. #42
Comments
Did some further investigations: The reference will work but needs to be specified with the full ID ie This is inconsistent with other rules for |
That's why it's BETA :) Select indeed compiles cases as separate schemas without resolving the IDs in them against the current base. Happy with PR marking it as a limitation in docs and with a fix, but I won't invest more time in this keyword until there are better chances of it being adopted by the spec - please express your support in the relevant issue in JSON Schema GitHub org. |
No problem. I'll support its adoption. Any chance you could update the docs
to clarify?
…On Fri, 20 Oct 2017, 17:14 Evgeny Poberezkin, ***@***.***> wrote:
That's why it's BETA :)
Select indeed compiles cases as separate schemas without resolving the IDs
in them against the current base.
Happy with PR marking it as a limitation in docs and with a fix, but I
won't invest more time in this keyword until there are better chances of it
being adopted by the spec - please express your support in the relevant
issue in JSON Schema GitHub org.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHaqBY-MUr6DbA3IBKvgMNCBJ52Ax5YAks5suLjrgaJpZM4QAg-v>
.
|
0/kind , what`s mean number zero?? |
It’s relative JSON pointer spec - “0” means the current level in the data (I.e. 0 levels up). “1” would mean one level up etc. |
what is the down one level ? |
Example code below throws the following error when it attempts to compile selectSchema2:
Example code:
The text was updated successfully, but these errors were encountered: