Create a default value based on the given schema.
the schema for which to create a default value.
the default value to use, undefined if none was found
Create a default value based on the given schema.