Skip to content

Commit

Permalink
Fixed member import csv validator for labels
Browse files Browse the repository at this point in the history
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
  • Loading branch information
naz committed Aug 18, 2020
1 parent c9cc19c commit 6ca51ea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"required": ["email"],
"properties": {
"name": {
"type": ["null", "string"],
"type": ["string", "null"],
"maxLength": 191,
"pattern": "^([^,]|$)"
},
Expand All @@ -22,7 +22,7 @@
"format": "email"
},
"note": {
"type": ["null", "string"],
"type": ["string", "null"],
"minLength": 0,
"maxLength": 2000
},
Expand All @@ -31,7 +31,7 @@
"enum": ["true", "false", "TRUE", "FALSE", ""]
},
"labels": {
"type": "string"
"type": ["string", "null"]
},
"created_at": {
"type": ["string", "null"],
Expand Down

0 comments on commit 6ca51ea

Please sign in to comment.