The schema version specified in the ARM template is primarily used for validation and tooling support in environments like the Azure Portal. However, Microsoft recommends using the latest schema version when authoring templates in tools such as Visual Studio Code to ensure compatibility with the latest features and improved IntelliSense support.
Reference: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/syntax#template-format
let us know if any help, we will always help as you needed.!