-
Notifications
You must be signed in to change notification settings - Fork 114
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/custom_event/jsonschema/1-0-0 (close
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
schemas/com.snowplowanalytics.snowplow/custom_event/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,35 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Schema for a custom event with generic properties", | ||
"self": { | ||
"vendor": "com.snowplowanalytics.snowplow", | ||
"name": "custom_event", | ||
"format": "jsonschema", | ||
"version": "1-0-0" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"category": { | ||
"type": ["string", "null"], | ||
"maxLength": 1024, | ||
"description": "Category of the event" | ||
}, | ||
"action": { | ||
"type": ["string", "null"], | ||
"maxLength": 1024, | ||
"description": "Action taken on the event" | ||
}, | ||
"label": { | ||
"type": ["string", "null"], | ||
"maxLength": 1024, | ||
"description": "Label describing the event" | ||
}, | ||
"value": { | ||
"type": ["number", "null"], | ||
"description": "Value assigned to the event", | ||
"minimum": 0, | ||
"maximum": 9999999 | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |