https://docs.flatpak.org/en/latest/conventions.html#application-ids states:
Org.Example.App
The domain portion of the ID must be in lowercase, and while not required, the application portion is recommended to be in lowercase as well. Therefore, you should use org.example.app.
But there are loads of examples, in particular from GNOME, of the application portion being uppercased. Flathub is littered with them and even that very same docs page uses an uppercased application component in an example.
Some clarity on this discrepancy would be nice. Or, perhaps this recommendation should just be dropped, especially if there is no compelling technical reason for it.