Skip to content

Commit 8227623

Browse files
committed
Add com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0 (close #577) - WIP
1 parent 67615bf commit 8227623

File tree

1 file changed

+91
-0
lines changed
  • schemas/com.scientiamobile.wurfl/cloud_capabilities/jsonschema

1 file changed

+91
-0
lines changed
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
3+
"description": "Schema for the 23 capabilities available from Wurfl Cloud, https://www.scientiamobile.com/wurflCapability",
4+
"self": {
5+
"vendor": "com.scientiamobile.wurfl",
6+
"name": "cloud_capabilities",
7+
"version": "1-0-0",
8+
"format": "jsonschema"
9+
},
10+
"type": "object",
11+
"properties": {
12+
"advertised_app_name": {
13+
"type": ["string", "null"],
14+
"maxLength": 255
15+
},
16+
"advertised_browser": {
17+
"type": ["string", "null"],
18+
"maxLength": 255
19+
},
20+
"advertised_browser_version": {
21+
"type": ["string", "null"],
22+
"maxLength": 255
23+
},
24+
"advertised_device_os": {
25+
"type": ["string", "null"],
26+
"maxLength": 255
27+
},
28+
"advertised_device_os_version": {
29+
"type": ["string", "null"],
30+
"maxLength": 255
31+
},
32+
"complete_device_name": {
33+
"type": ["string", "null"],
34+
"maxLength": 255
35+
},
36+
"device_name": {
37+
"type": ["string", "null"],
38+
"maxLength": 255
39+
},
40+
"form_factor": {
41+
"enum": ["Desktop", "Tablet", "Smartphone", "Feature Phone", "Smart-TV", "Robot", "Other non-Mobile", "Other Mobile", null],
42+
"maxLength": 255
43+
},
44+
"is_android": {
45+
"type": ["boolean", "null"]
46+
},
47+
"is_app": {
48+
"type": ["boolean", "null"]
49+
},
50+
"is_app_webview": {
51+
"type": ["boolean", "null"]
52+
},
53+
"is_full_desktop": {
54+
"type": ["boolean", "null"]
55+
},
56+
"is_html_preferred": {
57+
"type": ["boolean", "null"]
58+
},
59+
"is_ios": {
60+
"type": ["boolean", "null"]
61+
},
62+
"is_largescreen": {
63+
"type": ["boolean", "null"]
64+
},
65+
"is_mobile": {
66+
"type": ["boolean", "null"]
67+
},
68+
"is_phone": {
69+
"type": ["boolean", "null"]
70+
},
71+
"is_robot": {
72+
"type": ["boolean", "null"]
73+
},
74+
"is_smartphone": {
75+
"type": ["boolean", "null"]
76+
},
77+
"is_touchscreen": {
78+
"type": ["boolean", "null"]
79+
},
80+
"is_windows_phone": {
81+
"type": ["boolean", "null"]
82+
},
83+
"is_wml_preferred": {
84+
"type": ["boolean", "null"]
85+
},
86+
"is_xhtmlmp_preferred": {
87+
"type": ["boolean", "null"]
88+
}
89+
},
90+
"additionalProperties": true
91+
}

0 commit comments

Comments
 (0)