Skip to content

Commit

Permalink
Add com.snowplowanalytics.snowplow/failure/jsonschema/1-0-0 (close #1402
Browse files Browse the repository at this point in the history
)
  • Loading branch information
colmsnowplow authored and benjben committed Jun 11, 2024
1 parent dd45d7e commit c26896c
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions schemas/com.snowplowanalytics.snowplow/failure/jsonschema/1-0-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"self": {
"vendor": "com.snowplowanalytics.snowplow",
"name": "failure",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"failureType": {
"type": "string",
"description": "Classification of the failure. For example, validation error."
},
"errors": {
"type": "array",
"items": {
"type": "object"
},
"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"],
"description": "The schema for the object which caused the failure, if it was self-descrbing."
},
"data": {
"type": ["object", "null"],
"additionalProperties": true,
"description": "The original data object which caused the failure."
},
"timestamp": {
"type": "string",
"description": "Timestamp at which the failure occurred",
"format": "date-time"
},
"componentName": {
"type": "string",
"description": "Name of the component which produced the failure"
},
"componentVersion": {
"type": "string",
"description": "Version of the component which produced the failure"
}
},
"required": ["failureType", "errors", "timestamp", "componentName", "componentVersion"]
}

0 comments on commit c26896c

Please sign in to comment.