Make game data converter more resilient. Do not require downloads file and fall back...
[ouya-game-data.git] / ouya-game.schema.json
index 2e33ede80f379f0a5df3dd504ac1aef6d614a430..fcd566d79ece7b7056541d45400ea788c5e77319 100644 (file)
 
                     "versionCode": {
                         "description": "APK-internal version code. Run \"aapt dump badging file.apk\", field \"versionCode\"",
-                        "type": ["string", "null"]
+                        "type": ["number", "null"]
                     },
 
                     "uuid": {
 
                     "md5sum": {
                         "description": "MD5 hash of the .apk file contents",
-                        "type": "string"
+                        "type": ["string", "null"],
+                        "default": null
                     },
 
                     "publicSize": {
 
                 "video": {
                     "description": "Video for the store details page. Vimeo and Youtube URLs supported",
-                    "type": "string",
-                    "format": "url"
+                    "type": ["string", "null"],
+                    "format": "url",
+                    "default": null
                 },
 
                 "screenshots": {
 
                 "uuid": {
                     "description": "Unique ID for the developer",
-                    "type": "string"
+                    "type": ["string", "null"],
+                    "default": null
                 },
 
                 "name": {
 
                     "description": {
                         "description": "Explanation of the features you will buy",
-                        "type": "string"
+                        "type": ["string", "null"],
+                        "default": null
                     },
 
                     "localPrice": {