Merge pull request #528 from hmeng-19/add_missing_type
Add missing `"type": "object"`
This commit is contained in:
commit
8095e4eb4e
|
@ -69,6 +69,7 @@
|
||||||
},
|
},
|
||||||
"pids": {
|
"pids": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/pids",
|
"id": "https://opencontainers.org/schema/bundle/linux/resources/pids",
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"limit": {
|
"limit": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/pids/limit",
|
"id": "https://opencontainers.org/schema/bundle/linux/resources/pids/limit",
|
||||||
|
@ -157,6 +158,7 @@
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu",
|
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu",
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"cpus": {
|
"cpus": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
|
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
|
||||||
|
@ -283,6 +285,7 @@
|
||||||
},
|
},
|
||||||
"seccomp": {
|
"seccomp": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/seccomp",
|
"id": "https://opencontainers.org/schema/bundle/linux/seccomp",
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"defaultAction": {
|
"defaultAction": {
|
||||||
"id": "https://opencontainers.org/schema/bundle/linux/seccomp/defaultAction",
|
"id": "https://opencontainers.org/schema/bundle/linux/seccomp/defaultAction",
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"SyscallArg": {
|
"SyscallArg": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"index": {
|
"index": {
|
||||||
"$ref": "defs.json#/definitions/uint32"
|
"$ref": "defs.json#/definitions/uint32"
|
||||||
|
@ -60,6 +61,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Syscall": {
|
"Syscall": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -103,6 +105,7 @@
|
||||||
"pattern": "^[cbup]$"
|
"pattern": "^[cbup]$"
|
||||||
},
|
},
|
||||||
"Device": {
|
"Device": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "#/definitions/FileType"
|
"$ref": "#/definitions/FileType"
|
||||||
|
@ -146,6 +149,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"blockIODevice": {
|
"blockIODevice": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"major": {
|
"major": {
|
||||||
"$ref": "#/definitions/Major"
|
"$ref": "#/definitions/Major"
|
||||||
|
@ -166,6 +170,7 @@
|
||||||
"$ref": "#/definitions/blockIODevice"
|
"$ref": "#/definitions/blockIODevice"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"weight": {
|
"weight": {
|
||||||
"$ref": "#/definitions/blkioWeightPointer"
|
"$ref": "#/definitions/blkioWeightPointer"
|
||||||
|
@ -193,6 +198,7 @@
|
||||||
"$ref": "#/definitions/blockIODevice"
|
"$ref": "#/definitions/blockIODevice"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"rate": {
|
"rate": {
|
||||||
"$ref": "defs.json#/definitions/uint64Pointer"
|
"$ref": "defs.json#/definitions/uint64Pointer"
|
||||||
|
@ -212,6 +218,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"NetworkInterfacePriority": {
|
"NetworkInterfacePriority": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -234,6 +241,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"NamespaceReference": {
|
"NamespaceReference": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "#/definitions/NamespaceType"
|
"$ref": "#/definitions/NamespaceType"
|
||||||
|
|
|
@ -104,6 +104,7 @@
|
||||||
"$ref": "#/definitions/ArrayOfStrings"
|
"$ref": "#/definitions/ArrayOfStrings"
|
||||||
},
|
},
|
||||||
"Hook": {
|
"Hook": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"path": {
|
"path": {
|
||||||
"$ref": "#/definitions/FilePath"
|
"$ref": "#/definitions/FilePath"
|
||||||
|
@ -123,6 +124,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"IDMapping": {
|
"IDMapping": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"hostID": {
|
"hostID": {
|
||||||
"$ref": "#/definitions/uint32"
|
"$ref": "#/definitions/uint32"
|
||||||
|
@ -136,6 +138,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Mount": {
|
"Mount": {
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"source": {
|
"source": {
|
||||||
"$ref": "#/definitions/FilePath"
|
"$ref": "#/definitions/FilePath"
|
||||||
|
|
Loading…
Reference in New Issue