Merge "Expose nullable fields properties"

This commit is contained in:
Jenkins 2014-12-03 09:25:46 +00:00 committed by Gerrit Code Review
commit 219abd7507
1 changed files with 3 additions and 3 deletions

View File

@ -330,11 +330,11 @@ _TASK_SCHEMA = {
}, },
"input": { "input": {
"description": _("The parameters required by task, JSON blob"), "description": _("The parameters required by task, JSON blob"),
"type": "object" "type": ["null", "object"],
}, },
"result": { "result": {
"description": _("The result of current task, JSON blob"), "description": _("The result of current task, JSON blob"),
"type": "object", "type": ["null", "object"],
}, },
"owner": { "owner": {
"description": _("An identifier for the owner of this task"), "description": _("An identifier for the owner of this task"),
@ -348,7 +348,7 @@ _TASK_SCHEMA = {
"expires_at": { "expires_at": {
"description": _("Datetime when this resource would be" "description": _("Datetime when this resource would be"
" subject to removal"), " subject to removal"),
"type": "string" "type": ["null", "string"]
}, },
"created_at": { "created_at": {
"description": _("Datetime when this resource was created"), "description": _("Datetime when this resource was created"),