Skip to content

Commit

Permalink
Move source to the errors array
Browse files Browse the repository at this point in the history
  • Loading branch information
colmsnowplow committed Mar 11, 2024
1 parent ebe0a04 commit dd67aae
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
},
"type": "object",
"properties": {
"source": {
"type": ["string", "null"],
"description": "Source of the error. If the failure happened during enrichment, it'll be the enriched field - for example `user_ipaddress`, `unstruct` or `contexts`"
},
"failureType": {
"type": "string",
"description": "Classification of the failure. For example, validation error."
Expand All @@ -21,7 +17,7 @@
"items": {
"type": "object"
},
"description": "A list of errors encountered, and supporting information about the error."
"description": "A list of errors encountered, and supporting information about the error. Each entry should always have at least a message field and a source field."
},
"schema": {
"type": ["string", "null"],
Expand Down

0 comments on commit dd67aae

Please sign in to comment.