Update schema and game meta: media.large and media.discover are the same. Drop "large".
[ouya-game-data.git] / ouya-game.schema.json
index 2e33ede80f379f0a5df3dd504ac1aef6d614a430..1309074bc5d7288c7e0e4ab0512660f69fa2cc07 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": {
         "media": {
             "type": "object",
             "required": [
-                "discover",
-                "large"
+                "discover"
             ],
             "additionalProperties": false,
             "properties": {
                 "discover": {
-                    "description": "Image for the OUYA discover store. FIXME: Size",
-                    "type": "string",
-                    "format": "url"
-                },
-
-                "large": {
-                    "description": "Large game cover image for the store details page.",
+                    "description": "Main game image. Used in the OUYA discover store. Size 732x412",
                     "type": "string",
                     "format": "url"
                 },
 
                 "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": {