mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-07 10:53:04 +03:00
Merge pull request #4 from AnthorNet/master
Added minLength to prevent empty properties
This commit is contained in:
commit
e3d37d30cb
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user