git.cweiske.de
/
ouya-game-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
991acab
)
Make more fields nullable
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 12 Nov 2019 06:40:29 +0000
(07:40 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 12 Nov 2019 06:40:29 +0000
(07:40 +0100)
ouya-game.schema.json
patch
|
blob
|
history
diff --git
a/ouya-game.schema.json
b/ouya-game.schema.json
index 2a69ff5a5bee57e5eb9f409c78b461708bbede43..2e33ede80f379f0a5df3dd504ac1aef6d614a430 100644
(file)
--- a/
ouya-game.schema.json
+++ b/
ouya-game.schema.json
@@
-240,14
+240,14
@@
"supportEmail": {
"description": "E-Mail address for support questions",
"supportEmail": {
"description": "E-Mail address for support questions",
- "type":
"string"
,
+ "type":
["string", "null"]
,
"format": "email",
"default": null
},
"supportPhone": {
"description": "Telephone number",
"format": "email",
"default": null
},
"supportPhone": {
"description": "Telephone number",
- "type":
"string"
,
+ "type":
["string", "null"]
,
"default": null
},
"default": null
},
@@
-272,29
+272,33
@@
"website": {
"description": "Game website",
"website": {
"description": "Game website",
- "type":
"string"
,
+ "type":
["string", "null"]
,
"format": "url"
},
"firstPublishedAt": {
"description": "When the game has first been published to the world",
"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",
},
"inAppPurchases": {
"description": "If you can buy things in the game",
- "type": "boolean"
+ "type": "boolean",
+ "default": false
},
"overview": {
"description": "FIXME",
},
"overview": {
"description": "FIXME",
- "type": "string"
+ "type": ["string", "null"],
+ "default": null
},
"premium": {
"description": "FIXME",
},
"premium": {
"description": "FIXME",
- "type": "boolean"
+ "type": "boolean",
+ "default": false
},
"rating": {
},
"rating": {
@@
-305,20
+309,23
@@
"likeCount": {
"description": "Number of likes this game has",
"type": "number",
"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,
},
"average": {
"description": "Average rating for this game",
"type": "number",
"minimum": 0,
- "maximum": 5
+ "maximum": 5,
+ "default": 0
},
"count": {
"description": "Number of ratings",
"type": "number",
},
"count": {
"description": "Number of ratings",
"type": "number",
- "minimum": 0
+ "minimum": 0,
+ "default": 0
}
}
},
}
}
},