diff --git a/CHANGELOG b/CHANGELOG index b8010c8f..d3229ad4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +Release 150 (2023-11-29) +------------------------ +Add com.snowplowanalytics.snowplow/button_click/jsonschema/1-0-0 (#1351) + Release 149 (2023-11-10) ------------------------ Add com.google.ga4/cookies/jsonschema/1-0-0 (#1324) diff --git a/schemas/com.snowplowanalytics.snowplow/button_click/jsonschema/1-0-0 b/schemas/com.snowplowanalytics.snowplow/button_click/jsonschema/1-0-0 new file mode 100644 index 00000000..7524b799 --- /dev/null +++ b/schemas/com.snowplowanalytics.snowplow/button_click/jsonschema/1-0-0 @@ -0,0 +1,50 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for a button click event", + "self": { + "vendor": "com.snowplowanalytics.snowplow", + "name": "button_click", + "format": "jsonschema", + "version": "1-0-0" + }, + "type": "object", + "properties": { + "label": { + "type": "string", + "description": "The text on the button clicked, or a user-provided override", + "minLength": 1, + "maxLength": 4096 + }, + "id": { + "description": "The ID of the button clicked, if present", + "type": [ + "string", + "null" + ], + "maxLength": 4096 + }, + "classes": { + "description": "An array of class names from the button clicked", + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 4096 + } + }, + "name": { + "description": "The name of the button, if present", + "type": [ + "string", + "null" + ], + "maxLength": 4096 + } + }, + "required": [ + "label" + ], + "additionalProperties": false +}