Remove "large" from scripts
[ouya-game-data.git] / ouya-game.schema.json
index 2a69ff5a5bee57e5eb9f409c78b461708bbede43..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": {
 
                 "supportEmail": {
                     "description": "E-Mail address for support questions",
-                    "type": "string",
+                    "type": ["string", "null"],
                     "format": "email",
                     "default": null
                 },
 
                 "supportPhone": {
                     "description": "Telephone number",
-                    "type": "string",
+                    "type": ["string", "null"],
                     "default": null
                 },
 
 
         "website": {
             "description": "Game website",
-            "type": "string",
+            "type": ["string", "null"],
             "format": "url"
         },
 
         "firstPublishedAt": {
             "description": "When the game has first been published to the world",
-            "type": "string",
-            "format": "date|date-time"
+            "type": ["string", "null"],
+            "format": "date|date-time",
+            "default": null
         },
 
         "inAppPurchases": {
             "description": "If you can buy things in the game",
-            "type": "boolean"
+            "type": "boolean",
+            "default": false
         },
 
         "overview": {
             "description": "FIXME",
-            "type": "string"
+            "type": ["string", "null"],
+            "default": null
         },
 
         "premium": {
             "description": "FIXME",
-            "type": "boolean"
+            "type": "boolean",
+            "default": false
         },
 
         "rating": {
                 "likeCount": {
                     "description": "Number of likes this game has",
                     "type": "number",
-                    "minimum": 0
+                    "minimum": 0,
+                    "default": 0
                 },
 
                 "average": {
                     "description": "Average rating for this game",
                     "type": "number",
                     "minimum": 0,
-                    "maximum": 5
+                    "maximum": 5,
+                    "default": 0
                 },
 
                 "count": {
                     "description": "Number of ratings",
                     "type": "number",
-                    "minimum": 0
+                    "minimum": 0,
+                    "default": 0
                 }
             }
         },
 
                     "description": {
                         "description": "Explanation of the features you will buy",
-                        "type": "string"
+                        "type": ["string", "null"],
+                        "default": null
                     },
 
                     "localPrice": {