{
  "boType": "Appointment",
  "description": "DTO (Data Transfer Object) for BO (Business Object) class 'AppointmentBO' representing the 'Appointment' entity",
  "friendlyName": "Appuntamento",
  "kind": "SchemaRootObject",
  "name": "AppointmentDTO",
  "properties": [
    {
      "description": "If appointment has an attached activity",
      "friendlyName": "If appointment has an attached activity",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "activityId",
      "underlyingName": "ActivityId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "If the appointment is all day",
      "friendlyName": "Tutto il giorno",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Date",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "allDay",
      "underlyingName": "AllDay",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "description": "Booking Id",
      "friendlyName": "Booking Id",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "bookingId",
      "underlyingName": "BookingId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "If calendar of the appointment",
      "foreignKey": {
        "list": "Calendars",
        "listDefinitionResolver": "api/latest/Lists/GetListDefinitionForCalendars"
      },
      "friendlyName": "Calendario",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "CalendarId",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "calendarId",
      "underlyingName": "CalendarId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The company's id of the appointment",
      "foreignKey": {
        "boType": "Company",
        "type": "ICompanyBO",
        "typeRef": "ICompanyBO"
      },
      "friendlyName": "Azienda",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Anagraphic",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "companyId",
      "underlyingName": "CompanyId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "If the appointment is confirmed or not",
      "friendlyName": "Confermato",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Confirmation",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "confirmation",
      "underlyingName": "Confirmation",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "description": "The contact's id of the appointment",
      "foreignKey": {
        "boType": "Contact",
        "type": "IContactBO",
        "typeRef": "IContactBO"
      },
      "friendlyName": "Contatto",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Anagraphic",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "contactId",
      "underlyingName": "ContactId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "If activity does not exists, create one connected to this activity",
      "friendlyName": "If activity does not exists, create one connected to this activity",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "CreateActivity",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "createActivity",
      "underlyingName": "CreateActivity",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "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 end date of the appointment",
      "friendlyName": "alle",
      "isLogicalPrimitive": true,
      "isRequired": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Date",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "endDate",
      "underlyingName": "EndDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "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"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyInferentialJsonConverter",
      "description": "The geo localization object",
      "friendlyName": "The geo localization object",
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Geo",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "geoLocalization",
      "polymorphicStyleParameterName": "GeoLocalizationStyle",
      "polymorphicStyles": {
        "LegacyV9;Full": {
          "description": "DTO (Data Transfer Object) for Helper class Geo representing the 'Geo' entity",
          "friendlyName": "Geo",
          "kind": "SchemaRootObject",
          "name": "GeoDTO",
          "properties": [
            {
              "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
              "description": "Address accurracy",
              "friendlyName": "Address accurracy",
              "isEnum": true,
              "isLogicalPrimitive": true,
              "isPolymorphic": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "addressAccurracy",
              "polymorphicStyleParameterName": "AddressAccuracyEnumStyle",
              "polymorphicStyles": {
                "LegacyV9;AdaptiveInteger": {
                  "isLogicalPrimitive": true,
                  "kind": "SchemaRootObject",
                  "name": "Int32",
                  "underlyingType": "int",
                  "underlyingTypeRef": "Int32"
                },
                "WebApiV1;AdaptiveInteger": {
                  "isLogicalPrimitive": true,
                  "kind": "SchemaRootObject",
                  "name": "Int32",
                  "underlyingType": "int",
                  "underlyingTypeRef": "Int32"
                },
                "WebApiV1;AdaptiveString": {
                  "isLogicalPrimitive": true,
                  "kind": "SchemaRootObject",
                  "name": "String",
                  "underlyingType": "string",
                  "underlyingTypeRef": "String"
                }
              },
              "underlyingName": "AddressAccurracy",
              "underlyingType": "AddressAccuracy",
              "underlyingTypeRef": "AddressAccuracy"
            },
            {
              "description": "Direction",
              "friendlyName": "Direction",
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "direction",
              "properties": [
                {
                  "description": "Distance",
                  "friendlyName": "Distance",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "distance",
                  "underlyingName": "Distance",
                  "underlyingType": "double",
                  "underlyingTypeRef": "Double"
                },
                {
                  "description": "Duration",
                  "friendlyName": "Duration",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "duration",
                  "underlyingName": "Duration",
                  "underlyingType": "double",
                  "underlyingTypeRef": "Double"
                },
                {
                  "description": "Save Direction",
                  "friendlyName": "Save Direction",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "saveDirection",
                  "underlyingName": "SaveDirection",
                  "underlyingType": "bool",
                  "underlyingTypeRef": "Boolean"
                }
              ],
              "underlyingName": "Direction",
              "underlyingType": "DirectionDTO",
              "underlyingTypeRef": "DirectionDTO"
            },
            {
              "description": "Last Updated",
              "friendlyName": "Last Updated",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "lastUpdated",
              "underlyingName": "LastUpdated",
              "underlyingType": "DateTime",
              "underlyingTypeRef": "DateTime"
            },
            {
              "description": "Location",
              "friendlyName": "Location",
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "locationObject",
              "properties": [
                {
                  "description": "Latitude",
                  "friendlyName": "Latitude",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "lat",
                  "underlyingName": "Latitude",
                  "underlyingType": "double",
                  "underlyingTypeRef": "Double"
                },
                {
                  "description": "Longitude",
                  "friendlyName": "Longitude",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "lng",
                  "underlyingName": "Longitude",
                  "underlyingType": "double",
                  "underlyingTypeRef": "Double"
                }
              ],
              "underlyingName": "LocationObject",
              "underlyingType": "LocationDTO",
              "underlyingTypeRef": "LocationDTO"
            }
          ],
          "underlyingType": "GeoDTO",
          "underlyingTypeRef": "GeoDTO"
        },
        "WebApiV1;Full": {
          "description": "DTO (Data Transfer Object) for Helper class Geo representing the 'Geo' entity",
          "friendlyName": "Geo",
          "kind": "SchemaRootObject",
          "name": "GeoDTO",
          "properties": [
            {
              "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
              "description": "Address accurracy",
              "friendlyName": "Address accurracy",
              "isEnum": true,
              "isLogicalPrimitive": true,
              "isPolymorphic": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "addressAccurracy",
              "polymorphicStyleParameterName": "AddressAccuracyEnumStyle",
              "polymorphicStyles": {
                "LegacyV9;AdaptiveInteger": {
                  "isLogicalPrimitive": true,
                  "kind": "SchemaRootObject",
                  "name": "Int32",
                  "underlyingType": "int",
                  "underlyingTypeRef": "Int32"
                },
                "WebApiV1;AdaptiveInteger": {
                  "isLogicalPrimitive": true,
                  "kind": "SchemaRootObject",
                  "name": "Int32",
                  "underlyingType": "int",
                  "underlyingTypeRef": "Int32"
                },
                "WebApiV1;AdaptiveString": {
                  "isLogicalPrimitive": true,
                  "kind": "SchemaRootObject",
                  "name": "String",
                  "underlyingType": "string",
                  "underlyingTypeRef": "String"
                }
              },
              "underlyingName": "AddressAccurracy",
              "underlyingType": "AddressAccuracy",
              "underlyingTypeRef": "AddressAccuracy"
            },
            {
              "description": "Direction",
              "friendlyName": "Direction",
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "direction",
              "properties": [
                {
                  "description": "Distance",
                  "friendlyName": "Distance",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "distance",
                  "underlyingName": "Distance",
                  "underlyingType": "double",
                  "underlyingTypeRef": "Double"
                },
                {
                  "description": "Duration",
                  "friendlyName": "Duration",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "duration",
                  "underlyingName": "Duration",
                  "underlyingType": "double",
                  "underlyingTypeRef": "Double"
                },
                {
                  "description": "Save Direction",
                  "friendlyName": "Save Direction",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "saveDirection",
                  "underlyingName": "SaveDirection",
                  "underlyingType": "bool",
                  "underlyingTypeRef": "Boolean"
                }
              ],
              "underlyingName": "Direction",
              "underlyingType": "DirectionDTO",
              "underlyingTypeRef": "DirectionDTO"
            },
            {
              "description": "Last Updated",
              "friendlyName": "Last Updated",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "lastUpdated",
              "underlyingName": "LastUpdated",
              "underlyingType": "DateTime",
              "underlyingTypeRef": "DateTime"
            },
            {
              "description": "Location",
              "friendlyName": "Location",
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "locationObject",
              "properties": [
                {
                  "description": "Latitude",
                  "friendlyName": "Latitude",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "lat",
                  "underlyingName": "Latitude",
                  "underlyingType": "double",
                  "underlyingTypeRef": "Double"
                },
                {
                  "description": "Longitude",
                  "friendlyName": "Longitude",
                  "isLogicalPrimitive": true,
                  "kind": "SchemaObjectProperty",
                  "layoutStudioPropertyAttributes": [],
                  "name": "lng",
                  "underlyingName": "Longitude",
                  "underlyingType": "double",
                  "underlyingTypeRef": "Double"
                }
              ],
              "underlyingName": "LocationObject",
              "underlyingType": "LocationDTO",
              "underlyingTypeRef": "LocationDTO"
            }
          ],
          "underlyingType": "GeoDTO",
          "underlyingTypeRef": "GeoDTO"
        },
        "WebApiV1;GeoJSON": {
          "friendlyName": "GeoJsonItem",
          "kind": "SchemaRootObject",
          "name": "GeoJsonItem",
          "properties": [
            {
              "description": "Coordinates",
              "elementSchema": {
                "isLogicalPrimitive": true,
                "kind": "SchemaRootObject",
                "name": "Double",
                "underlyingType": "double",
                "underlyingTypeRef": "Double"
              },
              "friendlyName": "Coordinates",
              "isEnumerable": true,
              "kind": "SchemaArrayProperty",
              "name": "coordinates",
              "underlyingName": "Coordinates",
              "underlyingType": "double[]",
              "underlyingTypeRef": "Double"
            },
            {
              "customConverterType": "StringEnumConverter",
              "description": "Type",
              "friendlyName": "Type",
              "isEnum": true,
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "type",
              "underlyingName": "Type",
              "underlyingType": "GeoJsonType",
              "underlyingTypeRef": "GeoJsonType"
            }
          ],
          "underlyingType": "GeoJsonItem",
          "underlyingTypeRef": "GeoJsonItem"
        }
      },
      "properties": [
        {
          "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
          "description": "Address accurracy",
          "friendlyName": "Address accurracy",
          "isEnum": true,
          "isLogicalPrimitive": true,
          "isPolymorphic": true,
          "kind": "SchemaObjectProperty",
          "layoutStudioPropertyAttributes": [],
          "name": "addressAccurracy",
          "polymorphicStyleParameterName": "AddressAccuracyEnumStyle",
          "polymorphicStyles": {
            "LegacyV9;AdaptiveInteger": {
              "isLogicalPrimitive": true,
              "kind": "SchemaRootObject",
              "name": "Int32",
              "underlyingType": "int",
              "underlyingTypeRef": "Int32"
            },
            "WebApiV1;AdaptiveInteger": {
              "isLogicalPrimitive": true,
              "kind": "SchemaRootObject",
              "name": "Int32",
              "underlyingType": "int",
              "underlyingTypeRef": "Int32"
            },
            "WebApiV1;AdaptiveString": {
              "isLogicalPrimitive": true,
              "kind": "SchemaRootObject",
              "name": "String",
              "underlyingType": "string",
              "underlyingTypeRef": "String"
            }
          },
          "underlyingName": "AddressAccurracy",
          "underlyingType": "AddressAccuracy",
          "underlyingTypeRef": "AddressAccuracy"
        },
        {
          "description": "Direction",
          "friendlyName": "Direction",
          "kind": "SchemaObjectProperty",
          "layoutStudioPropertyAttributes": [],
          "name": "direction",
          "properties": [
            {
              "description": "Distance",
              "friendlyName": "Distance",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "distance",
              "underlyingName": "Distance",
              "underlyingType": "double",
              "underlyingTypeRef": "Double"
            },
            {
              "description": "Duration",
              "friendlyName": "Duration",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "duration",
              "underlyingName": "Duration",
              "underlyingType": "double",
              "underlyingTypeRef": "Double"
            },
            {
              "description": "Save Direction",
              "friendlyName": "Save Direction",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "saveDirection",
              "underlyingName": "SaveDirection",
              "underlyingType": "bool",
              "underlyingTypeRef": "Boolean"
            }
          ],
          "underlyingName": "Direction",
          "underlyingType": "DirectionDTO",
          "underlyingTypeRef": "DirectionDTO"
        },
        {
          "description": "Last Updated",
          "friendlyName": "Last Updated",
          "isLogicalPrimitive": true,
          "kind": "SchemaObjectProperty",
          "layoutStudioPropertyAttributes": [],
          "name": "lastUpdated",
          "underlyingName": "LastUpdated",
          "underlyingType": "DateTime",
          "underlyingTypeRef": "DateTime"
        },
        {
          "description": "Location",
          "friendlyName": "Location",
          "kind": "SchemaObjectProperty",
          "layoutStudioPropertyAttributes": [],
          "name": "locationObject",
          "properties": [
            {
              "description": "Latitude",
              "friendlyName": "Latitude",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "lat",
              "underlyingName": "Latitude",
              "underlyingType": "double",
              "underlyingTypeRef": "Double"
            },
            {
              "description": "Longitude",
              "friendlyName": "Longitude",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "lng",
              "underlyingName": "Longitude",
              "underlyingType": "double",
              "underlyingTypeRef": "Double"
            }
          ],
          "underlyingName": "LocationObject",
          "underlyingType": "LocationDTO",
          "underlyingTypeRef": "LocationDTO"
        }
      ],
      "underlyingName": "GeoLocalization",
      "underlyingType": "GeoDTO",
      "underlyingTypeRef": "GeoDTO"
    },
    {
      "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": "If appointment is private",
      "friendlyName": "Privato",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "IsPrivate",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "isPrivate",
      "underlyingName": "IsPrivate",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "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 lead's id of the appointment",
      "foreignKey": {
        "boType": "Lead",
        "type": "ILeadBO",
        "typeRef": "ILeadBO"
      },
      "friendlyName": "Lead",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Anagraphic",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "leadId",
      "underlyingName": "LeadId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The location of the appointment",
      "friendlyName": "Indirizzo",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Location",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "location",
      "underlyingName": "Location",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "Some appointment notes",
      "friendlyName": "Note",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Note",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "note",
      "underlyingName": "Note",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "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 phone of the appointment place",
      "friendlyName": "Telefono",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Phone",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "max": 50.0,
      "name": "phone",
      "underlyingName": "Phone",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The start date of the appointment",
      "friendlyName": "Dalle",
      "isLogicalPrimitive": true,
      "isRequired": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Date",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "startDate",
      "underlyingName": "StartDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "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 title of the appointment",
      "friendlyName": "Titolo",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Title",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "max": 200.0,
      "name": "title",
      "underlyingName": "Title",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The id of the user that has this appointment",
      "foreignKey": {
        "boType": "Account",
        "type": "IAccountBO",
        "typeRef": "IAccountBO"
      },
      "friendlyName": "Appuntamento per",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Uid",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "uid",
      "underlyingName": "Uid",
      "underlyingType": "int",
      "underlyingTypeRef": "Int32"
    }
  ],
  "underlyingType": "AppointmentDTO",
  "underlyingTypeRef": "AppointmentDTO"
}