Add configuration to your validation function

Your validation's configuration will be stored in metafields and made available to the function at runtime. Metafields are the primitive to store your app's data in Shopify.