Skip to content

Unable to resolve nested $refs when using local files #640

@GitGraf

Description

@GitGraf

I'm trying to build a repository hosting JSON schemas of our application data, alongside with examples of those schemas.
To make sure the examples stay in sync with the schemas, I want to validate them.

If my schema references another schema, validation seems to work as expected.
However, if that other schema in turn references a third schema, that third schema cannot be resolved.

Please see https://github.com/GitGraf/check-jsonschema-resolve for a minimal reproducer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions