Spec for ResourceMetadata class.