{
  "boType": "ExchangeAccountConfiguration",
  "description": "DTO (Data Transfer Object) for BO (Business Object) class 'ExchangeAccountConfigurationBO' representing the 'Exchange Account Configuration' entity",
  "friendlyName": "Exchange configurazione account",
  "kind": "SchemaRootObject",
  "name": "ExchangeAccountConfigurationDTO",
  "properties": [
    {
      "description": "Is the configuration active ?",
      "friendlyName": "Is the configuration active ?",
      "isLogicalPrimitive": true,
      "isRequired": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "active",
      "underlyingName": "Active",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "description": "The value to indicate the number of days to be taken to synchronize appointments",
      "friendlyName": "The value to indicate the number of days to be taken to synchronize appointments",
      "isEnum": true,
      "isNullable": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "appointmentDelay",
      "underlyingName": "AppointmentDelay",
      "underlyingType": "FilterDate?",
      "underlyingTypeRef": "Nullable`1"
    },
    {
      "description": "The creator of the entity",
      "foreignKey": {
        "boType": "Account",
        "type": "AccountBO",
        "typeRef": "AccountBO"
      },
      "friendlyName": "Creato da",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": false,
          "canWrite": false,
          "isFreeField": false,
          "isTab": false,
          "name": "CreatedById",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "createdById",
      "underlyingName": "CreatedById",
      "underlyingType": "int",
      "underlyingTypeRef": "Int32"
    },
    {
      "description": "The creation date for the entity",
      "friendlyName": "Data creazione",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": false,
          "canWrite": false,
          "isFreeField": false,
          "isTab": false,
          "name": "CreatedDate",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "createdDate",
      "underlyingName": "CreatedDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "The domain used to log into the exchange service",
      "friendlyName": "The domain used to log into the exchange service",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "domain",
      "underlyingName": "Domain",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The ID of the company configuration associated to the account",
      "friendlyName": "The ID of the company configuration associated to the account",
      "isLogicalPrimitive": true,
      "isRequired": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "exchangeCompanyConfId",
      "underlyingName": "ExchangeCompanyConfId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "External Reference",
      "friendlyName": "External Reference",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "externalReference",
      "underlyingName": "ExternalReference",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The external references linked to current object",
      "elementSchema": {
        "friendlyName": "ExternalReference",
        "kind": "SchemaRootObject",
        "name": "ExternalReferenceDTO",
        "properties": [
          {
            "description": "Type",
            "friendlyName": "Type",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "type",
            "underlyingName": "Type",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          },
          {
            "description": "Value",
            "friendlyName": "Value",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "value",
            "underlyingName": "Value",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          }
        ],
        "underlyingType": "ExternalReferenceDTO",
        "underlyingTypeRef": "ExternalReferenceDTO"
      },
      "friendlyName": "Campi aggiuntivi",
      "isEnumerable": true,
      "kind": "SchemaArrayProperty",
      "max": -1.0,
      "name": "externalReferences",
      "underlyingName": "ExternalReferences",
      "underlyingType": "ExternalReferencesDTO",
      "underlyingTypeRef": "ExternalReferencesDTO"
    },
    {
      "description": "Id",
      "friendlyName": "Id",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": false,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "id",
      "underlyingName": "Id",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The last modified by id",
      "foreignKey": {
        "boType": "Account",
        "type": "AccountBO",
        "typeRef": "AccountBO"
      },
      "friendlyName": "Modificato da",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": false,
          "canWrite": false,
          "isFreeField": false,
          "isTab": false,
          "name": "LastModifiedBy",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "lastModifiedById",
      "underlyingName": "LastModifiedById",
      "underlyingType": "int",
      "underlyingTypeRef": "Int32"
    },
    {
      "description": "The last modified date",
      "friendlyName": "Data modifica",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": false,
          "canWrite": false,
          "isFreeField": false,
          "isTab": false,
          "name": "LastModifiedDate",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "lastModifiedDate",
      "underlyingName": "LastModifiedDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "The last sync date UTC of the appointments items in current account",
      "friendlyName": "The last sync date UTC of the appointments items in current account",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "lastSyncDateUTCAppointments",
      "underlyingName": "LastSyncDateUTCAppointments",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "The last sync date UTC of the companies items in current account",
      "friendlyName": "The last sync date UTC of the companies items in current account",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "lastSyncDateUTCCompanies",
      "underlyingName": "LastSyncDateUTCCompanies",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "The last sync date UTC of the contacts items in current account",
      "friendlyName": "The last sync date UTC of the contacts items in current account",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "lastSyncDateUTCContacts",
      "underlyingName": "LastSyncDateUTCContacts",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "The last sync date UTC of the leads items in current account",
      "friendlyName": "The last sync date UTC of the leads items in current account",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "lastSyncDateUTCLeads",
      "underlyingName": "LastSyncDateUTCLeads",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "O Auth",
      "friendlyName": "O Auth",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "oAuth",
      "underlyingName": "OAuth",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyInferentialJsonConverter",
      "description": "The owner of the entity",
      "foreignKey": {
        "boType": "Account",
        "type": "AccountBO",
        "typeRef": "AccountBO"
      },
      "friendlyName": "Proprietario",
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": false,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Owner",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        },
        {
          "apiAlwaysVisible": true,
          "canBeRequired": false,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "layoutName": "quote",
          "name": "OwnerId",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        },
        {
          "apiAlwaysVisible": true,
          "canBeRequired": false,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "layoutName": "event",
          "name": "OwnerId",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "ownerId",
      "polymorphicStyleParameterName": "OwnerIdStyle",
      "polymorphicStyles": {
        "LegacyV9;Id": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "Int32",
          "underlyingType": "int",
          "underlyingTypeRef": "Int32"
        },
        "WebApiV1;AdaptiveExternalReference": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveStringOnlyUserAccount": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveUserAccount": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;FlattenedExpansion": {
          "friendlyName": "FlattenedExpansionSchema",
          "kind": "SchemaRootObject",
          "name": "FlattenedExpansionSchema",
          "properties": [
            {
              "description": "Owner Id",
              "friendlyName": "Owner Id",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "ownerId",
              "underlyingName": "OwnerId",
              "underlyingType": "long",
              "underlyingTypeRef": "Int64"
            },
            {
              "description": "Owner Id Friendly Name",
              "friendlyName": "Owner Id Friendly Name",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "ownerId_FriendlyName",
              "underlyingName": "OwnerId_FriendlyName",
              "underlyingType": "string",
              "underlyingTypeRef": "String"
            },
            {
              "description": "Owner Id User Account",
              "friendlyName": "Owner Id User Account",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "ownerId_UserAccount",
              "underlyingName": "OwnerId_UserAccount",
              "underlyingType": "string",
              "underlyingTypeRef": "String"
            }
          ],
          "underlyingType": "FlattenedExpansionSchema",
          "underlyingTypeRef": "FlattenedExpansionSchema"
        },
        "WebApiV1;Id": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "Int32",
          "underlyingType": "int",
          "underlyingTypeRef": "Int32"
        },
        "WebApiV1;StrictEmail": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        }
      },
      "underlyingName": "OwnerId",
      "underlyingType": "int",
      "underlyingTypeRef": "Int32"
    },
    {
      "description": "The password used to log into the exchange service",
      "friendlyName": "The password used to log into the exchange service",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "password",
      "underlyingName": "Password",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "Refresh Token",
      "friendlyName": "Refresh Token",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "refreshToken",
      "underlyingName": "RefreshToken",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "Service Host",
      "friendlyName": "Service Host",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "serviceHost",
      "underlyingName": "ServiceHost",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The URL of the exchange service",
      "friendlyName": "The URL of the exchange service",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "serviceUrl",
      "underlyingName": "ServiceUrl",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The version of the exchange service",
      "friendlyName": "The version of the exchange service",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "serviceVersion",
      "underlyingName": "ServiceVersion",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyInferentialJsonConverter",
      "description": "Tags",
      "friendlyName": "Tags",
      "isEnumerable": true,
      "isLogicalPrimitive": true,
      "isPolymorphic": true,
      "kind": "SchemaArrayProperty",
      "name": "tags",
      "polymorphicStyleParameterName": "TagsStyle",
      "polymorphicStyles": {
        "LegacyV9;Id": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "Int32",
          "underlyingType": "int",
          "underlyingTypeRef": "Int32"
        },
        "WebApiV1;AdaptiveCsv": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveExternalReference": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveName": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveStringOnlyName": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;Csv": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;CsvOfIds": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;CsvOfNames": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;Id": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "Int32",
          "underlyingType": "int",
          "underlyingTypeRef": "Int32"
        }
      },
      "underlyingName": "Tags",
      "underlyingType": "long[]",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The username used to log into the exchange service",
      "friendlyName": "The username used to log into the exchange service",
      "isLogicalPrimitive": true,
      "isRequired": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "username",
      "underlyingName": "Username",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    }
  ],
  "underlyingType": "ExchangeAccountConfigurationDTO",
  "underlyingTypeRef": "ExchangeAccountConfigurationDTO"
}