PSRule/schemas/PSRule-lock.schema.json

46 строки
1.1 KiB
JSON
Исходник Обычный вид История

2023-11-12 05:16:39 +03:00
{
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"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
]
},
2023-11-12 05:16:39 +03:00
"modules": {
"type": "object",
"title": "Modules",
"description": "A list of specific module versions for PSRule to restore.",
2023-11-12 05:16:39 +03:00
"additionalProperties": {
"type": "object",
"properties": {
"version": {
"type": "string",
"title": "Module version",
"description": "The version of the module to use."
},
"includePrerelease": {
"type": "boolean",
"title": "Include prerelease",
"description": "Accept pre-release versions in addition to stable module versions."
2023-11-12 05:16:39 +03:00
}
},
"required": [
"version"
],
"additionalProperties": false
}
}
},
"required": [
"version",
2023-11-12 05:16:39 +03:00
"modules"
],
"additionalProperties": false
}