diff --git a/schema/config-schema.json b/schema/config-schema.json index a1828fc9..87e46dfe 100644 --- a/schema/config-schema.json +++ b/schema/config-schema.json @@ -192,6 +192,11 @@ "items": { "id": "https://opencontainers.org/schema/bundle/linux/rlimits/0", "type": "object", + "required": [ + "type", + "soft", + "hard" + ], "properties": { "hard": { "id": "https://opencontainers.org/schema/bundle/linux/rlimits/0/hard", @@ -225,7 +230,6 @@ "ociVersion", "platform", "process", - "root", - "mounts" + "root" ] }