| Message ID | 20260406172110.2050236-8-rob.woolley@windriver.com |
|---|---|
| State | New |
| Headers | show |
| Series | bitbake-setup JSON Schema: Fix linting errors | expand |
diff --git a/setup-schema/layers.schema.json b/setup-schema/layers.schema.json index 8bc74a533..25248a4ba 100644 --- a/setup-schema/layers.schema.json +++ b/setup-schema/layers.schema.json @@ -1,6 +1,23 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "OpenEmbedder Layer Setup Manifest", + "examples" : { + "version": "1.0", + "sources": { + "bitbake": { + "git-remote": { + "remotes": { + "origin": { + "uri": "https://git.openembedded.org/bitbake" + } + }, + "branch": "master", + "rev": "master" + }, + "path": "bitbake" + } + } + }, "title": "bitbake-setup layer subschema", "type": "object", "additionalProperties": false,
This resolves the jsonschema linting error: Set a non-empty examples array at the top level of the schema to illustrate the expected data (top_level_examples) This example intentionally only references bitbake as a minimal example that focuses on the tool itself. Signed-off-by: Rob Woolley <rob.woolley@windriver.com> --- setup-schema/layers.schema.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)