Skip to main content

VERS Test Schema

The VErsion Range Specifier (VERS) specification provides a JSON Schema and test files to support language-neutral testing of VERS implementations.

The VERS Test JSON Schema provides the structure for tools to conform to the VERS specification for tool functions such as:

  • Build a VERS string from a native ecosystem data source
  • Merge an array of VERS strings into a canonical VERS string
  • Parse a VERS string to determine if a version is contained within a range
  • Validate a VERS string
  • and other functions

The VERS test files are available at: https://github.com/package-url/vers-spec/tree/main/tests.

VERS Test JSON Schema

See the VERS test overview page for more information about testing VERS.