if attribute.root_only? && !value.nil? && !consumer.spec.root?
            results.add_error('attributes', "Can't set `#{attribute.name}` attribute for " \
              "subspecs (in `#{consumer.spec.name}`).")
          end