From f8b42c63a254545c0076a5ff7610b87667a3b41d Mon Sep 17 00:00:00 2001 From: Alex Dean Date: Sat, 6 May 2017 19:36:43 +0100 Subject: [PATCH] Add com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0 (close #577) - WIP --- .../cloud_capabilities/jsonschema/1-0-0 | 106 ++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 schemas/com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0 diff --git a/schemas/com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0 b/schemas/com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0 new file mode 100644 index 000000000..056cf5791 --- /dev/null +++ b/schemas/com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0 @@ -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 +} \ No newline at end of file