diff mbox series

[1/4] setup-schema/layers.schema.json: correct indentation

Message ID 20251211142532.983960-1-alex.kanavin@gmail.com
State New
Headers show
Series [1/4] setup-schema/layers.schema.json: correct indentation | expand

Commit Message

Alexander Kanavin Dec. 11, 2025, 2:25 p.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

Shift one of the inner blocks 8 spaces to the left, so that
everything is indented by 4 spaces.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 setup-schema/layers.schema.json | 72 ++++++++++++++++-----------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Comments

Paul Barker Dec. 12, 2025, 11:30 a.m. UTC | #1
On Thu, 2025-12-11 at 15:25 +0100, Alexander Kanavin wrote:
> From: Alexander Kanavin <alex@linutronix.de>
> 
> Shift one of the inner blocks 8 spaces to the left, so that
> everything is indented by 4 spaces.
> 
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
>  setup-schema/layers.schema.json | 72 ++++++++++++++++-----------------
>  1 file changed, 36 insertions(+), 36 deletions(-)
> 
> diff --git a/setup-schema/layers.schema.json b/setup-schema/layers.schema.json
> index 144ea6d9f..9a0b4ed61 100644
> --- a/setup-schema/layers.schema.json
> +++ b/setup-schema/layers.schema.json
> @@ -27,44 +27,44 @@
>                          "type": "boolean"
>                      },
>                      "git-remote": {
> -                                "description": "A remote git source from which to fetch",
> +                        "description": "A remote git source from which to fetch",
> +                        "type": "object",
> +                        "additionalProperties": false,
> +                        "required": [
> +                            "rev"
> +                        ],
> +                        "properties": {
> +                            "branch": {
> +                                "description": "The git branch to fetch (optional)",
> +                                "type": "string"
> +                            },
> +                            "rev": {
> +                                "description": "The git revision to checkout",
> +                                "type": "string"
> +                            },
> +                            "describe": {
> +                                "description": "The output of 'git describe' (human readable description of the revision using tags in revision history).",
> +                                "type": "string"
> +                            },
> +                            "remotes": {
> +                                "description": "The dict of git remotes to add to this repository",
>                                  "type": "object",
> -                                "additionalProperties": false,
> -                                "required": [
> -                                    "rev"
> -                                ],
> -                                "properties": {
> -                                    "branch": {
> -                                        "description": "The git branch to fetch (optional)",
> -                                        "type": "string"
> -                                    },
> -                                    "rev": {
> -                                        "description": "The git revision to checkout",
> -                                        "type": "string"
> -                                    },
> -                                    "describe": {
> -                                        "description": "The output of 'git describe' (human readable description of the revision using tags in revision history).",
> -                                        "type": "string"
> -                                    },
> -                                    "remotes": {
> -                                        "description": "The dict of git remotes to add to this repository",
> -                                        "type": "object",
> -                                        "patternProperties": { ".*" : {
> -                                            "description": "A git remote",
> -                                            "type": "object",
> -                                            "addtionalProperties": false,
> -                                            "required": [
> -                                                "uri"
> -                                            ],
> -                                            "properties": {
> -                                                "uri": {
> -                                                    "description": "The URI for the remote, using git URL syntax",
> -                                                    "type": "string"
> -                                                }
> -                                            }
> -                                        }}
> +                                "patternProperties": { ".*" : {
> +                                    "description": "A git remote",
> +                                    "type": "object",
> +                                    "addtionalProperties": false,
> +                                    "required": [
> +                                        "uri"
> +                                    ],
> +                                    "properties": {
> +                                        "uri": {
> +                                            "description": "The URI for the remote, using git URL syntax",
> +                                            "type": "string"
> +                                        }
>                                      }
> -                                }
> +                                }}
> +                            }
> +                        }
>                      }
>                  }
>              }

Reviewed-by: Paul Barker <paul@pbarker.dev>

Best regards,
diff mbox series

Patch

diff --git a/setup-schema/layers.schema.json b/setup-schema/layers.schema.json
index 144ea6d9f..9a0b4ed61 100644
--- a/setup-schema/layers.schema.json
+++ b/setup-schema/layers.schema.json
@@ -27,44 +27,44 @@ 
                         "type": "boolean"
                     },
                     "git-remote": {
-                                "description": "A remote git source from which to fetch",
+                        "description": "A remote git source from which to fetch",
+                        "type": "object",
+                        "additionalProperties": false,
+                        "required": [
+                            "rev"
+                        ],
+                        "properties": {
+                            "branch": {
+                                "description": "The git branch to fetch (optional)",
+                                "type": "string"
+                            },
+                            "rev": {
+                                "description": "The git revision to checkout",
+                                "type": "string"
+                            },
+                            "describe": {
+                                "description": "The output of 'git describe' (human readable description of the revision using tags in revision history).",
+                                "type": "string"
+                            },
+                            "remotes": {
+                                "description": "The dict of git remotes to add to this repository",
                                 "type": "object",
-                                "additionalProperties": false,
-                                "required": [
-                                    "rev"
-                                ],
-                                "properties": {
-                                    "branch": {
-                                        "description": "The git branch to fetch (optional)",
-                                        "type": "string"
-                                    },
-                                    "rev": {
-                                        "description": "The git revision to checkout",
-                                        "type": "string"
-                                    },
-                                    "describe": {
-                                        "description": "The output of 'git describe' (human readable description of the revision using tags in revision history).",
-                                        "type": "string"
-                                    },
-                                    "remotes": {
-                                        "description": "The dict of git remotes to add to this repository",
-                                        "type": "object",
-                                        "patternProperties": { ".*" : {
-                                            "description": "A git remote",
-                                            "type": "object",
-                                            "addtionalProperties": false,
-                                            "required": [
-                                                "uri"
-                                            ],
-                                            "properties": {
-                                                "uri": {
-                                                    "description": "The URI for the remote, using git URL syntax",
-                                                    "type": "string"
-                                                }
-                                            }
-                                        }}
+                                "patternProperties": { ".*" : {
+                                    "description": "A git remote",
+                                    "type": "object",
+                                    "addtionalProperties": false,
+                                    "required": [
+                                        "uri"
+                                    ],
+                                    "properties": {
+                                        "uri": {
+                                            "description": "The URI for the remote, using git URL syntax",
+                                            "type": "string"
+                                        }
                                     }
-                                }
+                                }}
+                            }
+                        }
                     }
                 }
             }