diff --git a/schemas/devContainer.base.schema.json b/schemas/devContainer.base.schema.json index c9183827..6d1cc5ca 100644 --- a/schemas/devContainer.base.schema.json +++ b/schemas/devContainer.base.schema.json @@ -413,16 +413,14 @@ "gpu": { "oneOf": [ { - "type": [ - "boolean", - "string" - ], - "enum": [ - true, - false, - "optional" - ], - "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements." + "type": "boolean", + "const" : true, + "description": "Indicates a GPU is required." + }, + { + "type": "string", + "const": "optional", + "description": "\"optional\" indicates that a GPU is optional." }, { "type": "object", @@ -723,4 +721,4 @@ } ], "unevaluatedProperties": false -} \ No newline at end of file +}