[Mapbender-commits] r9202 - trunk/mapbender/conf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu May 21 06:06:22 PDT 2015


Author: syed
Date: 2015-05-21 06:06:22 -0700 (Thu, 21 May 2015)
New Revision: 9202

Modified:
   trunk/mapbender/conf/attributeCategories-Schema.json
Log:
fix categories schema

Modified: trunk/mapbender/conf/attributeCategories-Schema.json
===================================================================
--- trunk/mapbender/conf/attributeCategories-Schema.json	2015-05-21 12:26:46 UTC (rev 9201)
+++ trunk/mapbender/conf/attributeCategories-Schema.json	2015-05-21 13:06:22 UTC (rev 9202)
@@ -1,13 +1,14 @@
-{
-    "categories": {
-        "Fix-Data": "Fix-Data",
-        "Editable-Data": "Editable-Data",
-        "Style-Data": "Style-Data",
-        "Custom-Data": "Custom-Data"
-    }
-}
+// {
+//     "categories": {
+//         "Fix-Data": "Fix-Data",
+//         "Editable-Data": "Editable-Data",
+//         "Style-Data": "Style-Data",
+//         "Custom-Data": "Custom-Data"
+//     }
+// }
 
 
+
 {
   "$schema": "http://json-schema.org/draft-04/schema#",
   "id": "/",
@@ -15,34 +16,34 @@
   "properties": {
     "categories": {
       "id": "categories",
-      "type": "array",
-      "items": [
-        {
-          "id": "0",
+      "type": "object",
+      "properties": {
+        "Fix-Data": {
+          "id": "Fix-Data",
           "type": "string",
           "default": "Fix-Data"
         },
-        {
-          "id": "1",
+        "Editable-Data": {
+          "id": "Editable-Data",
           "type": "string",
           "default": "Editable-Data"
         },
-        {
-          "id": "2",
+        "Style-Data": {
+          "id": "Style-Data",
           "type": "string",
           "default": "Style-Data"
         },
-        {
-          "id": "3",
+        "Custom-Data": {
+          "id": "Custom-Data",
           "type": "string",
           "default": "Custom-Data"
         }
-      ],
+      },
       "required": [
-        "0",
-        "1",
-        "2",
-        "3"
+        "Fix-Data",
+        "Editable-Data",
+        "Style-Data",
+        "Custom-Data"
       ]
     }
   },



More information about the Mapbender_commits mailing list