schema_dict_fields_generator

libfjord.common.schema_dict_fields_generator(schema_dict, registry=None, defs=None)

Iterate over fields in the input schema (with recursion):

Parameters:

  • schema_dict (dict): Current input schema or subset thereof.

  • registry (int, optional): Registry object from referencing package.

    See https://referencing.readthedocs.io/ for details. Contains all schema files that might be referenced. Currently only urn: references are supported.

  • defs (dict, optional): Contents of “$defs” schema property.

    This will usually only be used internally when function is calling itself.

Yields:

  • str: Contains path of field