$schemaΒΆ

Optional | Type: String

A JSON Schema to annotate and validate the library.json manifest. The PlatformIO IDE for VSCode has built-in support for JSON Schema validation.

You can also validate the library.json manifest file using the pio pkg pack command.

The library.json Schema URL:

https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/schema/library.json

Example

{
  "$schema": "https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/schema/library.json",
  "name": "Foo",
  "version": "1.0.0"
}