You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2022/01/07 06:49:50 UTC

[sling-org-apache-sling-feature] branch master updated: SLING-11047 : JSON schema should use start-order

This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git


The following commit(s) were added to refs/heads/master by this push:
     new 4cfeb7a  SLING-11047 : JSON schema should use start-order
4cfeb7a is described below

commit 4cfeb7a210cdc29f8e611f784586fb4ca5ded2a7
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Jan 7 07:49:38 2022 +0100

    SLING-11047 : JSON schema should use start-order
---
 src/main/resources/META-INF/feature/Feature-1.0.0.schema.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/META-INF/feature/Feature-1.0.0.schema.json b/src/main/resources/META-INF/feature/Feature-1.0.0.schema.json
index 9021482..ad8286f 100644
--- a/src/main/resources/META-INF/feature/Feature-1.0.0.schema.json
+++ b/src/main/resources/META-INF/feature/Feature-1.0.0.schema.json
@@ -1,6 +1,6 @@
 {
   "$schema": "http://json-schema.org/draft-07/schema#",
-  "$id": "http://sling.apache.org/Feature/1.0.0",
+  "$id": "http://sling.apache.org/Feature/1.0.1",
   "type": "object",
   "properties": {
     "model-version": {
@@ -106,7 +106,7 @@
           "type": "string",
           "pattern": "^(([^: ]+):([^: ]+)(:([^: ]*)(:([^: ]+))?)?:([^: ]+)|(mvn:)?([^/ ]+)/([^/ ]+)(/([^/ ]+))?(/([^/ ]*)(/([^/ ]+))?)?)$"
         },
-        "start-level": {
+        "start-order": {
           "type": [ "string", "number" ],
           "pattern": "^\\d+$"
         },