Type object
File match **/packages/*/package.yaml
Schema URL https://catalog.lintel.tools/schemas/schemastore/mason-registry/latest.json
Source https://github.com/mason-org/registry-schema/releases/latest/download/package.schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Schema for package definitions.

Properties

name string required

The package name. MUST be unique within the registry it belongs to.

description string required

The description of the package. Usually sourced upstream.

homepage string required

A URL to the package's homepage.

format=uripattern=^https?://
licenses enums:license[] required
minItems=1
languages string[] required
categories enums:category[] required
source required
All of: object object, Source components:sources:cargo | components:sources:composer | components:sources:gem | components:sources:generic | components:sources:github | components:sources:golang | components:sources:luarocks | components:sources:npm | components:sources:nuget | components:sources:opam | components:sources:openvsx | components:sources:pypi
deprecation object
2 nested properties
message string required

Deprecation message shown to users. Should include alternative installation methods if available.

since string required

The version number when the deprecation was made.

schemas object
1 nested properties
lsp string

A URL to where the LSP JSON schema can be downloaded from. If the provided URL is a VSCode package.json you MUST prefix the url with vscode:

pattern=^(vscode:)?https://
bin object
share object
opt object
neovim object
1 nested properties
lspconfig string
ci_skip boolean | enums:platform[]

Definitions

enums:license enums:spdx-license | const: "proprietary" | string
enums:spdx-license string
enums:category string
components:deprecation object
message string required

Deprecation message shown to users. Should include alternative installation methods if available.

since string required

The version number when the deprecation was made.

components:source
components:sources:cargo object
id string required
pattern=^pkg:cargo/.+@.+
supported_platforms enums:platform[]

List of platforms supported by the cargo package.

enums:platform string
components:sources:composer object
id string required
pattern=^pkg:composer/.+/.+@.+
components:sources:gem object
id string required
pattern=^pkg:gem/.+@.+
extra_packages string[]

Extra gem packages required by the main package to function.

supported_platforms enums:platform[]

List of platforms supported by the gem package.

components:sources:generic components:sources:generic:download | components:sources:generic:build
components:sources:generic:download object
id string required
pattern=^pkg:generic/.+@.+
download Download[] | Download required
components:sources:generic:build object
id string required
pattern=^pkg:generic/.+@.+
components:sources:build object
run string required

The shell script to run. Platform sensitive (bash on Unix, powershell on Windows).

env object
staged boolean

Whether to run the build script in a staging location (defaults to true).

components:sources:github components:sources:github:release | components:sources:github:build
components:sources:github:release object
id string required
pattern=^pkg:github/.+/.+@.+
asset object[] | object required
components:sources:github:build object
id string required
pattern=^pkg:github/.+/.+@.+
components:sources:golang object
id string required
pattern=^pkg:golang/.+/.+@.+
extra_packages string[]

Extra golang packages required by the main package to function.

components:sources:luarocks object
id string required
pattern=^pkg:luarocks/.+@.+
components:sources:npm object
id string required
pattern=^pkg:npm/.+@.+
extra_packages string[]

Extra npm packages required by the main package to function.

components:sources:nuget object
id string required
pattern=^pkg:nuget/.+@.+
components:sources:opam object
id string required
pattern=^pkg:opam/.+@.+
components:sources:openvsx object
id string required
pattern=^pkg:openvsx/.+/.+@.+
download object[] | object required
components:sources:pypi object
id string required
pattern=^pkg:pypi/.+@.+
extra_packages string[]

Extra pypi packages required by the main package to function.

supported_platforms enums:platform[]

List of platforms supported by the pypi package.

components:schemas object
lsp string

A URL to where the LSP JSON schema can be downloaded from. If the provided URL is a VSCode package.json you MUST prefix the url with vscode:

pattern=^(vscode:)?https://
components:bin object
components:share object
components:opt object
components:neovim object
lspconfig string