Browse Source

Lift the restriction on additional properties in the schema

It remove a lot of flexibility provided by the JSON format...
In a next version of the format, we could specify a "sanctioned way" to
create non-standard properties, like prefixing their names with an underscore.
Gu1 11 years ago
parent
commit
650f8dcc0a
1 changed files with 2 additions and 4 deletions
  1. 2 4
      ispformat/schema/0.1/isp.json

+ 2 - 4
ispformat/schema/0.1/isp.json

@@ -35,8 +35,7 @@
             "type": "object",
             "patternProperties": {
                 "^.+$": { "type": "string", "format": "uri" }
-            },
-            "additionalProperties": false
+            }
         },
         "email": {
             "description": "Contact email address",
@@ -113,8 +112,7 @@
                 "area": {
                     "$ref": "http://json-schema.org/geojson/geojson.json#"
                 }
-            },
-            "additionalProperties": false
+            }
         }
     }
 }