Skip to content

Commit

Permalink
Add io.snowplow.ecomm/view_item/jsonschema/1-0-0
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpig committed Jul 1, 2024
1 parent b786006 commit b4559d4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions schemas/io.snowplow.ecomm/view_item/jsonschema/1-0-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"description": "Event occurs when an item (product or bundle) is viewed.",
"properties": {
"item_id": {
"type": "string",
"description": "ID reference to the item (as listed in item) that was viewed. This could be a product or bundle entity.",
"maxLength": 255
},
"item_type": {
"type": "string",
"enum": ["product", "bundle"],
"description": "The general type of the item, currently supports the two types of a singular product and a bundle of products.",
"maxLength": 255
}
},
"additionalProperties": false,
"type": "object",
"self": {
"vendor": "io.snowplow.ecomm",
"name": "view_item",
"format": "jsonschema",
"version": "1-0-0"
},
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"required": [
"item_id",
"item_type"
]
}

0 comments on commit b4559d4

Please sign in to comment.