Better JSON schema validation error messages
[ouya-game-data.git] / ouya-game.schema.json
index cb5c1f3faf6910e2ca508b552f55543f2dfc3cbe..fcd566d79ece7b7056541d45400ea788c5e77319 100644 (file)
 
                     "versionCode": {
                         "description": "APK-internal version code. Run \"aapt dump badging file.apk\", field \"versionCode\"",
 
                     "versionCode": {
                         "description": "APK-internal version code. Run \"aapt dump badging file.apk\", field \"versionCode\"",
-                        "type": ["string", "null"]
+                        "type": ["number", "null"]
                     },
 
                     "uuid": {
                     },
 
                     "uuid": {
 
                     "md5sum": {
                         "description": "MD5 hash of the .apk file contents",
 
                     "md5sum": {
                         "description": "MD5 hash of the .apk file contents",
-                        "type": "string"
+                        "type": ["string", "null"],
+                        "default": null
                     },
 
                     "publicSize": {
                     },
 
                     "publicSize": {
 
                     "description": {
                         "description": "Explanation of the features you will buy",
 
                     "description": {
                         "description": "Explanation of the features you will buy",
-                        "type": "string"
+                        "type": ["string", "null"],
+                        "default": null
                     },
 
                     "localPrice": {
                     },
 
                     "localPrice": {