-
Notifications
You must be signed in to change notification settings - Fork 114
/
1-0-0
46 lines (45 loc) · 849 Bytes
/
1-0-0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for an ad click event",
"self": {
"vendor": "com.snowplowanalytics.snowplow",
"name": "ad_click",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"clickId": {
"type": "string"
},
"impressionId": {
"type": "string"
},
"zoneId": {
"type": "string"
},
"bannerId": {
"type": "string"
},
"campaignId": {
"type": "string"
},
"advertiserId": {
"type": "string"
},
"targetUrl": {
"type": "string",
"minLength": 1
},
"costModel": {
"enum": ["cpa", "cpc", "cpm"]
},
"cost": {
"type": "number",
"minimum": 0
}
},
"required": ["targetUrl"],
"dependencies": {"cost": ["costModel"]},
"additionalProperties": false
}