diff mbox series

[RFC,2/5] schemas: add $schema specification to the layers schema

Message ID 20251017231444.374436-3-yoann.congal@smile.fr
State New
Headers show
Series Bitbake-setup configuration schema | expand

Commit Message

Yoann Congal Oct. 17, 2025, 11:14 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

JSON schemas exist in different iterations.
It is recommanded to specify which specification the schema follows with
"$schema"[0].

[0]: https://json-schema.org/understanding-json-schema/reference/schema

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 schemas/layers.schema.json | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/schemas/layers.schema.json b/schemas/layers.schema.json
index 659ee8da4..6d05a1f84 100644
--- a/schemas/layers.schema.json
+++ b/schemas/layers.schema.json
@@ -1,4 +1,5 @@ 
 {
+    "$schema": "https://json-schema.org/draft/2020-12/schema",
     "description": "OpenEmbedder Layer Setup Manifest",
     "type": "object",
     "additionalProperties": false,