Version management should comply with semantic version.

Given a version number MAJOR.MINOR.PATCH, increment the:

This rule check the version format that should be made of 3 digits separated by dots: ^\d+\.\d+\.\d+$

Noncompliant Version

{
  "version": "1.0",
  "version": "1.0.0.2"
}

Compliant Version

{
  "version": "1.0.0",
  "version": "1.0.2"
}