fix: Improve validation errors
This commit is contained in:
parent
6424bf3573
commit
3d0ae32734
99 changed files with 3773 additions and 425 deletions
21
test-files/schema/modules/signing-v1.json
Normal file
21
test-files/schema/modules/signing-v1.json
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "/modules/signing.json",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"const": "signing",
|
||||
"description": "The signing module is used to install the required signing policies for cosign image verification with rpm-ostree and bootc.\nhttps://blue-build.org/reference/modules/signing/"
|
||||
},
|
||||
"no-cache": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Whether to disabling caching for this layer.\nhttps://blue-build.org/reference/module/#no-cache-optional"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue