From 0c4fa05d8f378447d939775f6c4bd3e80f450f17 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:24:30 +0200 Subject: [PATCH 01/15] Add com.google.tag-manager.server-side/add_shipping_info/jsonschema/1-0-0 (close #1372) --- .../add_shipping_info/jsonschema/1-0-0 | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/add_shipping_info/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/add_shipping_info/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/add_shipping_info/jsonschema/1-0-0 new file mode 100644 index 00000000..d5c7e372 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/add_shipping_info/jsonschema/1-0-0 @@ -0,0 +1,143 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "add_shipping_info", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies a user has submitted their shipping information.", + "type": "object", + "properties": { + "currency": { + "description": "Currency of the items associated with the event, in 3-letter ISO 4217 format. Is required, if value is set.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "value": { + "description": "The monetary value of the event.", + "type": ["number", "null"], + "minimum": 0 + }, + "coupon": { + "description": "The coupon name or code associated with the event.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "shipping_tier": { + "description": "The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "items": { + "description": "The items for the event.", + "type": "array", + "items": { + "description": "An item object.", + "type": "object", + "properties": { + "item_id": { + "description": "The ID of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "item_name": { + "description": "The name of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "affiliation": { + "description": "A product affiliation to designate a supplying company or brick and mortar store location", + "type": ["string", "null"], + "maxLength": 4096 + }, + "coupon": { + "description": "The coupon name or code associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "currency": { + "description": "The currency, in 3-letter ISO 4217 format.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "discount": { + "description": "The monetary discount value associated with the item.", + "type": ["number", "null"], + "minimum": 0 + }, + "index": { + "description": "The index of the item in a list.", + "type": ["integer", "null"], + "minimum": 0 + }, + "item_brand": { + "description": "The brand of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category": { + "description": "The category of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category2": { + "description": "The second category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category3": { + "description": "The third category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category4": { + "description": "The fourth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category5": { + "description": "The fifth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_id": { + "description": "The ID of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_name": { + "description": "The name of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_variant": { + "description": "The item variant or unique code or description for additional item details or options.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "location_id": { + "description": "The location associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "price": { + "description": "The monetary price of the item, in units of the specified currency parameter.", + "type": ["number", "null"], + "minimum": 0 + }, + "quantity": { + "description": "Item quantity.", + "type": ["integer", "null"], + "minimum": 0 + } + }, + "additionalProperties": false + } + } + }, + "required": ["items"], + "additionalProperties": false +} From 50fcb7672c09200c51c0e8ecde78e3bca43f09bf Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:25:31 +0200 Subject: [PATCH 02/15] Add com.google.tag-manager.server-side/earn_virtual_currency/jsonschema/1-0-0 (close #1373) --- .../earn_virtual_currency/jsonschema/1-0-0 | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/earn_virtual_currency/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/earn_virtual_currency/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/earn_virtual_currency/jsonschema/1-0-0 new file mode 100644 index 00000000..0c968d94 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/earn_virtual_currency/jsonschema/1-0-0 @@ -0,0 +1,24 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "earn_virtual_currency", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event measures the awarding of virtual currency.", + "type": "object", + "properties": { + "virtual_currency_name": { + "description": "The name of the virtual currency.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "value": { + "description": "The value of the virtual currency.", + "type": ["number", "null"], + "minimum": 0 + } + }, + "additionalProperties": false +} From ec6b85adf0273ce7fb11c7ed9d597e995edc5c78 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:26:21 +0200 Subject: [PATCH 03/15] Add com.google.tag-manager.server-side/level_end/jsonschema/1-0-0 (close #1374) --- .../level_end/jsonschema/1-0-0 | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/level_end/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/level_end/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/level_end/jsonschema/1-0-0 new file mode 100644 index 00000000..379a12f5 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/level_end/jsonschema/1-0-0 @@ -0,0 +1,23 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "level_end", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies that a player has reached the end of a level.", + "type": "object", + "properties": { + "level_name": { + "description": "The name of the level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "success": { + "description": "Set to true if the level was completed successfully.", + "type": ["boolean", "null"] + } + }, + "additionalProperties": false +} From 234ff1b9a4ce0ca3d3694205ca661a5dbf5731e3 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:26:57 +0200 Subject: [PATCH 04/15] Add com.google.tag-manager.server-side/level_start/jsonschema/1-0-0 (close #1375) --- .../level_start/jsonschema/1-0-0 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/level_start/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/level_start/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/level_start/jsonschema/1-0-0 new file mode 100644 index 00000000..496192f7 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/level_start/jsonschema/1-0-0 @@ -0,0 +1,19 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "level_start", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies that a player has started a level.", + "type": "object", + "properties": { + "level_name": { + "description": "The name of the level.", + "type": ["string", "null"], + "maxLength": 4096 + } + }, + "additionalProperties": false +} From e256aaac24577af07b87555850c595ccd4649a8d Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:27:29 +0200 Subject: [PATCH 05/15] Add com.google.tag-manager.server-side/level_up/jsonschema/1-0-0 (close #1376) --- .../level_up/jsonschema/1-0-0 | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/level_up/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/level_up/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/level_up/jsonschema/1-0-0 new file mode 100644 index 00000000..cf5d5252 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/level_up/jsonschema/1-0-0 @@ -0,0 +1,24 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "level_up", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies that a player has leveled up. Use it to gauge the level distribution of your userbase and identify levels that are difficult to complete.", + "type": "object", + "properties": { + "level": { + "description": "The level of the character.", + "type": ["number", "null"] + }, + "character": { + "description": "The character that leveled up.", + "type": ["string", "null"], + "maxLength": 4096 + + } + }, + "additionalProperties": false +} From b225d3061a3a06601b36d8096dcbaada82693a6f Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:28:04 +0200 Subject: [PATCH 06/15] Add com.google.tag-manager.server-side/post_score/jsonschema/1-0-0 (close #1377) --- .../post_score/jsonschema/1-0-0 | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/post_score/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/post_score/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/post_score/jsonschema/1-0-0 new file mode 100644 index 00000000..71912453 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/post_score/jsonschema/1-0-0 @@ -0,0 +1,28 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "post_score", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "Send this event when the user posts a score. Use this event to understand how users are performing in your game and correlate high scores with audiences or behaviors.", + "type": "object", + "properties": { + "score": { + "description": "The score to post.", + "type": ["number", "null"] + }, + "level": { + "description": "The level for the score.", + "type": ["number", "null"] + }, + "character": { + "description": "The character that achieved the score.", + "type": ["string", "null"], + "maxLength": 4096 + } + }, + "required": ["score"], + "additionalProperties": false +} From c211d85f5e9482941bbf0d4d1047dc018bb000a1 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:28:41 +0200 Subject: [PATCH 07/15] Add com.google.tag-manager.server-side/remove_from_cart/jsonschema/1-0-0 (close #1378) --- .../remove_from_cart/jsonschema/1-0-0 | 133 ++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/remove_from_cart/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/remove_from_cart/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/remove_from_cart/jsonschema/1-0-0 new file mode 100644 index 00000000..c04b71d0 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/remove_from_cart/jsonschema/1-0-0 @@ -0,0 +1,133 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "remove_from_cart", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies that an item was removed from a cart.", + "type": "object", + "properties": { + "currency": { + "description": "Currency of the items associated with the event, in 3-letter ISO 4217 format. Is required, if value is set.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "value": { + "description": "The monetary value of the event.", + "type": ["number", "null"], + "minimum": 0 + }, + "items": { + "description": "The items for the event.", + "type": "array", + "items": { + "description": "An item object.", + "type": "object", + "properties": { + "item_id": { + "description": "The ID of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "item_name": { + "description": "The name of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "affiliation": { + "description": "A product affiliation to designate a supplying company or brick and mortar store location", + "type": ["string", "null"], + "maxLength": 4096 + }, + "coupon": { + "description": "The coupon name or code associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "currency": { + "description": "The currency, in 3-letter ISO 4217 format.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "discount": { + "description": "The monetary discount value associated with the item.", + "type": ["number", "null"], + "minimum": 0 + }, + "index": { + "description": "The index of the item in a list.", + "type": ["integer", "null"], + "minimum": 0 + }, + "item_brand": { + "description": "The brand of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category": { + "description": "The category of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category2": { + "description": "The second category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category3": { + "description": "The third category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category4": { + "description": "The fourth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category5": { + "description": "The fifth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_id": { + "description": "The ID of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_name": { + "description": "The name of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_variant": { + "description": "The item variant or unique code or description for additional item details or options.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "location_id": { + "description": "The location associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "price": { + "description": "The monetary price of the item, in units of the specified currency parameter.", + "type": ["number", "null"], + "minimum": 0 + }, + "quantity": { + "description": "Item quantity.", + "type": ["integer", "null"], + "minimum": 0 + } + }, + "additionalProperties": false + } + } + }, + "required": ["items"], + "additionalProperties": false +} From ddfb6d37c1b05dfc492148e52f8770168e305914 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:29:16 +0200 Subject: [PATCH 08/15] Add com.google.tag-manager.server-side/select_item/jsonschema/1-0-0 (close #1379) --- .../select_item/jsonschema/1-0-0 | 132 ++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/select_item/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/select_item/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/select_item/jsonschema/1-0-0 new file mode 100644 index 00000000..c091b95d --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/select_item/jsonschema/1-0-0 @@ -0,0 +1,132 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "select_item", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies an item was selected from a list.", + "type": "object", + "properties": { + "item_list_id": { + "description": "The ID of the list in which the item was presented to the user. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_name": { + "description": "The name of the list in which the item was presented to the user. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "items": { + "description": "The items for the event.", + "type": "array", + "items": { + "description": "An item object.", + "type": "object", + "properties": { + "item_id": { + "description": "The ID of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "item_name": { + "description": "The name of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "affiliation": { + "description": "A product affiliation to designate a supplying company or brick and mortar store location", + "type": ["string", "null"], + "maxLength": 4096 + }, + "coupon": { + "description": "The coupon name or code associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "currency": { + "description": "The currency, in 3-letter ISO 4217 format.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "discount": { + "description": "The monetary discount value associated with the item.", + "type": ["number", "null"], + "minimum": 0 + }, + "index": { + "description": "The index of the item in a list.", + "type": ["integer", "null"], + "minimum": 0 + }, + "item_brand": { + "description": "The brand of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category": { + "description": "The category of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category2": { + "description": "The second category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category3": { + "description": "The third category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category4": { + "description": "The fourth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category5": { + "description": "The fifth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_id": { + "description": "The ID of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_name": { + "description": "The name of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_variant": { + "description": "The item variant or unique code or description for additional item details or options.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "location_id": { + "description": "The location associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "price": { + "description": "The monetary price of the item, in units of the specified currency parameter.", + "type": ["number", "null"], + "minimum": 0 + }, + "quantity": { + "description": "Item quantity.", + "type": ["integer", "null"], + "minimum": 0 + } + }, + "additionalProperties": false + } + } + }, + "required": ["items"], + "additionalProperties": false +} From f04b5ad9f2ba0b4e1f480231af654acf993ba56b Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:31:33 +0200 Subject: [PATCH 09/15] Add com.google.tag-manager.server-side/select_promotion/jsonschema/1-0-0 (close #1380) --- .../select_promotion/jsonschema/1-0-0 | 141 ++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/select_promotion/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/select_promotion/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/select_promotion/jsonschema/1-0-0 new file mode 100644 index 00000000..da0a5226 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/select_promotion/jsonschema/1-0-0 @@ -0,0 +1,141 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "select_promotion", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies an promotion was selected from a list.", + "type": "object", + "properties": { + "creative_name": { + "description": "The name of the promotional creative. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "creative_slot": { + "description": "The name of the promotional creative slot associated with the event. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "promotion_id": { + "description": "The ID of the promotion associated with the event. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "promotion_name": { + "description": "The name of the promotion associated with the event. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "items": { + "description": "The items for the event.", + "type": "array", + "items": { + "description": "An item object.", + "type": "object", + "properties": { + "item_id": { + "description": "The ID of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "item_name": { + "description": "The name of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "affiliation": { + "description": "A product affiliation to designate a supplying company or brick and mortar store location", + "type": ["string", "null"], + "maxLength": 4096 + }, + "coupon": { + "description": "The coupon name or code associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "currency": { + "description": "The currency, in 3-letter ISO 4217 format.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "discount": { + "description": "The monetary discount value associated with the item.", + "type": ["number", "null"], + "minimum": 0 + }, + "index": { + "description": "The index of the item in a list.", + "type": ["integer", "null"], + "minimum": 0 + }, + "item_brand": { + "description": "The brand of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category": { + "description": "The category of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category2": { + "description": "The second category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category3": { + "description": "The third category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category4": { + "description": "The fourth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category5": { + "description": "The fifth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_id": { + "description": "The ID of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_name": { + "description": "The name of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_variant": { + "description": "The item variant or unique code or description for additional item details or options.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "location_id": { + "description": "The location associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "price": { + "description": "The monetary price of the item, in units of the specified currency parameter.", + "type": ["number", "null"], + "minimum": 0 + }, + "quantity": { + "description": "Item quantity.", + "type": ["integer", "null"], + "minimum": 0 + } + }, + "additionalProperties": false + } + } + }, + "additionalProperties": false +} From 3ca843595177511dac179fcd2056e2f3d7e98ef1 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:32:38 +0200 Subject: [PATCH 10/15] Add com.google.tag-manager.server-side/spend_virtual_currency/jsonschema/1-0-0 (close #1381) --- .../spend_virtual_currency/jsonschema/1-0-0 | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/spend_virtual_currency/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/spend_virtual_currency/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/spend_virtual_currency/jsonschema/1-0-0 new file mode 100644 index 00000000..4c903927 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/spend_virtual_currency/jsonschema/1-0-0 @@ -0,0 +1,30 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "spend_virtual_currency", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event measures the sale of virtual goods in your app and helps you identify which virtual goods are the most popular.", + "type": "object", + "properties": { + "virtual_currency_name": { + "description": "The name of the virtual currency.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "value": { + "description": "The value of the virtual currency.", + "type": ["number", "null"], + "minimum": 0 + }, + "item_name": { + "description": "The name of the item the virtual currency is being used for.", + "type": ["string", "null"], + "maxLength": 500 + } + }, + "required": ["virtual_currency_name", "value"], + "additionalProperties": false +} From 52fe1b5d196e3fdeeb09bf1d5605819d422afd6f Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:33:21 +0200 Subject: [PATCH 11/15] Add com.google.tag-manager.server-side/tutorial_begin/jsonschema/1-0-0 (close #1382) --- .../tutorial_begin/jsonschema/1-0-0 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/tutorial_begin/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/tutorial_begin/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/tutorial_begin/jsonschema/1-0-0 new file mode 100644 index 00000000..8852282f --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/tutorial_begin/jsonschema/1-0-0 @@ -0,0 +1,13 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "tutorial_begin", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies the start of the on-boarding process. Use this in a funnel with tutorial_complete to understand how many users complete the tutorial.", + "type": "object", + "properties": {}, + "additionalProperties": false +} From 79416c3128bcc88d0eab035034afc0af6d4fa64b Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:34:01 +0200 Subject: [PATCH 12/15] Add com.google.tag-manager.server-side/tutorial_complete/jsonschema/1-0-0 (close #1383) --- .../tutorial_complete/jsonschema/1-0-0 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/tutorial_complete/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/tutorial_complete/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/tutorial_complete/jsonschema/1-0-0 new file mode 100644 index 00000000..600560c7 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/tutorial_complete/jsonschema/1-0-0 @@ -0,0 +1,13 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "tutorial_complete", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies the user's completion of your on-boarding process. Use this in a funnel with tutorial_begin to understand how many users complete the tutorial.", + "type": "object", + "properties": {}, + "additionalProperties": false +} From 1dd994ea64313c2659a5598d299b7c1b47cf43fe Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:34:30 +0200 Subject: [PATCH 13/15] Add com.google.tag-manager.server-side/unlock_achievement/jsonschema/1-0-0 (close #1384) --- .../unlock_achievement/jsonschema/1-0-0 | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/unlock_achievement/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/unlock_achievement/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/unlock_achievement/jsonschema/1-0-0 new file mode 100644 index 00000000..6d34d3eb --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/unlock_achievement/jsonschema/1-0-0 @@ -0,0 +1,20 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "unlock_achievement", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "Log this event when the user has unlocked an achievement. This event can help you understand how users are experiencing your game.", + "type": "object", + "properties": { + "achievement_id": { + "description": "The id of the achievement that was unlocked.", + "type": ["string", "null"], + "maxLength": 500 + } + }, + "required": ["achievement_id"], + "additionalProperties": false +} From f09fcea7a6d743a75db63ca7cc4d0e70ac1e5af3 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:35:01 +0200 Subject: [PATCH 14/15] Add com.google.tag-manager.server-side/view_cart/jsonschema/1-0-0 (close #1385) --- .../view_cart/jsonschema/1-0-0 | 133 ++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/view_cart/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/view_cart/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/view_cart/jsonschema/1-0-0 new file mode 100644 index 00000000..291ba05a --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/view_cart/jsonschema/1-0-0 @@ -0,0 +1,133 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "view_cart", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies that a user viewed their cart.", + "type": "object", + "properties": { + "currency": { + "description": "Currency of the items associated with the event, in 3-letter ISO 4217 format. Is required, if value is set.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "value": { + "description": "The monetary value of the event.", + "type": ["number", "null"], + "minimum": 0 + }, + "items": { + "description": "The items for the event.", + "type": "array", + "items": { + "description": "An item object.", + "type": "object", + "properties": { + "item_id": { + "description": "The ID of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "item_name": { + "description": "The name of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "affiliation": { + "description": "A product affiliation to designate a supplying company or brick and mortar store location", + "type": ["string", "null"], + "maxLength": 4096 + }, + "coupon": { + "description": "The coupon name or code associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "currency": { + "description": "The currency, in 3-letter ISO 4217 format.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "discount": { + "description": "The monetary discount value associated with the item.", + "type": ["number", "null"], + "minimum": 0 + }, + "index": { + "description": "The index of the item in a list.", + "type": ["integer", "null"], + "minimum": 0 + }, + "item_brand": { + "description": "The brand of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category": { + "description": "The category of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category2": { + "description": "The second category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category3": { + "description": "The third category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category4": { + "description": "The fourth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category5": { + "description": "The fifth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_id": { + "description": "The ID of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_name": { + "description": "The name of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_variant": { + "description": "The item variant or unique code or description for additional item details or options.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "location_id": { + "description": "The location associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "price": { + "description": "The monetary price of the item, in units of the specified currency parameter.", + "type": ["number", "null"], + "minimum": 0 + }, + "quantity": { + "description": "Item quantity.", + "type": ["integer", "null"], + "minimum": 0 + } + }, + "additionalProperties": false + } + } + }, + "required": ["items"], + "additionalProperties": false +} From 8569f266b2f4340eacd1f6e09ebace690b2bcc9c Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 13 Feb 2024 08:35:38 +0200 Subject: [PATCH 15/15] Add com.google.tag-manager.server-side/view_promotion/jsonschema/1-0-0 (close #1386) --- .../view_promotion/jsonschema/1-0-0 | 142 ++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 schemas/com.google.tag-manager.server-side/view_promotion/jsonschema/1-0-0 diff --git a/schemas/com.google.tag-manager.server-side/view_promotion/jsonschema/1-0-0 b/schemas/com.google.tag-manager.server-side/view_promotion/jsonschema/1-0-0 new file mode 100644 index 00000000..eea158e3 --- /dev/null +++ b/schemas/com.google.tag-manager.server-side/view_promotion/jsonschema/1-0-0 @@ -0,0 +1,142 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.google.tag-manager.server-side", + "name": "view_promotion", + "version": "1-0-0", + "format": "jsonschema" + }, + "description": "This event signifies an promotion was viewed from a list.", + "type": "object", + "properties": { + "creative_name": { + "description": "The name of the promotional creative. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "creative_slot": { + "description": "The name of the promotional creative slot associated with the event. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "promotion_id": { + "description": "The ID of the promotion associated with the event. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "promotion_name": { + "description": "The name of the promotion associated with the event. Ignored if set at the item-level.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "items": { + "description": "The items for the event.", + "type": "array", + "items": { + "description": "An item object.", + "type": "object", + "properties": { + "item_id": { + "description": "The ID of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "item_name": { + "description": "The name of the item.", + "type": ["string", "null"], + "maxLength": 500 + }, + "affiliation": { + "description": "A product affiliation to designate a supplying company or brick and mortar store location", + "type": ["string", "null"], + "maxLength": 4096 + }, + "coupon": { + "description": "The coupon name or code associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "currency": { + "description": "The currency, in 3-letter ISO 4217 format.", + "type": ["string", "null"], + "minLength": 3, + "maxLength": 3 + }, + "discount": { + "description": "The monetary discount value associated with the item.", + "type": ["number", "null"], + "minimum": 0 + }, + "index": { + "description": "The index of the item in a list.", + "type": ["integer", "null"], + "minimum": 0 + }, + "item_brand": { + "description": "The brand of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category": { + "description": "The category of the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category2": { + "description": "The second category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category3": { + "description": "The third category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category4": { + "description": "The fourth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_category5": { + "description": "The fifth category hierarchy or additional taxonomy for the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_id": { + "description": "The ID of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_list_name": { + "description": "The name of the list in which the item was presented to the user.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "item_variant": { + "description": "The item variant or unique code or description for additional item details or options.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "location_id": { + "description": "The location associated with the item.", + "type": ["string", "null"], + "maxLength": 4096 + }, + "price": { + "description": "The monetary price of the item, in units of the specified currency parameter.", + "type": ["number", "null"], + "minimum": 0 + }, + "quantity": { + "description": "Item quantity.", + "type": ["integer", "null"], + "minimum": 0 + } + }, + "additionalProperties": false + } + } + }, + "required": ["items"], + "additionalProperties": false +}