Added minLength to prevent empty properties

This commit is contained in:
AnthorNet 2015-04-15 14:54:21 +02:00
parent fa9f06b9c4
commit 198031d740

View File

@ -28,10 +28,12 @@
"required": [ "systemName", "stationName", "timestamp", "commodities" ], "required": [ "systemName", "stationName", "timestamp", "commodities" ],
"properties": { "properties": {
"systemName": { "systemName": {
"type" : "string" "type" : "string",
"minLength" : 1
}, },
"stationName": { "stationName": {
"type" : "string" "type" : "string",
"minLength" : 1
}, },
"timestamp": { "timestamp": {
"type" : "string", "type" : "string",