Re: [bitbake-devel] [PATCH v2 6/9] layers.schema.json: Add title for subschema

"Yoann Congal" <[email protected]> Thu, 28 May 2026 12:58:50 +0200
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
On Tue Apr 7, 2026 at 5:02 PM CEST, Rob Woolley via lists.openembedded.org wrote:
> Resolves the jsonschema linting error:
>   Set a concise non-empty title at the top level of the schema to
>   explain what the definition is about (top_level_title)
>
> Signed-off-by: Rob Woolley <[email protected]>
> ---
>  setup-schema/layers.schema.json | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/setup-schema/layers.schema.json b/setup-schema/layers.schema.json
> index 2c192c8b0..8bc74a533 100644
> --- a/setup-schema/layers.schema.json
> +++ b/setup-schema/layers.schema.json
> @@ -1,6 +1,7 @@
>  {
>      "$schema": "https://json-schema.org/draft/2020-12/schema",
>      "description": "OpenEmbedder Layer Setup Manifest",
Just noticed a OpenEmbedde*r* typo here. Could you also fix it in this
series?

> +    "title": "bitbake-setup layer subschema",

This is not only a bb-setup subschema, this schema is valid in itself
for files used in:
* openembedded-core/scripts/oe-setup-layers
* bitbake-layers create-layers-setup

For the title, something like "OpenEmbedded layer setup schema"? But
then, it's a little too similar to the description. So maybe the
description should be extended?

>      "type": "object",
>      "additionalProperties": false,
>      "required": [


-- 
Yoann Congal
Smile ECS