code: func marshalSchema(block *configschema.Block) *schema {
  	if block == nil {
  		return &schema{}
  	}
  
  	var ret schema
  	ret.Block = marshalBlock(block)
  
  	return &ret
  }
docs: // marshalSchema is a convenience wrapper around mashalBlock. Schema version
  // should be set by the caller.