# CollectionRuleMetafieldCondition - admin-graphql - OBJECT Version: 2024-10 ## Description Identifies a metafield definition used as a rule for the smart collection. ### Access Scopes `read_products` access scope. ## Fields * [metafieldDefinition](/docs/api/admin-graphql/2024-10/objects/MetafieldDefinition): MetafieldDefinition! - The metafield definition associated with the condition. ## Connections ## Related queries ## Related mutations ## Related Unions * [CollectionRuleConditionObject](/docs/api/admin-graphql/2024-10/unions/CollectionRuleConditionObject) Specifies object for the condition of the rule. * [CollectionRuleConditionsRuleObject](/docs/api/admin-graphql/2024-10/unions/CollectionRuleConditionsRuleObject) Specifies object with additional rule attributes. ## Examples