Skip to content

Commit

Permalink
Add com.snowplowanalytics.snowplow/custom_event/jsonschema/1-0-0 (close
Browse files Browse the repository at this point in the history
  • Loading branch information
igneel64 committed Jul 17, 2024
1 parent 3300c44 commit 6ee506b
Showing 1 changed file with 35 additions and 0 deletions.
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": 4096,
"description": "Category of the event"
},
"action": {
"type": ["string", "null"],
"maxLength": 4096,
"description": "Action taken on the event"
},
"label": {
"type": ["string", "null"],
"maxLength": 4096,
"description": "Label describing the event"
},
"value": {
"type": ["number", "null"],
"description": "Value assigned to the event",
"minimum": 0,
"maximum": 9999999
}
},
"additionalProperties": false
}

0 comments on commit 6ee506b

Please sign in to comment.