Can the Logic App HTTP Request trigger validate against a provided JSON Schema?
Added a minimal JSON schema to the Request Body JSON Schema, and I get the various element ...
"Correlation": {
"id": "/properties/Correlation",
"properties": {
"CaseNumber": {
"id": "/properties/Correlation/properties/CaseNumber",
"type": "string"
},
"ProviderCaseNumber": {
"id": "/properties/Correlation/properties/ProviderCaseNumber",
"type": "string"
}
},
"required": ["CaseNumber"],
"type": "object"
}, ... etc. ...
Read through the blog post, Logic Apps – Json Schema Verify, which shows how to use an Azure Function to handle the validation.
BUT Json.NET Schema is now a commerical product
Is there anyway in the actual trigger to validate, and even better, return a 400 Bad Request
?