Skip to content

Commit

Permalink
Add com.snowplowanalytics.snowplow.ecommerce/snowplow_ecommerce_actio…
Browse files Browse the repository at this point in the history
…n/jsonschema/1-0-2 (close #1298)
  • Loading branch information
igneel64 committed Jun 1, 2023
1 parent f2142ba commit dfc1c59
Showing 1 changed file with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for an Ecommerce action",
"self": {
"vendor": "com.snowplowanalytics.snowplow.ecommerce",
"name": "snowplow_ecommerce_action",
"format": "jsonschema",
"version": "1-0-2"
},
"type": "object",
"properties": {
"type": {
"description": "Standard ecommerce actions.",
"enum": [
"add_to_cart",
"remove_from_cart",
"product_view",
"list_click",
"list_view",
"promo_click",
"promo_view",
"checkout_step",
"transaction",
"refund",
"trns_error"
]
},
"name": {
"description": "The name of the list presented to the user E.g. product list, search results, shop the look, frequently bought with.",
"type": [
"string",
"null"
],
"maxLength": 128
}
},
"required": [
"type"
],
"additionalProperties": false
}

0 comments on commit dfc1c59

Please sign in to comment.