Skip to content

Commit

Permalink
Merge pull request #55 from AutoIDM/stitch
Browse files Browse the repository at this point in the history
JSON Validation Array Null failures from Stitch fix
  • Loading branch information
visch authored Oct 4, 2021
2 parents a810448 + 67165a5 commit 83c6a30
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions tap_clickup/schemas/folder.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"type": ["null", "string"]
},
"statuses": {
"type": "array",
"type": ["array","null"],
"items": {
"$ref": "#definitions/status"
}
Expand Down Expand Up @@ -108,13 +108,13 @@
"type": ["null", "string", "integer"]
},
"statuses": {
"type": "array",
"type": ["array", "null"],
"items": {
"$ref": "#definitions/status"
}
},
"lists": {
"type": "array",
"type": ["array", "null"],
"items": {
"$ref": "#definitions/list"
}
Expand Down
6 changes: 3 additions & 3 deletions tap_clickup/schemas/shared.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"type": "object",
"properties": {
"tasks": {
"type": "array"
"type": ["array","null"]
},
"lists": {
"type": "array",
"type": ["array","null"],
"items": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -46,7 +46,7 @@
}
},
"folders": {
"type": "array",
"type": ["array","null"],
"items": {
"type": "object",
"properties": {
Expand Down
4 changes: 2 additions & 2 deletions tap_clickup/schemas/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
},
"members": {
"type": "array",
"type": ["array", "null"],
"items": [
{
"type": "object",
Expand Down Expand Up @@ -119,7 +119,7 @@
"type": ["null", "string"]
},
"statuses": {
"type": "array",
"type": ["array", "null"],
"items": {
"$ref": "#definitions/status"
}
Expand Down
16 changes: 8 additions & 8 deletions tap_clickup/schemas/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
}
},
"assignees": {
"type": "array",
"type": ["array", "null"],
"items": {
"type": "object",
"properties": {
Expand All @@ -121,13 +121,13 @@
}
},
"watchers": {
"type": "array"
"type": ["array", "null"]
},
"checklists": {
"type": "array"
"type": ["array", "null"]
},
"tags": {
"type": "array",
"type": ["array", "null"],
"items": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -166,7 +166,7 @@
"type": ["integer", "null"]
},
"custom_fields": {
"type": "array",
"type": ["array", "null"],
"items": {
"type": "object",
"properties": {
Expand All @@ -189,7 +189,7 @@
"type": ["string", "null"]
},
"options": {
"type": "array",
"type": ["array", "null"],
"items": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -226,10 +226,10 @@
}
},
"dependencies": {
"type": "array"
"type": ["array", "null"]
},
"linked_tasks": {
"type": "array"
"type": ["array", "null"]
},
"team_id": {
"type": ["string", "null"]
Expand Down

0 comments on commit 83c6a30

Please sign in to comment.