diff --git a/lib/chef/resource_inspector.rb b/lib/chef/resource_inspector.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/resource_inspector.rb
+++ b/lib/chef/resource_inspector.rb
@@ -40,7 +40,10 @@ module ResourceInspector
 
     data[:properties] = properties.each_with_object([]) do |(n, k), acc|
       opts = k.options
-      acc << { name: n, description: opts[:description], introduced: opts[:introduced], is: opts[:is], deprecated: opts[:deprecated] || false }
+      acc << { name: n, description: opts[:description],
+               introduced: opts[:introduced], is: opts[:is],
+               deprecated: opts[:deprecated] || false,
+               name_property: opts[:name_property] || false }
     end
     data
   end
add name_property to resource inspector