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 9, 2017
1 parent 67615bf commit f8b42c6
Showing 1 changed file with 106 additions and 0 deletions.
106 changes: 106 additions & 0 deletions schemas/com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"$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://docs.scientiamobile.com/documentation/cloud/wurfl-cloud-capabilities",
"self": {
"vendor": "com.scientiamobile.wurfl",
"name": "cloud_capabilities",
"version": "1-0-0",
"format": "jsonschema"
},
"type": "object",
"properties": {
"complete_device_name": {
"type": ["string", "null"],
"maxLength": 255
},
"is_mobile": {
"type": ["boolean", "null"],
},
"form_factor": {
"type": ["string", "null"],
"maxLength": 255
},
"brand_name": {
"type": ["string", "null"],
"maxLength": 255
},
"model_name": {
"type": ["string", "null"],
"maxLength": 255
},
"marketing_name": {
"type": ["string", "null"],
"maxLength": 255
},
"manufacturer_name": {
"type": ["string", "null"],
"maxLength": 255
},
"resolution_width": {
"type": ["integer", "null"],
"minimum": 0,
"maximum": 9223372036854775807
},
"resolution_height": {
"type": ["integer", "null"],
"minimum": 0,
"maximum": 9223372036854775807
},
"max_image_width": {
"type": ["integer", "null"],
"minimum": 0,
"maximum": 9223372036854775807
},
"max_image_height": {
"type": ["integer", "null"],
"minimum": 0,
"maximum": 9223372036854775807
},
"pointing_method": {
"type": ["string", "null"],
"maxLength": 255
},
"physical_screen_width": {
"type": ["integer", "null"],
"minimum": 0,
"maximum": 9223372036854775807
},
"physical_screen_height": {
"type": ["integer", "null"],
"minimum": 0,
"maximum": 9223372036854775807
},
"is_full_desktop": {
"type": ["boolean", "null"]
},
"is_robot": {
"type": ["boolean", "null"]
},
"is_tablet": {
"type": ["boolean", "null"]
},
"is_smartphone": {
"type": ["boolean", "null"]
},
"is_smarttv": {
"type": ["boolean", "null"]
},
"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
}
},
"additionalProperties": true
}

0 comments on commit f8b42c6

Please sign in to comment.