Parses the input and verifies it is a valid software version type (i.e. "major" | "minor" | "patch")
"major" | "minor" | "patch"
The data to parse.
The given version type if allowed.
If the data does not match one of the allowed version types ("major" | "minor" | "patch").
Parses the input and verifies it is a valid software version type (i.e.
"major" | "minor" | "patch")