-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0 (close
#577) - WIP
- Loading branch information
1 parent
67615bf
commit f8b42c6
Showing
1 changed file
with
106 additions
and
0 deletions.
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
schemas/com.scientiamobile.wurfl/cloud_capabilities/jsonschema/1-0-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |