X-Git-Url: https://git.cweiske.de/ouya-game-data.git/blobdiff_plain/991acab1ce68405fb676d52aee71dee4c6624c9f..d4f40e454399580d8993c3ed383e7f751bd30045:/ouya-game.schema.json diff --git a/ouya-game.schema.json b/ouya-game.schema.json index 2a69ff5..fcd566d 100644 --- a/ouya-game.schema.json +++ b/ouya-game.schema.json @@ -102,7 +102,7 @@ "versionCode": { "description": "APK-internal version code. Run \"aapt dump badging file.apk\", field \"versionCode\"", - "type": ["string", "null"] + "type": ["number", "null"] }, "uuid": { @@ -135,7 +135,8 @@ "md5sum": { "description": "MD5 hash of the .apk file contents", - "type": "string" + "type": ["string", "null"], + "default": null }, "publicSize": { @@ -173,8 +174,9 @@ "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": { @@ -230,7 +232,8 @@ "uuid": { "description": "Unique ID for the developer", - "type": "string" + "type": ["string", "null"], + "default": null }, "name": { @@ -240,14 +243,14 @@ "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 }, @@ -272,29 +275,33 @@ "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": { @@ -305,20 +312,23 @@ "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 } } }, @@ -362,7 +372,8 @@ "description": { "description": "Explanation of the features you will buy", - "type": "string" + "type": ["string", "null"], + "default": null }, "localPrice": {