(maint) Clean up comments for Resource::Type
(#21881) Add YARD docs for the format used by Puppet::Resource::Type
(#21881) Validate ResourceType against a json schema in tests