You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is unrelated to the one you linked, and is simply how the JSONPointer and JSONSchema specs define $refs. If a $ref doesn't begin with #, it indicates a pointer to an external file (rather than a pointer to somewhere else in the current schema). See the ref.abc tests here, and see sections 8-9 in the JSONSchema spec here.
Well, fwiw that was not the case for JSON Schema v4, and that's what I have specified in my local schema's $schema value (missing from the example in this issue).
this should work
but it doesn't - json-schema-to-typescript will try to read a file called "foo", despite having a reference to a schema with id "foo"
The text was updated successfully, but these errors were encountered: