code: def load_schema(schema_path):
      '''
      Returns a schema loaded from the file at `schema_path`.
  
      Will recursively load referenced schemas assuming they can be found in
      files in the same directory and named with the convention
      `<type_name>.avsc`.
      '''
      with open(schema_path) as fd:
          schema = json.load(fd)
      schema_dir, schema_file = path.split(schema_path)
      return _load_schema(schema, schema_dirf load_schema(schema_path):
      '''
      Returns a schema loaded from the file at `schema_path`.
  
      Will recursively load referenced schemas assuming they can be found in
      files in the same directory and named with the convention
      `<type_name>.avsc`.
      '''
      with open(schema_path) as fd:
          schema = json.load(fd)
      schema_dir, schema_file = path.split(schema_path)
      return _load_schema(schema, schema_dir)
docs: Returns a schema loaded from the file at `schema_path`.
  
      Will recursively load referenced schemas assuming they can be found in
      files in the same directory and named with the convention
      `<type_name>.avsc`.