Fixed member import csv validator for labels

no issue

- Labels can have a null value when there is none defined in the imported file. Such records fails for "string" type in JSON schema
This commit is contained in:
Nazar Gargol 2020-08-18 15:25:04 +12:00
parent c9cc19cb74
commit 6ca51eae29

View File

@ -11,7 +11,7 @@
"required": ["email"],
"properties": {
"name": {
"type": ["null", "string"],
"type": ["string", "null"],
"maxLength": 191,
"pattern": "^([^,]|$)"
},
@ -22,7 +22,7 @@
"format": "email"
},
"note": {
"type": ["null", "string"],
"type": ["string", "null"],
"minLength": 0,
"maxLength": 2000
},
@ -31,7 +31,7 @@
"enum": ["true", "false", "TRUE", "FALSE", ""]
},
"labels": {
"type": "string"
"type": ["string", "null"]
},
"created_at": {
"type": ["string", "null"],