Skip to content

Support for non-existent $id URLs? #526

@davidpricedev

Description

@davidpricedev

My json-schema has $ids that aren't "real" urls that can be requested. I also use json-schema bundling.

It seems this library doesn't support bundled schemas - at least it doesn't follow the $ref to the $defs - it still tries to make requests out to the web to fetch the $ids of the items that are in the $defs section.

I've been able to work around this sort of limitation in other libraries by one of these tactics:

  • pre-loading all the individual json-schema documents into an internal storage provided by the library
  • changing out the document fetching with a custom component that can do a file-system lookup

Does this library support either of those options? I've had a look through the docs and looked around a bit in the code too, but nothing is jumping out at me.

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