code: def build(self):
      if self.nullable:
          self.add_type_schema({"type": "null"})
  
      schemas = [self.maybe_build(schema) for schema in self.schemas]
      if len(schemas) == 1:
          schema = schemas[0]
      else:
          schema = {"oneOf": schemas}
  
      if self.has_default:
          # The default value of EmbeddedField is expected to be an instance
          # of a subclass of models.Base, thus have `to_struct`
          schema["default"] = self.default.to_struct()
  
      return schema
  
imports: from __future__ import absolute_import
  from collections import defaultdict
  import six
  from .None import errors
  from .fields import NotSet
label_desc: Use image node_id 3 for calling the EmbeddedBuilder obj's underlying member method code with example usage: obj.build() and returns: schema