diff --git a/schemas/0.1.2-preview/CreateUIDefinition.CommonControl.json b/schemas/0.1.2-preview/CreateUIDefinition.CommonControl.json index 336fc48442..9e4b555c16 100644 --- a/schemas/0.1.2-preview/CreateUIDefinition.CommonControl.json +++ b/schemas/0.1.2-preview/CreateUIDefinition.CommonControl.json @@ -43,6 +43,9 @@ }, { "$ref": "#/definitions/Microsoft.Common.EditableGrid" + }, + { + "$ref": "#/definitions/Microsoft.Common.ServicePrincipalSelector" } ], "definitions": { @@ -974,6 +977,109 @@ "ariaLabel", "constraints" ] + }, + "Microsoft.Common.ServicePrincipalSelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.ServicePrincipalSelector" + ] + }, + "label": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "password": { + "type": "string" + }, + "certificateThumbprint": { + "type": "string" + }, + "authenticationType": { + "type": "string" + }, + "sectionHeader": { + "type": "string" + } + } + }, + "toolTip": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "password": { + "type": "string" + }, + "certificateThumbprint": { + "type": "string" + }, + "authenticationType": { + "type": "string" + } + } + }, + "defaultValue": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "options": { + "type": "object", + "properties": { + "hideCertificate": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "regex": { + "type": "string" + }, + "validationMessage": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] } } } \ No newline at end of file