type:version-range

type:version-range@0.0.0

partialVersion

FieldTypeRequiredDefaultDescription
majorintegerYesThe major segment, the first number of the version as written and the one segment a version always has
minorintegerNoThe minor segment, or absent where the version was written without one and any minor is meant
patchintegerNoThe patch segment, or absent where the version was written without one and any patch is meant

Written as, for example:

versionBound

FieldTypeRequiredDefaultDescription
operatorenum one of >=, >, <=, <YesThe comparison a version must satisfy against the bound's version, read over the segments that version wrote: >=3.13 holds from the first 3.13.x up, <=3.13 up to the last, >3.13 after the last and <3.13 before the first
versionpartialVersionYesThe version the comparison is made against, as far as it was written: a segment left out stands for every value of it

versionBounds

FieldTypeRequiredDefaultDescription
firstversionBoundYesThe bound written first, or the only one: >=3.11 in >=3.11,<3.14
secondversionBoundNoThe bound written after the comma, which must hold as well as the first: <3.14 in >=3.11,<3.14. Absent where the range states one bound.

versionSequence

One of the types list[partialVersion].

versionRange

One of the types partialVersion, versionSequence, versionBounds.

Written as, for example: