Type object
File match vcpkg.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/vcpkg-manifest-file/latest.json
Source https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

All of

1. object object
name identifier

The name of the top-level package

version-string string

Text used to identify an arbitrary version

pattern=^[^#]+$
version string

A relaxed version string (1.2.3.4...)

pattern=^\d+(\.\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-]+)*))?$
version-date string

A date version string (e.g. 2020-01-20)

pattern=^\d{4}-\d{2}-\d{2}(\.\d+)*$
version-semver semantic-version
port-version port-version
maintainers maintainers
summary string

A shorter description of the port or project.

description description-field
homepage string

A url which points to the homepage of a package.

format=uri
documentation string

A url which points to the documentation of a package.

format=uri
license license
builtin-baseline string

A vcpkg repository commit for version control.

dependencies dependency[]

Dependencies that are always required.

overrides override[]

Version overrides for dependencies.

features object

A map of features supported by the package

default-features dependency-feature[]

Features enabled by default with the package.

Embedded vcpkg.configuration.json file.

vcpkg-configuration Latest Vcpkg Configuration.schema

Embedded vcpkg.configuration.json file.

2. has-zero-or-one-version has-zero-or-one-version
3. variant

Only one of configuration or vcpkg-configuration may be used. (They are aliases of the same field)