schema: fix items based on latest spec
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
parent
6ff6acd35b
commit
5076439d49
|
@ -245,6 +245,10 @@
|
|||
"id": "https://opencontainers.org/schema/bundle/linux/resources/memory/kernel",
|
||||
"$ref": "defs.json#/definitions/int64Pointer"
|
||||
},
|
||||
"kernelTCP": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/memory/kernelTCP",
|
||||
"$ref": "defs.json#/definitions/int64Pointer"
|
||||
},
|
||||
"limit": {
|
||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/memory/limit",
|
||||
"$ref": "defs.json#/definitions/int64Pointer"
|
||||
|
|
|
@ -96,9 +96,6 @@
|
|||
"minimum": 0,
|
||||
"maximum": 512
|
||||
},
|
||||
"FilePermissions": {
|
||||
"type": "string"
|
||||
},
|
||||
"FileType": {
|
||||
"description": "Type of a block or special character device",
|
||||
"type": "string",
|
||||
|
@ -116,9 +113,6 @@
|
|||
"type": {
|
||||
"$ref": "#/definitions/FileType"
|
||||
},
|
||||
"permissions": {
|
||||
"$ref": "#/definitions/FilePermissions"
|
||||
},
|
||||
"path": {
|
||||
"$ref": "defs.json#/definitions/FilePath"
|
||||
},
|
||||
|
@ -132,10 +126,24 @@
|
|||
"$ref": "#/definitions/Minor"
|
||||
},
|
||||
"uid": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "defs.json#/definitions/UID"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"gid": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "defs.json#/definitions/GID"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue