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 12, 2024
1 parent 3300c44 commit ea23666
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": 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
}

0 comments on commit ea23666

Please sign in to comment.