schema: fix invalid types

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
Ma Shimiao 2017-02-08 16:32:34 +08:00
parent 2e2d568b83
commit 4100020dfc
4 changed files with 8 additions and 8 deletions

View File

@ -121,11 +121,11 @@
"properties": {
"cpus": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
"$ref": "string"
"type": "string"
},
"mems": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems",
"$ref": "string"
"type": "string"
},
"period": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period",
@ -223,7 +223,7 @@
},
"cgroupsPath": {
"id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath",
"$ref": "string"
"type": "string"
},
"rootfsPropagation": {
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",

View File

@ -95,11 +95,11 @@
"properties": {
"height": {
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/height",
"$ref": "defs.json#/definitions/unit64"
"$ref": "defs.json#/definitions/uint64"
},
"width": {
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/width",
"$ref": "defs.json#/definitions/unit64"
"$ref": "defs.json#/definitions/uint64"
}
}
},

View File

@ -194,7 +194,7 @@
"type": "boolean"
},
"type": {
"$ref": "string"
"type": "string"
},
"major": {
"$ref": "#/definitions/Major"
@ -203,7 +203,7 @@
"$ref": "#/definitions/Minor"
},
"access": {
"$ref": "string"
"type": "string"
}
},
"required": [

View File

@ -91,7 +91,7 @@
"$ref": "#/definitions/Env"
},
"timeout": {
"$ref": "#/definitions/int"
"type": "integer"
}
},
"required": [