diff --git a/schemas/2017-01-01/Microsoft.CustomerInsights.json b/schemas/2017-01-01/Microsoft.CustomerInsights.json new file mode 100644 index 0000000000..673cd3d42c --- /dev/null +++ b/schemas/2017-01-01/Microsoft.CustomerInsights.json @@ -0,0 +1,3345 @@ +{ + "id": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.CustomerInsights", + "description": "Microsoft CustomerInsights Resource Types", + "resourceDefinitions": { + "hubs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]+$", + "minLength": 1, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Hub." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HubPropertiesFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of hub." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hubs_profiles_childResource" + }, + { + "$ref": "#/definitions/hubs_interactions_childResource" + }, + { + "$ref": "#/definitions/hubs_relationships_childResource" + }, + { + "$ref": "#/definitions/hubs_relationshipLinks_childResource" + }, + { + "$ref": "#/definitions/hubs_authorizationPolicies_childResource" + }, + { + "$ref": "#/definitions/hubs_connectors_childResource" + }, + { + "$ref": "#/definitions/hubs_kpi_childResource" + }, + { + "$ref": "#/definitions/hubs_views_childResource" + }, + { + "$ref": "#/definitions/hubs_links_childResource" + }, + { + "$ref": "#/definitions/hubs_roleAssignments_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs" + }, + "hubs_authorizationPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]$|^[A-Za-z0-9][\\w-\\.]*[A-Za-z0-9]$", + "minLength": 1, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The authorization policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/authorizationPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/authorizationPolicies" + }, + "hubs_connectors": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connector." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Connector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of connector." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hubs_connectors_mappings_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/connectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/connectors" + }, + "hubs_connectors_mappings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connector mapping." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMapping" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connector mapping definition." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/connectors/mappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/connectors/mappings" + }, + "hubs_interactions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the interaction." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/InteractionTypeDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Interaction Type Definition" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/interactions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/interactions" + }, + "hubs_kpi": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the KPI." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KpiDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the KPI Threshold limits." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/kpi" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/kpi" + }, + "hubs_links": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LinkDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of Link." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/links" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/links" + }, + "hubs_profiles": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the profile." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProfileTypeDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The profile type definition." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/profiles" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/profiles" + }, + "hubs_relationshipLinks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the relationship link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelationshipLinkDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of relationship link." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/relationshipLinks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/relationshipLinks" + }, + "hubs_relationships": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Relationship." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelationshipDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of Relationship." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/relationships" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/relationships" + }, + "hubs_roleAssignments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The assignment name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RoleAssignment" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Role Assignment definition." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/roleAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/roleAssignments" + }, + "hubs_views": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 512, + "description": "The name of the view." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/View" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The view in Customer 360 web application." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/views" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/views" + } + }, + "definitions": { + "AssignmentPrincipal": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id being assigned to." + }, + "principalMetadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Other metadata for the principal." + }, + "principalType": { + "type": "string", + "description": "The Type of the principal ID." + } + }, + "required": [ + "principalId", + "principalType" + ], + "description": "The AssignmentPrincipal" + }, + "AuthorizationPolicy": { + "type": "object", + "properties": { + "permissions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Read", + "Write", + "Manage" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The permissions associated with the policy." + }, + "primaryKey": { + "type": "string", + "description": "Primary key associated with the policy." + }, + "secondaryKey": { + "type": "string", + "description": "Secondary key associated with the policy." + } + }, + "required": [ + "permissions" + ], + "description": "The authorization policy." + }, + "Connector": { + "type": "object", + "properties": { + "connectorName": { + "type": "string", + "description": "Name of the connector." + }, + "connectorProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connector properties." + }, + "connectorType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "CRM", + "AzureBlob", + "Salesforce", + "ExchangeOnline", + "Outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of connector." + }, + "description": { + "type": "string", + "description": "Description of the connector." + }, + "displayName": { + "type": "string", + "description": "Display name of the connector." + }, + "isInternal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If this is an internal connector." + } + }, + "required": [ + "connectorProperties", + "connectorType" + ], + "description": "Properties of connector." + }, + "ConnectorMapping": { + "type": "object", + "properties": { + "connectorType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "CRM", + "AzureBlob", + "Salesforce", + "ExchangeOnline", + "Outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of connector." + }, + "description": { + "type": "string", + "description": "The description of the connector mapping." + }, + "displayName": { + "type": "string", + "description": "Display name for the connector mapping." + }, + "entityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines which entity type the file should map to." + }, + "entityTypeName": { + "type": "string", + "description": "The mapping entity name." + }, + "mappingProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connector mapping properties." + } + }, + "required": [ + "entityType", + "entityTypeName", + "mappingProperties" + ], + "description": "The connector mapping definition." + }, + "ConnectorMappingAvailability": { + "type": "object", + "properties": { + "frequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Minute", + "Hour", + "Day", + "Week", + "Month" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The frequency to update." + }, + "interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The interval of the given frequency to use." + } + }, + "required": [ + "interval" + ], + "description": "Connector mapping property availability." + }, + "ConnectorMappingCompleteOperation": { + "type": "object", + "properties": { + "completionOperationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "DoNothing", + "DeleteFile", + "MoveFile" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of completion operation." + }, + "destinationFolder": { + "type": "string", + "description": "The destination folder where files will be moved to once the import is done." + } + }, + "description": "The complete operation." + }, + "ConnectorMappingErrorManagement": { + "type": "object", + "properties": { + "errorLimit": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error limit allowed while importing data." + }, + "errorManagementType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RejectAndContinue", + "StopImport", + "RejectUntilLimit" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of error management to use for the mapping." + } + }, + "required": [ + "errorManagementType" + ], + "description": "The error management." + }, + "ConnectorMappingFormat": { + "type": "object", + "properties": { + "acceptLanguage": { + "type": "string", + "description": "The oData language." + }, + "arraySeparator": { + "type": "string", + "description": "Character separating array elements." + }, + "columnDelimiter": { + "type": "string", + "description": "The character that signifies a break between columns." + }, + "formatType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TextFormat" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type mapping format." + }, + "quoteCharacter": { + "type": "string", + "description": "Quote character, used to indicate enquoted fields." + }, + "quoteEscapeCharacter": { + "type": "string", + "description": "Escape character for quotes, can be the same as the quoteCharacter." + } + }, + "required": [ + "formatType" + ], + "description": "Connector mapping property format." + }, + "ConnectorMappingProperties": { + "type": "object", + "properties": { + "availability": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingAvailability" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connector mapping property availability." + }, + "completeOperation": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingCompleteOperation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complete operation." + }, + "errorManagement": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingErrorManagement" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error management." + }, + "fileFilter": { + "type": "string", + "description": "The file filter for the mapping." + }, + "folderPath": { + "type": "string", + "description": "The folder path for the mapping." + }, + "format": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connector mapping property format." + }, + "hasHeader": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If the file contains a header or not." + }, + "structure": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectorMappingStructure" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ingestion mapping information at property level." + } + }, + "required": [ + "availability", + "completeOperation", + "errorManagement", + "format", + "structure" + ], + "description": "The connector mapping properties." + }, + "ConnectorMappingStructure": { + "type": "object", + "properties": { + "columnName": { + "type": "string", + "description": "The column name of the import file." + }, + "customFormatSpecifier": { + "type": "string", + "description": "Custom format specifier for input parsing." + }, + "isEncrypted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the column is encrypted." + }, + "propertyName": { + "type": "string", + "description": "The property name of the mapping entity." + } + }, + "required": [ + "columnName", + "propertyName" + ], + "description": "Connector mapping property structure." + }, + "DataSource": { + "type": "object", + "properties": {}, + "description": "Data Source is a way for us to know the source of instances. A single type can have data coming in from multiple places. In activities we use this to determine precedence rules." + }, + "HubBillingInfoFormat": { + "type": "object", + "properties": { + "maxUnits": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 10 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of units can be used. One unit is 10,000 Profiles and 100,000 Interactions." + }, + "minUnits": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 10 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions." + }, + "skuName": { + "type": "string", + "description": "The sku name." + } + }, + "description": "Hub billing info." + }, + "HubPropertiesFormat": { + "type": "object", + "properties": { + "hubBillingInfo": { + "oneOf": [ + { + "$ref": "#/definitions/HubBillingInfoFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hub billing info." + }, + "tenantFeatures": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0." + } + }, + "description": "Properties of hub." + }, + "hubs_authorizationPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]$|^[A-Za-z0-9][\\w-\\.]*[A-Za-z0-9]$", + "minLength": 1, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The authorization policy." + }, + "type": { + "type": "string", + "enum": [ + "authorizationPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/authorizationPolicies" + }, + "hubs_connectors_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connector." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Connector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of connector." + }, + "type": { + "type": "string", + "enum": [ + "connectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/connectors" + }, + "hubs_connectors_mappings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connector mapping." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMapping" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connector mapping definition." + }, + "type": { + "type": "string", + "enum": [ + "mappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/connectors/mappings" + }, + "hubs_interactions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the interaction." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/InteractionTypeDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Interaction Type Definition" + }, + "type": { + "type": "string", + "enum": [ + "interactions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/interactions" + }, + "hubs_kpi_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the KPI." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KpiDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the KPI Threshold limits." + }, + "type": { + "type": "string", + "enum": [ + "kpi" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/kpi" + }, + "hubs_links_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LinkDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of Link." + }, + "type": { + "type": "string", + "enum": [ + "links" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/links" + }, + "hubs_profiles_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the profile." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProfileTypeDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The profile type definition." + }, + "type": { + "type": "string", + "enum": [ + "profiles" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/profiles" + }, + "hubs_relationshipLinks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the relationship link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelationshipLinkDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of relationship link." + }, + "type": { + "type": "string", + "enum": [ + "relationshipLinks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/relationshipLinks" + }, + "hubs_relationships_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Relationship." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelationshipDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of Relationship." + }, + "type": { + "type": "string", + "enum": [ + "relationships" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/relationships" + }, + "hubs_roleAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The assignment name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RoleAssignment" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Role Assignment definition." + }, + "type": { + "type": "string", + "enum": [ + "roleAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/roleAssignments" + }, + "hubs_views_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-01-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 512, + "description": "The name of the view." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/View" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The view in Customer 360 web application." + }, + "type": { + "type": "string", + "enum": [ + "views" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/views" + }, + "InteractionTypeDefinition": { + "type": "object", + "properties": { + "apiEntitySetName": { + "type": "string", + "description": "The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object." + }, + "attributes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The attributes for the Type." + }, + "defaultDataSource": { + "oneOf": [ + { + "$ref": "#/definitions/DataSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data Source is a way for us to know the source of instances. A single type can have data coming in from multiple places. In activities we use this to determine precedence rules." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the property." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display names for the property." + }, + "entityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of entity." + }, + "fields": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PropertyDefinition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Profile." + }, + "idPropertyNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The id property names. Properties which uniquely identify an interaction instance." + }, + "instancesCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "isActivity": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An interaction can be tagged as an activity only during create. This enables the interaction to be editable and can enable merging of properties from multiple data sources based on precedence, which is defined at a link level." + }, + "largeImage": { + "type": "string", + "description": "Large Image associated with the Property or EntityType." + }, + "localizedAttributes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Any custom localized attributes for the Type." + }, + "mediumImage": { + "type": "string", + "description": "Medium Image associated with the Property or EntityType." + }, + "participantProfiles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Participant" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profiles that participated in the interaction." + }, + "primaryParticipantProfilePropertyName": { + "type": "string", + "description": "The primary participant property name for an interaction ,This is used to logically represent the agent of the interaction, Specify the participant name here from ParticipantName." + }, + "schemaItemTypeLink": { + "type": "string", + "description": "The schema org link. This helps ACI identify and suggest semantic models." + }, + "smallImage": { + "type": "string", + "description": "Small Image associated with the Property or EntityType." + }, + "timestampFieldName": { + "type": "string", + "description": "The timestamp property name. Represents the time when the interaction or profile update happened." + }, + "typeName": { + "type": "string", + "description": "The name of the entity." + } + }, + "description": "The Interaction Type Definition" + }, + "KpiAlias": { + "type": "object", + "properties": { + "aliasName": { + "type": "string", + "description": "KPI alias name." + }, + "expression": { + "type": "string", + "description": "The expression." + } + }, + "required": [ + "aliasName", + "expression" + ], + "description": "The KPI alias." + }, + "KpiDefinition": { + "type": "object", + "properties": { + "aliases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/KpiAlias" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The aliases." + }, + "calculationWindow": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Lifetime", + "Hour", + "Day", + "Week", + "Month" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The calculation window." + }, + "calculationWindowFieldName": { + "type": "string", + "description": "Name of calculation window field." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized description for the KPI." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the KPI." + }, + "entityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The mapping entity type." + }, + "entityTypeName": { + "type": "string", + "description": "The mapping entity name." + }, + "expression": { + "type": "string", + "description": "The computation expression for the KPI." + }, + "extracts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/KpiExtract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The KPI extracts." + }, + "filter": { + "type": "string", + "description": "The filter expression for the KPI." + }, + "function": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Sum", + "Avg", + "Min", + "Max", + "Last", + "Count", + "None", + "CountDistinct" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The computation function for the KPI." + }, + "groupBy": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "the group by properties for the KPI." + }, + "thresHolds": { + "oneOf": [ + { + "$ref": "#/definitions/KpiThresholds" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the KPI Threshold limits." + }, + "unit": { + "type": "string", + "description": "The unit of measurement for the KPI." + } + }, + "required": [ + "calculationWindow", + "entityType", + "entityTypeName", + "expression", + "function" + ], + "description": "Defines the KPI Threshold limits." + }, + "KpiExtract": { + "type": "object", + "properties": { + "expression": { + "type": "string", + "description": "The expression." + }, + "extractName": { + "type": "string", + "description": "KPI extract name." + } + }, + "required": [ + "expression", + "extractName" + ], + "description": "The KPI extract." + }, + "KpiThresholds": { + "type": "object", + "properties": { + "increasingKpi": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not the KPI is an increasing KPI." + }, + "lowerLimit": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lower threshold limit." + }, + "upperLimit": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The upper threshold limit." + } + }, + "required": [ + "increasingKpi", + "lowerLimit", + "upperLimit" + ], + "description": "Defines the KPI Threshold limits." + }, + "LinkDefinition": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the Link." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the Link." + }, + "mappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TypePropertiesMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of properties mappings between the source and target Types." + }, + "operationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Upsert", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether this link is supposed to create or delete instances if Link is NOT Reference Only." + }, + "participantPropertyReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantPropertyReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties that represent the participating profile." + }, + "referenceOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicating whether the link is reference only link. This flag is ignored if the Mappings are defined. If the mappings are not defined and it is set to true, links processing will not create or update profiles." + }, + "sourceInteractionType": { + "type": "string", + "description": "Name of the source Interaction Type." + }, + "targetProfileType": { + "type": "string", + "description": "Name of the target Profile Type." + } + }, + "required": [ + "participantPropertyReferences", + "sourceInteractionType", + "targetProfileType" + ], + "description": "The definition of Link." + }, + "Participant": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name." + }, + "participantName": { + "type": "string", + "description": "Participant name." + }, + "participantPropertyReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantPropertyReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property references." + }, + "profileTypeName": { + "type": "string", + "description": "Profile type name." + }, + "role": { + "type": "string", + "description": "The role that the participant is playing in the interaction." + } + }, + "required": [ + "participantName", + "participantPropertyReferences", + "profileTypeName" + ], + "description": "Describes a profile type participating in an interaction." + }, + "ParticipantPropertyReference": { + "type": "object", + "properties": { + "interactionPropertyName": { + "type": "string", + "description": "The interaction property that maps to the profile property." + }, + "profilePropertyName": { + "type": "string", + "description": "The profile property that maps to the interaction property." + } + }, + "required": [ + "interactionPropertyName", + "profilePropertyName" + ], + "description": "The participant property reference." + }, + "ProfileEnumValidValuesFormat": { + "type": "object", + "properties": { + "localizedValueNames": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized names of the enum member." + }, + "value": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The integer value of the enum member." + } + }, + "description": "Valid enum values in case of an enum property." + }, + "ProfileTypeDefinition": { + "type": "object", + "properties": { + "apiEntitySetName": { + "type": "string", + "description": "The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object." + }, + "attributes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The attributes for the Type." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the property." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display names for the property." + }, + "entityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of entity." + }, + "fields": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PropertyDefinition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Profile." + }, + "instancesCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "largeImage": { + "type": "string", + "description": "Large Image associated with the Property or EntityType." + }, + "localizedAttributes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Any custom localized attributes for the Type." + }, + "mediumImage": { + "type": "string", + "description": "Medium Image associated with the Property or EntityType." + }, + "schemaItemTypeLink": { + "type": "string", + "description": "The schema org link. This helps ACI identify and suggest semantic models." + }, + "smallImage": { + "type": "string", + "description": "Small Image associated with the Property or EntityType." + }, + "strongIds": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/StrongId" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The strong IDs." + }, + "timestampFieldName": { + "type": "string", + "description": "The timestamp property name. Represents the time when the interaction or profile update happened." + }, + "typeName": { + "type": "string", + "description": "The name of the entity." + } + }, + "description": "The profile type definition." + }, + "PropertyDefinition": { + "type": "object", + "properties": { + "arrayValueSeparator": { + "type": "string", + "description": "Array value separator for properties with isArray set." + }, + "enumValidValues": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ProfileEnumValidValuesFormat" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes valid values for an enum property." + }, + "fieldName": { + "type": "string", + "description": "Name of the property." + }, + "fieldType": { + "type": "string", + "description": "Type of the property." + }, + "isArray": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the property is actually an array of the fieldType above on the data api." + }, + "isAvailableInGraph": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether property is available in graph or not." + }, + "isEnum": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the property is an enum." + }, + "isFlagEnum": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the property is an flag enum." + }, + "isImage": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the property is an Image." + }, + "isLocalizedString": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the property is a localized string." + }, + "isName": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the property is a name or a part of name." + }, + "isRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field." + }, + "maxLength": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Max length of string. Used only if type is string." + }, + "propertyId": { + "type": "string", + "description": "The ID associated with the property." + }, + "schemaItemPropLink": { + "type": "string", + "description": "URL encoded schema.org item prop link for the property." + } + }, + "required": [ + "fieldName", + "fieldType" + ], + "description": "Property definition." + }, + "RelationshipDefinition": { + "type": "object", + "properties": { + "cardinality": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OneToOne", + "OneToMany", + "ManyToMany" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Relationship Cardinality." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the Relationship." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the Relationship." + }, + "expiryDateTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The expiry date time in UTC." + }, + "fields": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PropertyDefinition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Relationship." + }, + "lookupMappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RelationshipTypeMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional property to be used to map fields in profile to their strong ids in related profile." + }, + "profileType": { + "type": "string", + "description": "Profile type." + }, + "relatedProfileType": { + "type": "string", + "description": "Related profile being referenced." + } + }, + "required": [ + "profileType", + "relatedProfileType" + ], + "description": "The definition of Relationship." + }, + "RelationshipLinkDefinition": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the Relationship Link." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the Relationship Link." + }, + "interactionType": { + "type": "string", + "description": "The InteractionType associated with the Relationship Link." + }, + "mappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RelationshipLinkFieldMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The mappings between Interaction and Relationship fields." + }, + "profilePropertyReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantPropertyReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property references for the Profile of the Relationship." + }, + "relatedProfilePropertyReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantPropertyReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property references for the Related Profile of the Relationship." + }, + "relationshipName": { + "type": "string", + "description": "The Relationship associated with the Link." + } + }, + "required": [ + "interactionType", + "profilePropertyReferences", + "relatedProfilePropertyReferences", + "relationshipName" + ], + "description": "The definition of relationship link." + }, + "RelationshipLinkFieldMapping": { + "type": "object", + "properties": { + "interactionFieldName": { + "type": "string", + "description": "The field name on the Interaction Type." + }, + "linkType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "UpdateAlways", + "CopyIfNull" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Link type." + }, + "relationshipFieldName": { + "type": "string", + "description": "The field name on the Relationship metadata." + } + }, + "required": [ + "interactionFieldName", + "relationshipFieldName" + ], + "description": "The fields mapping for Relationships." + }, + "RelationshipTypeFieldMapping": { + "type": "object", + "properties": { + "profileFieldName": { + "type": "string", + "description": "Specifies the fieldName in profile." + }, + "relatedProfileKeyProperty": { + "type": "string", + "description": "Specifies the KeyProperty (from StrongId) of the related profile." + } + }, + "required": [ + "profileFieldName", + "relatedProfileKeyProperty" + ], + "description": "Map a field of profile to its corresponding StrongId in Related Profile." + }, + "RelationshipTypeMapping": { + "type": "object", + "properties": { + "fieldMappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RelationshipTypeFieldMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well." + } + }, + "required": [ + "fieldMappings" + ], + "description": "Maps fields in Profile to their corresponding StrongIds in Related Profile." + }, + "ResourceSetDescription": { + "type": "object", + "properties": { + "elements": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The elements included in the set." + }, + "exceptions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The elements that are not included in the set, in case elements contains '*' indicating 'all'." + } + }, + "description": "The resource set description." + }, + "RoleAssignment": { + "type": "object", + "properties": { + "conflationPolicies": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "connectors": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized description for the metadata." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display names for the metadata." + }, + "interactions": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "kpis": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "links": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "principals": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AssignmentPrincipal" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The principals being assigned to." + }, + "profiles": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "relationshipLinks": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "relationships": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "role": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Admin", + "Reader", + "ManageAdmin", + "ManageReader", + "DataAdmin", + "DataReader" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of roles." + }, + "roleAssignments": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "sasPolicies": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "segments": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "views": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "widgetTypes": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + } + }, + "required": [ + "principals", + "role" + ], + "description": "The Role Assignment definition." + }, + "StrongId": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name." + }, + "keyPropertyNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties which make up the unique ID." + }, + "strongIdName": { + "type": "string", + "description": "The Name identifying the strong ID." + } + }, + "required": [ + "keyPropertyNames", + "strongIdName" + ], + "description": "Property/Properties which represent a unique ID." + }, + "TypePropertiesMapping": { + "type": "object", + "properties": { + "interactionTypePropertyName": { + "type": "string", + "description": " Property name on the source Interaction Type." + }, + "isProfileTypeId": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether the Profile Type property is an id on the Profile Type." + }, + "linkType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "UpdateAlways", + "CopyIfNull" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Link type." + }, + "profileTypePropertyName": { + "type": "string", + "description": "Property name on the target Profile Type." + } + }, + "required": [ + "interactionTypePropertyName", + "profileTypePropertyName" + ], + "description": "Metadata for a Link's property mapping." + }, + "View": { + "type": "object", + "properties": { + "definition": { + "type": "string", + "description": "View definition." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the view." + }, + "userId": { + "type": "string", + "description": "the user ID." + } + }, + "required": [ + "definition" + ], + "description": "The view in Customer 360 web application." + } + } +} \ No newline at end of file diff --git a/schemas/2017-04-26/Microsoft.CustomerInsights.json b/schemas/2017-04-26/Microsoft.CustomerInsights.json new file mode 100644 index 0000000000..415b2dc3e6 --- /dev/null +++ b/schemas/2017-04-26/Microsoft.CustomerInsights.json @@ -0,0 +1,3675 @@ +{ + "id": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.CustomerInsights", + "description": "Microsoft CustomerInsights Resource Types", + "resourceDefinitions": { + "hubs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]+$", + "minLength": 1, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Hub." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HubPropertiesFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of hub." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hubs_profiles_childResource" + }, + { + "$ref": "#/definitions/hubs_interactions_childResource" + }, + { + "$ref": "#/definitions/hubs_relationships_childResource" + }, + { + "$ref": "#/definitions/hubs_relationshipLinks_childResource" + }, + { + "$ref": "#/definitions/hubs_authorizationPolicies_childResource" + }, + { + "$ref": "#/definitions/hubs_connectors_childResource" + }, + { + "$ref": "#/definitions/hubs_kpi_childResource" + }, + { + "$ref": "#/definitions/hubs_views_childResource" + }, + { + "$ref": "#/definitions/hubs_links_childResource" + }, + { + "$ref": "#/definitions/hubs_roleAssignments_childResource" + }, + { + "$ref": "#/definitions/hubs_predictions_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs" + }, + "hubs_authorizationPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]$|^[A-Za-z0-9][\\w-\\.]*[A-Za-z0-9]$", + "minLength": 1, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The authorization policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/authorizationPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/authorizationPolicies" + }, + "hubs_connectors": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connector." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Connector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of connector." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hubs_connectors_mappings_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/connectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/connectors" + }, + "hubs_connectors_mappings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connector mapping." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMapping" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connector mapping definition." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/connectors/mappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/connectors/mappings" + }, + "hubs_interactions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the interaction." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/InteractionTypeDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Interaction Type Definition" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/interactions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/interactions" + }, + "hubs_kpi": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the KPI." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KpiDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the KPI Threshold limits." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/kpi" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/kpi" + }, + "hubs_links": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LinkDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of Link." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/links" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/links" + }, + "hubs_predictions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 512, + "description": "The name of the Prediction." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Prediction" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The prediction definition." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/predictions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/predictions" + }, + "hubs_profiles": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the profile." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProfileTypeDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The profile type definition." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/profiles" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/profiles" + }, + "hubs_relationshipLinks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the relationship link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelationshipLinkDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of relationship link." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/relationshipLinks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/relationshipLinks" + }, + "hubs_relationships": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Relationship." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelationshipDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of Relationship." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/relationships" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/relationships" + }, + "hubs_roleAssignments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The assignment name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RoleAssignment" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Role Assignment definition." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/roleAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/roleAssignments" + }, + "hubs_views": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 512, + "description": "The name of the view." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/View" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The view in Customer 360 web application." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.CustomerInsights/hubs/views" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/views" + } + }, + "definitions": { + "AssignmentPrincipal": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id being assigned to." + }, + "principalMetadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Other metadata for the principal." + }, + "principalType": { + "type": "string", + "description": "The Type of the principal ID." + } + }, + "required": [ + "principalId", + "principalType" + ], + "description": "The AssignmentPrincipal" + }, + "AuthorizationPolicy": { + "type": "object", + "properties": { + "permissions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Read", + "Write", + "Manage" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The permissions associated with the policy." + }, + "primaryKey": { + "type": "string", + "description": "Primary key associated with the policy." + }, + "secondaryKey": { + "type": "string", + "description": "Secondary key associated with the policy." + } + }, + "required": [ + "permissions" + ], + "description": "The authorization policy." + }, + "Connector": { + "type": "object", + "properties": { + "connectorName": { + "type": "string", + "description": "Name of the connector." + }, + "connectorProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connector properties." + }, + "connectorType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "CRM", + "AzureBlob", + "Salesforce", + "ExchangeOnline", + "Outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of connector." + }, + "description": { + "type": "string", + "description": "Description of the connector." + }, + "displayName": { + "type": "string", + "description": "Display name of the connector." + }, + "isInternal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If this is an internal connector." + } + }, + "required": [ + "connectorProperties", + "connectorType" + ], + "description": "Properties of connector." + }, + "ConnectorMapping": { + "type": "object", + "properties": { + "connectorType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "CRM", + "AzureBlob", + "Salesforce", + "ExchangeOnline", + "Outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of connector." + }, + "description": { + "type": "string", + "description": "The description of the connector mapping." + }, + "displayName": { + "type": "string", + "description": "Display name for the connector mapping." + }, + "entityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines which entity type the file should map to." + }, + "entityTypeName": { + "type": "string", + "description": "The mapping entity name." + }, + "mappingProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connector mapping properties." + } + }, + "required": [ + "entityType", + "entityTypeName", + "mappingProperties" + ], + "description": "The connector mapping definition." + }, + "ConnectorMappingAvailability": { + "type": "object", + "properties": { + "frequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Minute", + "Hour", + "Day", + "Week", + "Month" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The frequency to update." + }, + "interval": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The interval of the given frequency to use." + } + }, + "required": [ + "interval" + ], + "description": "Connector mapping property availability." + }, + "ConnectorMappingCompleteOperation": { + "type": "object", + "properties": { + "completionOperationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "DoNothing", + "DeleteFile", + "MoveFile" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of completion operation." + }, + "destinationFolder": { + "type": "string", + "description": "The destination folder where files will be moved to once the import is done." + } + }, + "description": "The complete operation." + }, + "ConnectorMappingErrorManagement": { + "type": "object", + "properties": { + "errorLimit": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error limit allowed while importing data." + }, + "errorManagementType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RejectAndContinue", + "StopImport", + "RejectUntilLimit" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of error management to use for the mapping." + } + }, + "required": [ + "errorManagementType" + ], + "description": "The error management." + }, + "ConnectorMappingFormat": { + "type": "object", + "properties": { + "acceptLanguage": { + "type": "string", + "description": "The oData language." + }, + "arraySeparator": { + "type": "string", + "description": "Character separating array elements." + }, + "columnDelimiter": { + "type": "string", + "description": "The character that signifies a break between columns." + }, + "formatType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TextFormat" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type mapping format." + }, + "quoteCharacter": { + "type": "string", + "description": "Quote character, used to indicate enquoted fields." + }, + "quoteEscapeCharacter": { + "type": "string", + "description": "Escape character for quotes, can be the same as the quoteCharacter." + } + }, + "required": [ + "formatType" + ], + "description": "Connector mapping property format." + }, + "ConnectorMappingProperties": { + "type": "object", + "properties": { + "availability": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingAvailability" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connector mapping property availability." + }, + "completeOperation": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingCompleteOperation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complete operation." + }, + "errorManagement": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingErrorManagement" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error management." + }, + "fileFilter": { + "type": "string", + "description": "The file filter for the mapping." + }, + "folderPath": { + "type": "string", + "description": "The folder path for the mapping." + }, + "format": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMappingFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connector mapping property format." + }, + "hasHeader": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If the file contains a header or not." + }, + "structure": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectorMappingStructure" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ingestion mapping information at property level." + } + }, + "required": [ + "availability", + "completeOperation", + "errorManagement", + "format", + "structure" + ], + "description": "The connector mapping properties." + }, + "ConnectorMappingStructure": { + "type": "object", + "properties": { + "columnName": { + "type": "string", + "description": "The column name of the import file." + }, + "customFormatSpecifier": { + "type": "string", + "description": "Custom format specifier for input parsing." + }, + "isEncrypted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the column is encrypted." + }, + "propertyName": { + "type": "string", + "description": "The property name of the mapping entity." + } + }, + "required": [ + "columnName", + "propertyName" + ], + "description": "Connector mapping property structure." + }, + "DataSource": { + "type": "object", + "properties": {}, + "description": "Data Source is a way for us to know the source of instances. A single type can have data coming in from multiple places. In activities we use this to determine precedence rules." + }, + "HubBillingInfoFormat": { + "type": "object", + "properties": { + "maxUnits": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 10 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of units can be used. One unit is 10,000 Profiles and 100,000 Interactions." + }, + "minUnits": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 10 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of units will be billed. One unit is 10,000 Profiles and 100,000 Interactions." + }, + "skuName": { + "type": "string", + "description": "The sku name." + } + }, + "description": "Hub billing info." + }, + "HubPropertiesFormat": { + "type": "object", + "properties": { + "hubBillingInfo": { + "oneOf": [ + { + "$ref": "#/definitions/HubBillingInfoFormat" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hub billing info." + }, + "tenantFeatures": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0." + } + }, + "description": "Properties of hub." + }, + "hubs_authorizationPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]$|^[A-Za-z0-9][\\w-\\.]*[A-Za-z0-9]$", + "minLength": 1, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The authorization policy." + }, + "type": { + "type": "string", + "enum": [ + "authorizationPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/authorizationPolicies" + }, + "hubs_connectors_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connector." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Connector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of connector." + }, + "type": { + "type": "string", + "enum": [ + "connectors" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/connectors" + }, + "hubs_connectors_mappings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connector mapping." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectorMapping" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connector mapping definition." + }, + "type": { + "type": "string", + "enum": [ + "mappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/connectors/mappings" + }, + "hubs_interactions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the interaction." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/InteractionTypeDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Interaction Type Definition" + }, + "type": { + "type": "string", + "enum": [ + "interactions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/interactions" + }, + "hubs_kpi_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the KPI." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KpiDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the KPI Threshold limits." + }, + "type": { + "type": "string", + "enum": [ + "kpi" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/kpi" + }, + "hubs_links_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LinkDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of Link." + }, + "type": { + "type": "string", + "enum": [ + "links" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/links" + }, + "hubs_predictions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 512, + "description": "The name of the Prediction." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Prediction" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The prediction definition." + }, + "type": { + "type": "string", + "enum": [ + "predictions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/predictions" + }, + "hubs_profiles_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the profile." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProfileTypeDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The profile type definition." + }, + "type": { + "type": "string", + "enum": [ + "profiles" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/profiles" + }, + "hubs_relationshipLinks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the relationship link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelationshipLinkDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of relationship link." + }, + "type": { + "type": "string", + "enum": [ + "relationshipLinks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/relationshipLinks" + }, + "hubs_relationships_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 512 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Relationship." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RelationshipDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition of Relationship." + }, + "type": { + "type": "string", + "enum": [ + "relationships" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/relationships" + }, + "hubs_roleAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9_]+$", + "minLength": 1, + "maxLength": 128 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The assignment name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RoleAssignment" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Role Assignment definition." + }, + "type": { + "type": "string", + "enum": [ + "roleAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/roleAssignments" + }, + "hubs_views_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-26" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 512, + "description": "The name of the view." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/View" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The view in Customer 360 web application." + }, + "type": { + "type": "string", + "enum": [ + "views" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.CustomerInsights/hubs/views" + }, + "InteractionTypeDefinition": { + "type": "object", + "properties": { + "apiEntitySetName": { + "type": "string", + "description": "The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object." + }, + "attributes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The attributes for the Type." + }, + "defaultDataSource": { + "oneOf": [ + { + "$ref": "#/definitions/DataSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data Source is a way for us to know the source of instances. A single type can have data coming in from multiple places. In activities we use this to determine precedence rules." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the property." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display names for the property." + }, + "entityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of entity." + }, + "fields": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PropertyDefinition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Profile." + }, + "idPropertyNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The id property names. Properties which uniquely identify an interaction instance." + }, + "instancesCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "isActivity": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An interaction can be tagged as an activity only during create. This enables the interaction to be editable and can enable merging of properties from multiple data sources based on precedence, which is defined at a link level." + }, + "largeImage": { + "type": "string", + "description": "Large Image associated with the Property or EntityType." + }, + "localizedAttributes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Any custom localized attributes for the Type." + }, + "mediumImage": { + "type": "string", + "description": "Medium Image associated with the Property or EntityType." + }, + "participantProfiles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Participant" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profiles that participated in the interaction." + }, + "primaryParticipantProfilePropertyName": { + "type": "string", + "description": "The primary participant property name for an interaction ,This is used to logically represent the agent of the interaction, Specify the participant name here from ParticipantName." + }, + "schemaItemTypeLink": { + "type": "string", + "description": "The schema org link. This helps ACI identify and suggest semantic models." + }, + "smallImage": { + "type": "string", + "description": "Small Image associated with the Property or EntityType." + }, + "timestampFieldName": { + "type": "string", + "description": "The timestamp property name. Represents the time when the interaction or profile update happened." + }, + "typeName": { + "type": "string", + "description": "The name of the entity." + } + }, + "description": "The Interaction Type Definition" + }, + "KpiAlias": { + "type": "object", + "properties": { + "aliasName": { + "type": "string", + "description": "KPI alias name." + }, + "expression": { + "type": "string", + "description": "The expression." + } + }, + "required": [ + "aliasName", + "expression" + ], + "description": "The KPI alias." + }, + "KpiDefinition": { + "type": "object", + "properties": { + "aliases": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/KpiAlias" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The aliases." + }, + "calculationWindow": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Lifetime", + "Hour", + "Day", + "Week", + "Month" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The calculation window." + }, + "calculationWindowFieldName": { + "type": "string", + "description": "Name of calculation window field." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized description for the KPI." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the KPI." + }, + "entityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The mapping entity type." + }, + "entityTypeName": { + "type": "string", + "description": "The mapping entity name." + }, + "expression": { + "type": "string", + "description": "The computation expression for the KPI." + }, + "extracts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/KpiExtract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The KPI extracts." + }, + "filter": { + "type": "string", + "description": "The filter expression for the KPI." + }, + "function": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Sum", + "Avg", + "Min", + "Max", + "Last", + "Count", + "None", + "CountDistinct" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The computation function for the KPI." + }, + "groupBy": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "the group by properties for the KPI." + }, + "thresHolds": { + "oneOf": [ + { + "$ref": "#/definitions/KpiThresholds" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines the KPI Threshold limits." + }, + "unit": { + "type": "string", + "description": "The unit of measurement for the KPI." + } + }, + "required": [ + "calculationWindow", + "entityType", + "entityTypeName", + "expression", + "function" + ], + "description": "Defines the KPI Threshold limits." + }, + "KpiExtract": { + "type": "object", + "properties": { + "expression": { + "type": "string", + "description": "The expression." + }, + "extractName": { + "type": "string", + "description": "KPI extract name." + } + }, + "required": [ + "expression", + "extractName" + ], + "description": "The KPI extract." + }, + "KpiThresholds": { + "type": "object", + "properties": { + "increasingKpi": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not the KPI is an increasing KPI." + }, + "lowerLimit": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lower threshold limit." + }, + "upperLimit": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The upper threshold limit." + } + }, + "required": [ + "increasingKpi", + "lowerLimit", + "upperLimit" + ], + "description": "Defines the KPI Threshold limits." + }, + "LinkDefinition": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the Link." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the Link." + }, + "mappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TypePropertiesMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of properties mappings between the source and target Types." + }, + "operationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Upsert", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether this link is supposed to create or delete instances if Link is NOT Reference Only." + }, + "participantPropertyReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantPropertyReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties that represent the participating profile." + }, + "referenceOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicating whether the link is reference only link. This flag is ignored if the Mappings are defined. If the mappings are not defined and it is set to true, links processing will not create or update profiles." + }, + "sourceEntityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of source entity." + }, + "sourceEntityTypeName": { + "type": "string", + "description": "Name of the source Entity Type." + }, + "targetEntityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of target entity." + }, + "targetEntityTypeName": { + "type": "string", + "description": "Name of the target Entity Type." + } + }, + "required": [ + "participantPropertyReferences", + "sourceEntityType", + "sourceEntityTypeName", + "targetEntityType", + "targetEntityTypeName" + ], + "description": "The definition of Link." + }, + "Participant": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name." + }, + "participantName": { + "type": "string", + "description": "Participant name." + }, + "participantPropertyReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantPropertyReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property references." + }, + "profileTypeName": { + "type": "string", + "description": "Profile type name." + }, + "role": { + "type": "string", + "description": "The role that the participant is playing in the interaction." + } + }, + "required": [ + "participantName", + "participantPropertyReferences", + "profileTypeName" + ], + "description": "Describes a profile type participating in an interaction." + }, + "ParticipantProfilePropertyReference": { + "type": "object", + "properties": { + "interactionPropertyName": { + "type": "string", + "description": "The source interaction property that maps to the target profile property." + }, + "profilePropertyName": { + "type": "string", + "description": "The target profile property that maps to the source interaction property." + } + }, + "required": [ + "interactionPropertyName", + "profilePropertyName" + ], + "description": "The participant profile property reference." + }, + "ParticipantPropertyReference": { + "type": "object", + "properties": { + "sourcePropertyName": { + "type": "string", + "description": "The source property that maps to the target property." + }, + "targetPropertyName": { + "type": "string", + "description": "The target property that maps to the source property." + } + }, + "required": [ + "sourcePropertyName", + "targetPropertyName" + ], + "description": "The participant property reference." + }, + "Prediction": { + "type": "object", + "properties": { + "autoAnalyze": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether do auto analyze." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of the prediction." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Display name of the prediction." + }, + "grades": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PredictionGradesItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The prediction grades." + }, + "involvedInteractionTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Interaction types involved in the prediction." + }, + "involvedKpiTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KPI types involved in the prediction." + }, + "involvedRelationships": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Relationships involved in the prediction." + }, + "mappings": { + "oneOf": [ + { + "$ref": "#/definitions/PredictionMappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of the link mapping of prediction." + }, + "negativeOutcomeExpression": { + "type": "string", + "description": "Negative outcome expression." + }, + "positiveOutcomeExpression": { + "type": "string", + "description": "Positive outcome expression." + }, + "predictionName": { + "type": "string", + "description": "Name of the prediction." + }, + "primaryProfileType": { + "type": "string", + "description": "Primary profile type." + }, + "scopeExpression": { + "type": "string", + "description": "Scope expression." + }, + "scoreLabel": { + "type": "string", + "description": "Score label." + } + }, + "required": [ + "autoAnalyze", + "mappings", + "negativeOutcomeExpression", + "positiveOutcomeExpression", + "primaryProfileType", + "scopeExpression", + "scoreLabel" + ], + "description": "The prediction definition." + }, + "PredictionGradesItem": { + "type": "object", + "properties": { + "gradeName": { + "type": "string", + "description": "Name of the grade." + }, + "maxScoreThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum score threshold." + }, + "minScoreThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum score threshold." + } + }, + "description": "The definition of a prediction grade." + }, + "PredictionMappings": { + "type": "object", + "properties": { + "grade": { + "type": "string", + "description": "The grade of the link mapping." + }, + "reason": { + "type": "string", + "description": "The reason of the link mapping." + }, + "score": { + "type": "string", + "description": "The score of the link mapping." + } + }, + "required": [ + "grade", + "reason", + "score" + ], + "description": "Definition of the link mapping of prediction." + }, + "ProfileEnumValidValuesFormat": { + "type": "object", + "properties": { + "localizedValueNames": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized names of the enum member." + }, + "value": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The integer value of the enum member." + } + }, + "description": "Valid enum values in case of an enum property." + }, + "ProfileTypeDefinition": { + "type": "object", + "properties": { + "apiEntitySetName": { + "type": "string", + "description": "The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object." + }, + "attributes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The attributes for the Type." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the property." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display names for the property." + }, + "entityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Profile", + "Interaction", + "Relationship" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of entity." + }, + "fields": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PropertyDefinition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Profile." + }, + "instancesCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "largeImage": { + "type": "string", + "description": "Large Image associated with the Property or EntityType." + }, + "localizedAttributes": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Any custom localized attributes for the Type." + }, + "mediumImage": { + "type": "string", + "description": "Medium Image associated with the Property or EntityType." + }, + "schemaItemTypeLink": { + "type": "string", + "description": "The schema org link. This helps ACI identify and suggest semantic models." + }, + "smallImage": { + "type": "string", + "description": "Small Image associated with the Property or EntityType." + }, + "strongIds": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/StrongId" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The strong IDs." + }, + "timestampFieldName": { + "type": "string", + "description": "The timestamp property name. Represents the time when the interaction or profile update happened." + }, + "typeName": { + "type": "string", + "description": "The name of the entity." + } + }, + "description": "The profile type definition." + }, + "PropertyDefinition": { + "type": "object", + "properties": { + "arrayValueSeparator": { + "type": "string", + "description": "Array value separator for properties with isArray set." + }, + "enumValidValues": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ProfileEnumValidValuesFormat" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes valid values for an enum property." + }, + "fieldName": { + "type": "string", + "description": "Name of the property." + }, + "fieldType": { + "type": "string", + "description": "Type of the property." + }, + "isArray": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the property is actually an array of the fieldType above on the data api." + }, + "isAvailableInGraph": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether property is available in graph or not." + }, + "isEnum": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the property is an enum." + }, + "isFlagEnum": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the property is an flag enum." + }, + "isImage": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the property is an Image." + }, + "isLocalizedString": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the property is a localized string." + }, + "isName": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the property is a name or a part of name." + }, + "isRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field." + }, + "maxLength": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Max length of string. Used only if type is string." + }, + "propertyId": { + "type": "string", + "description": "The ID associated with the property." + }, + "schemaItemPropLink": { + "type": "string", + "description": "URL encoded schema.org item prop link for the property." + } + }, + "required": [ + "fieldName", + "fieldType" + ], + "description": "Property definition." + }, + "RelationshipDefinition": { + "type": "object", + "properties": { + "cardinality": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OneToOne", + "OneToMany", + "ManyToMany" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Relationship Cardinality." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the Relationship." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the Relationship." + }, + "expiryDateTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The expiry date time in UTC." + }, + "fields": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PropertyDefinition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Relationship." + }, + "lookupMappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RelationshipTypeMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional property to be used to map fields in profile to their strong ids in related profile." + }, + "profileType": { + "type": "string", + "description": "Profile type." + }, + "relatedProfileType": { + "type": "string", + "description": "Related profile being referenced." + } + }, + "required": [ + "profileType", + "relatedProfileType" + ], + "description": "The definition of Relationship." + }, + "RelationshipLinkDefinition": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions for the Relationship Link." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the Relationship Link." + }, + "interactionType": { + "type": "string", + "description": "The InteractionType associated with the Relationship Link." + }, + "mappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RelationshipLinkFieldMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The mappings between Interaction and Relationship fields." + }, + "profilePropertyReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantProfilePropertyReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property references for the Profile of the Relationship." + }, + "relatedProfilePropertyReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParticipantProfilePropertyReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property references for the Related Profile of the Relationship." + }, + "relationshipName": { + "type": "string", + "description": "The Relationship associated with the Link." + } + }, + "required": [ + "interactionType", + "profilePropertyReferences", + "relatedProfilePropertyReferences", + "relationshipName" + ], + "description": "The definition of relationship link." + }, + "RelationshipLinkFieldMapping": { + "type": "object", + "properties": { + "interactionFieldName": { + "type": "string", + "description": "The field name on the Interaction Type." + }, + "linkType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "UpdateAlways", + "CopyIfNull" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Link type." + }, + "relationshipFieldName": { + "type": "string", + "description": "The field name on the Relationship metadata." + } + }, + "required": [ + "interactionFieldName", + "relationshipFieldName" + ], + "description": "The fields mapping for Relationships." + }, + "RelationshipTypeFieldMapping": { + "type": "object", + "properties": { + "profileFieldName": { + "type": "string", + "description": "Specifies the fieldName in profile." + }, + "relatedProfileKeyProperty": { + "type": "string", + "description": "Specifies the KeyProperty (from StrongId) of the related profile." + } + }, + "required": [ + "profileFieldName", + "relatedProfileKeyProperty" + ], + "description": "Map a field of profile to its corresponding StrongId in Related Profile." + }, + "RelationshipTypeMapping": { + "type": "object", + "properties": { + "fieldMappings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RelationshipTypeFieldMapping" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well." + } + }, + "required": [ + "fieldMappings" + ], + "description": "Maps fields in Profile to their corresponding StrongIds in Related Profile." + }, + "ResourceSetDescription": { + "type": "object", + "properties": { + "elements": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The elements included in the set." + }, + "exceptions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The elements that are not included in the set, in case elements contains '*' indicating 'all'." + } + }, + "description": "The resource set description." + }, + "RoleAssignment": { + "type": "object", + "properties": { + "conflationPolicies": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "connectors": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized description for the metadata." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display names for the metadata." + }, + "interactions": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "kpis": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "links": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "principals": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AssignmentPrincipal" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The principals being assigned to." + }, + "profiles": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "relationshipLinks": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "relationships": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "role": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Admin", + "Reader", + "ManageAdmin", + "ManageReader", + "DataAdmin", + "DataReader" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of roles." + }, + "roleAssignments": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "sasPolicies": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "segments": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "views": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + }, + "widgetTypes": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSetDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource set description." + } + }, + "required": [ + "principals", + "role" + ], + "description": "The Role Assignment definition." + }, + "StrongId": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized descriptions." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name." + }, + "keyPropertyNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties which make up the unique ID." + }, + "strongIdName": { + "type": "string", + "description": "The Name identifying the strong ID." + } + }, + "required": [ + "keyPropertyNames", + "strongIdName" + ], + "description": "Property/Properties which represent a unique ID." + }, + "TypePropertiesMapping": { + "type": "object", + "properties": { + "linkType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "UpdateAlways", + "CopyIfNull" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Link type." + }, + "sourcePropertyName": { + "type": "string", + "description": " Property name on the source Entity Type." + }, + "targetPropertyName": { + "type": "string", + "description": "Property name on the target Entity Type." + } + }, + "required": [ + "sourcePropertyName", + "targetPropertyName" + ], + "description": "Metadata for a Link's property mapping." + }, + "View": { + "type": "object", + "properties": { + "definition": { + "type": "string", + "description": "View definition." + }, + "displayName": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Localized display name for the view." + }, + "userId": { + "type": "string", + "description": "the user ID." + } + }, + "required": [ + "definition" + ], + "description": "The view in Customer 360 web application." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index a18ff59272..7c4a9253ca 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1681,6 +1681,81 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_authorizationPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_connectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_connectors_mappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_interactions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_kpi" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_links" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_profiles" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_relationshipLinks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_relationships" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_roleAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_views" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_authorizationPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_connectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_connectors_mappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_interactions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_kpi" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_links" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_predictions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_profiles" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_relationshipLinks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_relationships" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_roleAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-26/Microsoft.CustomerInsights.json#/resourceDefinitions/hubs_views" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.CustomProviders.json#/resourceDefinitions/resourceProviders" },