[PATCH v4 2/4] layers.schema.json: support 'uri'

Corentin Guillevic
2025-12-19T16:13:10Z

The property 'uri', which is a shortcut for 'remotes/origin/uri', is now
supported under 'git-remote'.

Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr>
---
setup-schema/layers.schema.json | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/setup-schema/layers.schema.json b/setup-schema/layers.schema.json
index 1a0255435..f42606941 100644
--- a/setup-schema/layers.schema.json
+++ b/setup-schema/layers.schema.json
@@ -46,6 +46,10 @@
"description": "The output of 'git describe' (human readable description of the revision using tags in revision history).",
"type": "string"
},
+ "uri": {
+ "description": "Specifies the git URI, can be used instead of the more elaborate 'remotes' property when there is only a single URI",
+ "type": "string"
+ },
"remotes": {
"description": "The dict of git remotes to add to this repository",
"type": "object",
--
2.51.0