Thunderbird Extension updates.json processing

Hi,
how is updates.json versioning processed? So in detail, where can I find the version naming scheme on how it detects a newer version of my plugin?

Regards
Matthias