diff --git a/CHANGELOG.md b/CHANGELOG.md index a37acaf..01bb487 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ What's changed since v2.9.0: [#1209](https://github.com/microsoft/PSRule-vscode/pull/1209) [#1261](https://github.com/microsoft/PSRule-vscode/pull/1261) [#1314](https://github.com/microsoft/PSRule-vscode/pull/1314) + [#1330](https://github.com/microsoft/PSRule-vscode/pull/1330) - Bump vscode engine to v1.85.0. [#1303](https://github.com/microsoft/PSRule-vscode/pull/1303) - Bump typescript to v5.3.3. diff --git a/schemas/PSRule-lock.schema.json b/schemas/PSRule-lock.schema.json index 4799ed6..543b7f4 100644 --- a/schemas/PSRule-lock.schema.json +++ b/schemas/PSRule-lock.schema.json @@ -4,15 +4,25 @@ "title": "PSRule lock", "description": "A schema for the PSRule lock file.", "properties": { + "version": { + "type": "integer", + "title": "Version", + "description": "The version of the lock file schema.", + "enum": [ + 1 + ] + }, "modules": { "type": "object", "title": "Modules", + "description": "A list of specific module versions for PSRule to restore.", "additionalProperties": { "type": "object", "properties": { "version": { "type": "string", - "title": "Version" + "title": "Module version", + "description": "The version of the module to use." } }, "required": [ @@ -23,6 +33,7 @@ } }, "required": [ + "version", "modules" ], "additionalProperties": false