2024-01-01 09:27:53 +03:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
|
|
"type": "object",
|
|
|
|
"title": "PSRule lock",
|
|
|
|
"description": "A schema for the PSRule lock file.",
|
|
|
|
"properties": {
|
2024-01-17 17:28:32 +03:00
|
|
|
"version": {
|
|
|
|
"type": "integer",
|
|
|
|
"title": "Version",
|
|
|
|
"description": "The version of the lock file schema.",
|
|
|
|
"enum": [
|
|
|
|
1
|
|
|
|
]
|
|
|
|
},
|
2024-01-01 09:27:53 +03:00
|
|
|
"modules": {
|
|
|
|
"type": "object",
|
|
|
|
"title": "Modules",
|
2024-01-17 17:28:32 +03:00
|
|
|
"description": "A list of specific module versions for PSRule to restore.",
|
2024-01-01 09:27:53 +03:00
|
|
|
"additionalProperties": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"version": {
|
|
|
|
"type": "string",
|
2024-01-17 17:28:32 +03:00
|
|
|
"title": "Module version",
|
|
|
|
"description": "The version of the module to use."
|
2024-01-01 09:27:53 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"version"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2024-01-17 17:28:32 +03:00
|
|
|
"version",
|
2024-01-01 09:27:53 +03:00
|
|
|
"modules"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|