-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add com.snowplowanalytics.snowplow/failure/jsonschema/1-0-0 (close #1402
- Loading branch information
1 parent
dd45d7e
commit c26896c
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
schemas/com.snowplowanalytics.snowplow/failure/jsonschema/1-0-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} |