-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add com.snowplowanalytics.snowplow.ecommerce/snowplow_ecommerce_actio…
…n/jsonschema/1-0-2 (close #1298)
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
schemas/com.snowplowanalytics.snowplow.ecommerce/snowplow_ecommerce_action/jsonschema/1-0-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |