Better JSON schema validation error messages
[ouya-game-data.git] / ouya-game.schema.json
index 2e33ede..fcd566d 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": {