Skip to content

Commit

Permalink
Add com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0 (close
Browse files Browse the repository at this point in the history
#577) - WIP
  • Loading branch information
alexanderdean committed May 6, 2017
1 parent 67615bf commit 6804e96
Showing 1 changed file with 90 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for the 23 capabilities available from Wurfl Cloud, https://www.scientiamobile.com/wurflCapability",
"self": {
"vendor": "com.scientiamobile.wurfl",
"name": "cloud_capabilities",
"version": "1-0-0",
"format": "jsonschema"
},
"type": "object",
"properties": {
"advertised_app_name": {
"type": ["string", "null"],
"maxLength": 255
},
"advertised_browser": {
"type": ["string", "null"],
"maxLength": 255
},
"advertised_browser_version": {
"type": ["string", "null"],
"maxLength": 255
},
"advertised_device_os": {
"type": ["string", "null"],
"maxLength": 255
},
"advertised_device_os_version": {
"type": ["string", "null"],
"maxLength": 255
},
"complete_device_name": {
"type": ["string", "null"],
"maxLength": 255
},
"device_name": {
"type": ["string", "null"],
"maxLength": 255
},
"form_factor": {
"enum": ["Desktop", "Tablet", "Smartphone", "Feature Phone", "Smart-TV", "Robot", "Other non-Mobile", "Other Mobile", null]
},
"is_android": {
"type": ["boolean", "null"]
},
"is_app": {
"type": ["boolean", "null"]
},
"is_app_webview": {
"type": ["boolean", "null"]
},
"is_full_desktop": {
"type": ["boolean", "null"]
},
"is_html_preferred": {
"type": ["boolean", "null"]
},
"is_ios": {
"type": ["boolean", "null"]
},
"is_largescreen": {
"type": ["boolean", "null"]
},
"is_mobile": {
"type": ["boolean", "null"]
},
"is_phone": {
"type": ["boolean", "null"]
},
"is_robot": {
"type": ["boolean", "null"]
},
"is_smartphone": {
"type": ["boolean", "null"]
},
"is_touchscreen": {
"type": ["boolean", "null"]
},
"is_windows_phone": {
"type": ["boolean", "null"]
},
"is_wml_preferred": {
"type": ["boolean", "null"]
},
"is_xhtmlmp_preferred": {
"type": ["boolean", "null"]
}
},
"additionalProperties": true
}

0 comments on commit 6804e96

Please sign in to comment.