-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1256 from snowplow/release/r140
Release R140
- Loading branch information
Showing
5 changed files
with
224 additions
and
0 deletions.
There are no files selected for viewing
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
34 changes: 34 additions & 0 deletions
34
schemas/com.android.installreferrer.api/referrer_details/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,34 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Represents an install referrer details for Android apps installed from the Play Store (see https://developer.android.com/reference/com/android/installreferrer/api/ReferrerDetails)", | ||
"self": { | ||
"vendor": "com.android.installreferrer.api", | ||
"name": "referrer_details", | ||
"format": "jsonschema", | ||
"version": "1-0-0" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"installReferrer": { | ||
"type": ["string", "null"], | ||
"maxLength": 4096, | ||
"description": "The referrer URL of the installed package" | ||
}, | ||
"referrerClickTimestamp": { | ||
"type": ["string", "null"], | ||
"format": "date-time", | ||
"description": "The timestamp when referrer click happens" | ||
}, | ||
"installBeginTimestamp": { | ||
"type": ["string", "null"], | ||
"format": "date-time", | ||
"description": "The timestamp when installation begins" | ||
}, | ||
"googlePlayInstantParam": { | ||
"type": "boolean", | ||
"description": "Boolean indicating if the user has interacted with the app's instant experience in the past 7 days" | ||
} | ||
}, | ||
"required": ["googlePlayInstantParam"], | ||
"additionalProperties": false | ||
} |
62 changes: 62 additions & 0 deletions
62
schemas/com.snowplowanalytics.snowplow.ecommerce/promotion/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,62 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Schema for a promotion entity in Ecommerce", | ||
"self": { | ||
"vendor": "com.snowplowanalytics.snowplow.ecommerce", | ||
"name": "promotion", | ||
"format": "jsonschema", | ||
"version": "1-0-0" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"description" : "The ID of the promotion.", | ||
"type": "string", | ||
"maxLength": 4096 | ||
}, | ||
"name": { | ||
"description" : "The name of the promotion.", | ||
"type": [ "string", "null" ], | ||
"maxLength": 256 | ||
}, | ||
"product_ids" : { | ||
"description" : "Array of SKUs or product IDs showcased in the promotion.", | ||
"type" : [ "array", "null" ], | ||
"items" : { | ||
"type" : "string", | ||
"maxLength": 4096 | ||
} | ||
}, | ||
"position": { | ||
"description" : "The position the promotion was presented in a list of promotions E.g. banner, slider.", | ||
"type" : [ | ||
"integer", | ||
"null" | ||
], | ||
"minimum": 0, | ||
"maximum": 9999999 | ||
}, | ||
"creative_id": { | ||
"description" : "Identifier/Name/Url for the creative presented on the promotion.", | ||
"type" : [ | ||
"string", | ||
"null" | ||
], | ||
"maxLength": 4096 | ||
}, | ||
"type": { | ||
"description": "Type of the promotion delivery mechanism. E.g. popup, banner, intra-content", | ||
"type": [ "string", "null" ], | ||
"maxLength": 256 | ||
}, | ||
"slot": { | ||
"description": "The website slot in which the promotional content was added to. E.g. Identifier for slot sidebar-1, intra-content-2", | ||
"type": [ "string", "null" ], | ||
"maxLength": 256 | ||
} | ||
}, | ||
"required": [ | ||
"id" | ||
], | ||
"additionalProperties": false | ||
} |
40 changes: 40 additions & 0 deletions
40
schemas/com.snowplowanalytics.snowplow.ecommerce/snowplow_ecommerce_action/jsonschema/1-0-1
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,40 @@ | ||
{ | ||
"$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-1" | ||
}, | ||
"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" | ||
] | ||
}, | ||
"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 | ||
} |
81 changes: 81 additions & 0 deletions
81
schemas/com.snowplowanalytics.snowplow/browser_context/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,81 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Schema for browser contexts", | ||
"self": { | ||
"vendor": "com.snowplowanalytics.snowplow", | ||
"name": "browser_context", | ||
"format": "jsonschema", | ||
"version": "1-0-0" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"viewport": { | ||
"type": "string", | ||
"maxLength": 20, | ||
"description": "Viewport dimensions of the browser. Arrives in the form of WidthxHeight e.g. 1200x900." | ||
}, | ||
"documentSize": { | ||
"type": "string", | ||
"maxLength": 20, | ||
"description": "Document dimensions. Arrives in the form of WidthxHeight e.g. 1200x900" | ||
}, | ||
"resolution": { | ||
"type": "string", | ||
"maxLength": 20, | ||
"description": "Device native resolution. Arrives in the form of WidthxHeight e.g. 1200x900" | ||
}, | ||
"colorDepth": { | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 1000, | ||
"description": "The number of bits allocated to colors for a pixel in the output device, excluding the alpha channel." | ||
}, | ||
"devicePixelRatio": { | ||
"type": ["number", "null"], | ||
"minimum": 0, | ||
"maximum": 1000, | ||
"description": "Ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device." | ||
}, | ||
"cookiesEnabled": { | ||
"type": "boolean", | ||
"description": "Indicates whether cookies are enabled or not. More info and caveats at https://developer.mozilla.org/en-US/docs/Web/API/Navigator/cookieEnabled." | ||
}, | ||
"online": { | ||
"type": "boolean", | ||
"description": "Returns the online status of the browser. Important caveats are described in https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine." | ||
}, | ||
"browserLanguage": { | ||
"type": ["string", "null"], | ||
"maxLength": 20, | ||
"description": "The preferred language of the user, usually the language of the browser UI. RFC 5646 https://datatracker.ietf.org/doc/html/rfc5646." | ||
}, | ||
"documentLanguage": { | ||
"type": ["string", "null"], | ||
"maxLength": 20, | ||
"description": "The language of the HTML document. RFC 5646 https://datatracker.ietf.org/doc/html/rfc5646." | ||
}, | ||
"webdriver": { | ||
"type": ["boolean", "null"], | ||
"description": "Indicates whether the user agent is controlled by automation." | ||
}, | ||
"deviceMemory": { | ||
"type": ["integer", "null"], | ||
"minimum": 0, | ||
"maximum": 1000, | ||
"description": "Approximate amount of device memory in gigabytes." | ||
}, | ||
"hardwareConcurrency": { | ||
"type": ["integer", "null"], | ||
"minimum": 0, | ||
"maximum": 1000, | ||
"description": "Number of logical processors available to run threads on the user's computer." | ||
}, | ||
"tabId": { | ||
"type": ["string", "null"], | ||
"format": "uuid", | ||
"description": "An identifier for the client browser tab the event is sent from." | ||
} | ||
}, | ||
"required": ["viewport", "documentSize", "cookiesEnabled", "online", "colorDepth", "resolution"], | ||
"additionalProperties": false | ||
} |