Closed vishalmane9 closed 11 months ago
That isn't a valid URI -- relative file URIs don't exist in that way. Please look around for other similar issues both here and in the referencing repo, and follow up if you still have questions.
I didn't find something to provide the relative path of the schema file in $ref, can you please let me know if you have any idea about it...it will be really helpful
https://referencing.readthedocs.io/en/stable/intro/#populating-registries is essentially the basic documentation and seems like it should work for your case -- give both your schemas IDs, populate a registry with both, and then you can use those IDs within the schemas to refer to one or the other.
Thanks for the reply...I have gone through the Document you provided but didn't find any example, for populating the IDs, can you please provide some link or document which shows how to IDs in schemas
Description: Failed to validate the schema when shifted from RefResolver to Registry and getting an issue of
jsonschema.exceptions._WrappedReferencingError: Unresolvable: file:./dynamic_lists_schema.json#/definitions/dynamic_lists_settings
Please refer below files, both are on same levels in directory, This is the test_schema.json
and there is another file of dynamic_lists_schema.json, using this file in test_schema.json