Skip to content
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

[Feature req/Question] Validate parts of schema #93

Open
jkbschmid opened this issue Feb 23, 2021 · 0 comments
Open

[Feature req/Question] Validate parts of schema #93

jkbschmid opened this issue Feb 23, 2021 · 0 comments

Comments

@jkbschmid
Copy link

Hi all,
I was wondering whether it is possible to validate individual types of a schema.

I have a json schema that contains an object description that is used on its own in another context.
I can access the schema of this object via e.g. using JSONProp(), but running validate is unsuccessful. This is because some "$refs" are defined higher up in the schema tree and therefore cannot be resolved.

In theory, this can be solved by splitting up the original schema, but I was wondering whether this is already possible today using jsonschema?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant