diff --git a/schemas/com.snowplowanalytics.snowplow/custom_event/jsonschema/1-0-0 b/schemas/com.snowplowanalytics.snowplow/custom_event/jsonschema/1-0-0 new file mode 100644 index 00000000..54d1261b --- /dev/null +++ b/schemas/com.snowplowanalytics.snowplow/custom_event/jsonschema/1-0-0 @@ -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 +}