-
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.google.tag-manager.server-side/add_shipping_info/jsonschema/1…
…-0-0 (close #1372)
- Loading branch information
Showing
1 changed file
with
143 additions
and
0 deletions.
There are no files selected for viewing
143 changes: 143 additions & 0 deletions
143
schemas/com.google.tag-manager.server-side/add_shipping_info/jsonschema/1-0-0
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,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 | ||
} |