When I try to validate my JSON with that schema I get: jsonschema.exceptions.RefResolutionError: Unresolvable JSON pointer: 'meta'. It tries to search inner references of payload schema in my root schema but not in $ref. When I change payload ref to:
Please share code which reproduces, as both jsonschema.validate({"payload": {"type": "object"}}, yourschema) and
jsonschema.validate({"payload": {"type": "objet"}}, yourschema) work fine.
I have a JSON that by design can contain JSON Schema. I use it at runtime to validate received payload. I have a JSON Schema that describes this JSON:
When I try to validate my JSON with that schema I get:
jsonschema.exceptions.RefResolutionError: Unresolvable JSON pointer: 'meta'
. It tries to search inner references ofpayload
schema in my root schema but not in$ref
. When I changepayload
ref to:validation works as expected.