62 lines
1 KiB
JSON
62 lines
1 KiB
JSON
|
|
{
|
||
|
|
"secret1": {
|
||
|
|
"type": "variable",
|
||
|
|
"properties": [
|
||
|
|
{
|
||
|
|
"type": "type",
|
||
|
|
"name": "secret"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "mode",
|
||
|
|
"name": "basic"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "property",
|
||
|
|
"name": "mandatory"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"validators": [
|
||
|
|
"minimum length for the secret is 10 characters"
|
||
|
|
],
|
||
|
|
"paths": [
|
||
|
|
"secret1"
|
||
|
|
],
|
||
|
|
"names": [
|
||
|
|
"secret1"
|
||
|
|
],
|
||
|
|
"descriptions": [
|
||
|
|
"The first variable."
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"secret2": {
|
||
|
|
"type": "variable",
|
||
|
|
"default": "value",
|
||
|
|
"properties": [
|
||
|
|
{
|
||
|
|
"type": "type",
|
||
|
|
"name": "secret"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "mode",
|
||
|
|
"name": "standard"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "property",
|
||
|
|
"name": "mandatory"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"validators": [
|
||
|
|
"maximum length for the secret is 10 characters",
|
||
|
|
"forbidden characters are \"$\" and \"^\""
|
||
|
|
],
|
||
|
|
"paths": [
|
||
|
|
"secret2"
|
||
|
|
],
|
||
|
|
"names": [
|
||
|
|
"secret2"
|
||
|
|
],
|
||
|
|
"descriptions": [
|
||
|
|
"The second variable."
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|