Edit on Github

Version

A schema that is used to validate a part of Laboperator workflow templates.

Schema

string (Version)
Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$
Default: 1.0.0

A version that is a valid version tag according to the Semantic Versioning 2.0.0 Specification. We encourage you to follow the SemVer guidelines:

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

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards-compatible manner, and
  3. PATCH version when you make backwards-compatible bug fixes.
Example 1:
1.0.0

Where is this used?

Other schemas that have a reference ($ref) to this schema.