Pass data from Theme App Extension to Checkout Validation Function

Is there a way to pass data from a Theme App Extension to a Checkout Validation Function?

I only need to pass the data when a certain condition is met. I considered cart attributes/order properties, but they end up visible in the merchant’s order and I don’t want to clutter the merchant’s admin order with app-specific data

Is there a cleaner way to pass this data only to my validation function?

@Simo_Aissaoui :
Steps

  1. Create/use an app-owned cart metafield.
  2. From the Theme App Extension, when your condition is met, call the Storefront API cartMetafieldsSet mutation with the current Cart ID and set the value.
  3. When the condition is no longer met, clear the cart metafield rather than storing false.
  4. In your Checkout Validation Function, add the cart metafield to the Function’s input query and read its value to decide whether validation is required.
  5. The value is not automatically displayed in the cart UI or order.

Thank you so much. Yes, I figured that cart metafields are the only way around this. Thank you again!