I have an API which has the following characteristics:
Schema:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"StartDate": {
"type": "string"
},
"EndDate: {
"type": "string"
},
}
}
}
**************************
Example failure payload:
{
"StartDate": "6/15/2017",
"EndDate": null,
}
Note that this works if both StartDate and EndDate are not null
The Parse JSON step with the above schema returns "Error - Expected String, received null"
Replacing the EndDate data type "string" with "any" causes it to be unreadable in following steps (as though it was never parsed) and changing it to "data" causes an internal server error.
Is there any way to create a schema which allows null values in the "Parse JSON" step?