You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/smardigo/template/form/tenant.json

205 lines
4.9 KiB
JSON

{
"components" : [ {
"label" : "Tenant",
"hideLabel" : true,
"mask" : false,
"tableView" : true,
"alwaysEnabled" : false,
"type" : "container",
"input" : true,
"key" : "tenant",
"validate" : {
"customMessage" : "",
"json" : ""
},
"conditional" : {
"show" : "",
"when" : "",
"json" : ""
},
"components" : [ {
"label" : "Id",
"labelPosition" : "left-left",
"allowMultipleMasks" : false,
"showWordCount" : false,
"showCharCount" : false,
"disabled" : true,
"tableView" : true,
"alwaysEnabled" : false,
"type" : "textfield",
"input" : true,
"key" : "id",
"defaultValue" : "",
"validate" : {
"customMessage" : "",
"json" : ""
},
"conditional" : {
"show" : "",
"when" : "",
"json" : ""
},
"tabs" : null,
"properties" : { },
"inputFormat" : "plain",
"encrypted" : false,
"tags" : null,
"customConditional" : "",
"logic" : [ ],
"widget" : {
"type" : ""
},
"reorder" : false
}, {
"label" : "Name",
"labelPosition" : "left-left",
"allowMultipleMasks" : false,
"showWordCount" : false,
"showCharCount" : false,
"tableView" : true,
"alwaysEnabled" : false,
"type" : "textfield",
"input" : true,
"key" : "name",
"properties" : { },
"tags" : [ ],
"defaultValue" : "",
"validate" : {
"customMessage" : "Zeichenkette ohne Sonderzeichen, mindestens 4 und höchstens 20 Zeichen",
"json" : "",
"required" : true,
"minLength" : null,
"maxLength" : null,
"minWords" : null,
"maxWords" : null,
"pattern" : "^[ a-zA-Z0-9-]{4,20}$"
},
"conditional" : {
"show" : "",
"when" : "",
"json" : ""
},
"tabs" : null,
"inputFormat" : "plain",
"encrypted" : false,
"customConditional" : "",
"logic" : [ ],
"widget" : {
"type" : ""
},
"reorder" : false
}, {
"label" : "Key",
"labelPosition" : "left-left",
"allowMultipleMasks" : false,
"showWordCount" : false,
"showCharCount" : false,
"tableView" : true,
"alwaysEnabled" : false,
"type" : "textfield",
"input" : true,
"key" : "key",
"defaultValue" : "",
"validate" : {
"customMessage" : "Zeichenkette ohne Sonderzeichen, mindestens 4 und höchstens 10 Zeichen, alles kleingeschrieben",
"json" : "",
"required" : true,
"minLength" : null,
"maxLength" : null,
"minWords" : null,
"maxWords" : null,
"pattern" : "^[a-z]{4,10}$"
},
"conditional" : {
"show" : "",
"when" : "",
"json" : ""
},
"tabs" : null,
"properties" : { },
"inputFormat" : "plain",
"encrypted" : false,
"tags" : null,
"customConditional" : "",
"logic" : [ ],
"widget" : {
"type" : ""
},
"reorder" : false
}, {
"label" : "Budget",
"labelPosition" : "left-left",
"mask" : false,
"tableView" : true,
"alwaysEnabled" : false,
"type" : "number",
"input" : true,
"key" : "budget",
"validate" : {
"required" : true,
"min" : null,
"max" : null,
"customMessage" : "",
"json" : ""
},
"conditional" : {
"show" : "",
"when" : "",
"json" : ""
},
"tabs" : null,
"properties" : { },
"reorder" : false,
"delimiter" : false,
"requireDecimal" : false,
"encrypted" : false,
"decimalLimit" : null,
"tags" : null,
"customConditional" : "",
"logic" : [ ]
}, {
"label" : "Benutzer",
"multiple" : true,
"reorder" : false,
"mask" : false,
"tableView" : false,
"alwaysEnabled" : false,
"type" : "dualmultiselect",
"input" : true,
"key" : "user_ids",
"defaultValue" : [ ],
"validate" : {
"required" : true,
"customMessage" : "",
"json" : ""
},
"conditional" : {
"show" : "",
"when" : "",
"json" : ""
},
"data" : {
"url" : "api/v1/scopes/{{context.scopeId}}/groups/workflow/members?roleIds=user",
"values" : [ { } ]
},
"tabs" : null,
"encrypted" : false,
"properties" : { },
"tags" : [ ],
"customConditional" : "",
"logic" : [ ],
"template" : "{{ item.id }} ({{ item.email }})",
"projection" : "id"
} ],
"tabs" : null,
"properties" : { },
"reorder" : false,
"encrypted" : false,
"tags" : null,
"customConditional" : "",
"logic" : [ ]
} ],
"display" : "form",
"configKey" : "tenant",
"name" : "Tenant"
}