{
  "boType": "Opportunity",
  "description": "DTO (Data Transfer Object) for BO (Business Object) class 'OpportunityBO' representing the 'Opportunity' entity",
  "friendlyName": "Opportunità",
  "kind": "SchemaRootObject",
  "name": "OpportunityDTO",
  "properties": [
    {
      "description": "The amount of opportunity",
      "friendlyName": "Ammontare",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Amount",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": true
        }
      ],
      "name": "amount",
      "underlyingName": "Amount",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "The budget of opportunity",
      "friendlyName": "Obiettivo",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Budget",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "budget",
      "underlyingName": "Budget",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyInferentialJsonConverter",
      "description": "The category of opportunity",
      "foreignKey": {
        "boType": "OpportunityCategory",
        "list": "ListOpportunityCategory",
        "listDefinitionResolver": "api/latest/Lists/GetListDefinitionForListOpportunityCategory",
        "type": "IOpportunityCategoryBO",
        "typeRef": "IOpportunityCategoryBO"
      },
      "friendlyName": "Categoria",
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Category",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "category",
      "polymorphicStyleParameterName": "OpportunityCategoryStyle",
      "polymorphicStyles": {
        "LegacyV9;Id": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "Int64",
          "underlyingType": "long",
          "underlyingTypeRef": "Int64"
        },
        "WebApiV1;AdaptiveDescription": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveExternalReference": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveStringOnlyDescription": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;FlattenedExpansion": {
          "friendlyName": "FlattenedExpansionSchema",
          "kind": "SchemaRootObject",
          "name": "FlattenedExpansionSchema",
          "properties": [
            {
              "description": "Category",
              "friendlyName": "Category",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "category",
              "underlyingName": "Category",
              "underlyingType": "long",
              "underlyingTypeRef": "Int64"
            },
            {
              "description": "Category Description",
              "friendlyName": "Category Description",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "category_Description",
              "underlyingName": "Category_Description",
              "underlyingType": "string",
              "underlyingTypeRef": "String"
            }
          ],
          "underlyingType": "FlattenedExpansionSchema",
          "underlyingTypeRef": "FlattenedExpansionSchema"
        },
        "WebApiV1;Id": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "Int64",
          "underlyingType": "long",
          "underlyingTypeRef": "Int64"
        }
      },
      "underlyingName": "Category",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The close date of opportunity",
      "friendlyName": "Data chiusura",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "CloseDate",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": true
        }
      ],
      "name": "closeDate",
      "underlyingName": "CloseDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "The code of the opportunity",
      "friendlyName": "Codice",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Code",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "max": 50.0,
      "name": "code",
      "underlyingName": "Code",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "customConverterType": "FilterForItemsOfArrayConverter",
      "description": "The competitors list",
      "elementSchema": {
        "description": "DTO (Data Transfer Object) for Helper class OpportunityCompetitor representing the 'Opportunity Competitor' entity",
        "friendlyName": "OpportunityCompetitor",
        "kind": "SchemaRootObject",
        "name": "OpportunityCompetitorDTO",
        "properties": [
          {
            "description": "The company's id",
            "foreignKey": {
              "boType": "Company",
              "type": "ICompanyBO",
              "typeRef": "ICompanyBO"
            },
            "friendlyName": "Concorrente",
            "isLogicalPrimitive": true,
            "isRequired": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "max": -1.0,
            "name": "competitorId",
            "underlyingName": "CompetitorId",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "Id",
            "friendlyName": "Id",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "id",
            "underlyingName": "Id",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "The role",
            "friendlyName": "Ruolo",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "max": -1.0,
            "name": "role",
            "underlyingName": "Role",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          }
        ],
        "underlyingType": "OpportunityCompetitorDTO",
        "underlyingTypeRef": "OpportunityCompetitorDTO"
      },
      "friendlyName": "Concorrenti",
      "isEnumerable": true,
      "kind": "SchemaArrayProperty",
      "max": -1.0,
      "name": "competitors",
      "underlyingName": "Competitors",
      "underlyingType": "OpportunityCompetitorDTO[]",
      "underlyingTypeRef": "OpportunityCompetitorDTO"
    },
    {
      "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 id of anagraphic on the opportunity",
      "foreignKey": {
        "boType": "Company",
        "type": "CompanyBO",
        "typeRef": "CompanyBO"
      },
      "friendlyName": "Cliente",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "CrossWith",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "crossId",
      "underlyingName": "CrossId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "Cross Name",
      "friendlyName": "Cross Name",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "crossName",
      "underlyingName": "CrossName",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "acceptableValues": [
        [
          0,
          1,
          2
        ]
      ],
      "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
      "description": "The type of anagraphic on the opportunity",
      "friendlyName": "The type of anagraphic on the opportunity",
      "isEnum": true,
      "isLogicalPrimitive": true,
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "CrossWith",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "crossType",
      "polymorphicStyleParameterName": "BusinessObjectTypeEnumStyle",
      "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": "CrossType",
      "underlyingType": "BusinessObjectType",
      "underlyingTypeRef": "BusinessObjectType"
    },
    {
      "description": "The description of the opportunity",
      "friendlyName": "Descrizione",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Description",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "max": 3000.0,
      "name": "description",
      "underlyingName": "Description",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The phase expiration date",
      "friendlyName": "Data scadenza fase",
      "isLogicalPrimitive": true,
      "isNullable": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "expirationDate",
      "underlyingName": "ExpirationDate",
      "underlyingType": "DateTime?",
      "underlyingTypeRef": "Nullable`1"
    },
    {
      "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": "Flow",
      "friendlyName": "Flow",
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "flow",
      "properties": [
        {
          "description": "Flow Id",
          "friendlyName": "Flow Id",
          "isLogicalPrimitive": true,
          "kind": "SchemaObjectProperty",
          "layoutStudioPropertyAttributes": [],
          "name": "flowId",
          "underlyingName": "FlowId",
          "underlyingType": "long",
          "underlyingTypeRef": "Int64"
        },
        {
          "description": "Log Id",
          "friendlyName": "Log Id",
          "isLogicalPrimitive": true,
          "kind": "SchemaObjectProperty",
          "layoutStudioPropertyAttributes": [],
          "name": "logId",
          "underlyingName": "LogId",
          "underlyingType": "long",
          "underlyingTypeRef": "Int64"
        }
      ],
      "underlyingName": "Flow",
      "underlyingType": "FlowLinkDTO",
      "underlyingTypeRef": "FlowLinkDTO"
    },
    {
      "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": "The groups of the object",
      "elementSchema": {
        "isLogicalPrimitive": true,
        "kind": "SchemaRootObject",
        "name": "Int64",
        "underlyingType": "long",
        "underlyingTypeRef": "Int64"
      },
      "friendlyName": "Gruppi",
      "isEnumerable": true,
      "kind": "SchemaArrayProperty",
      "name": "groups",
      "underlyingName": "Groups",
      "underlyingType": "long[]",
      "underlyingTypeRef": "Int64"
    },
    {
      "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": "Lost Reason",
      "foreignKey": {
        "boType": "OpportunityLostReason",
        "list": "ListLostReason",
        "listDefinitionResolver": "api/latest/Lists/GetListDefinitionForListLostReason",
        "type": "IOpportunityLostReasonBO",
        "typeRef": "IOpportunityLostReasonBO"
      },
      "friendlyName": "Motivazione chiusura",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "LostReason",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "lostReason",
      "underlyingName": "LostReason",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "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"
    },
    {
      "customConverterType": "FilterForItemsOfArrayConverter",
      "description": "The patners list",
      "elementSchema": {
        "description": "DTO (Data Transfer Object) for Helper class OpportunityPartner representing the 'Opportunity Partner' entity",
        "friendlyName": "OpportunityPartner",
        "kind": "SchemaRootObject",
        "name": "OpportunityPartnerDTO",
        "properties": [
          {
            "description": "Id",
            "friendlyName": "Id",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "id",
            "underlyingName": "Id",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "The partner's id",
            "foreignKey": {
              "boType": "Company",
              "type": "ICompanyBO",
              "typeRef": "ICompanyBO"
            },
            "friendlyName": "Partner",
            "isLogicalPrimitive": true,
            "isRequired": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "max": -1.0,
            "name": "partnerId",
            "underlyingName": "PartnerId",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "The role",
            "friendlyName": "Ruolo",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "max": -1.0,
            "name": "role",
            "underlyingName": "Role",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          }
        ],
        "underlyingType": "OpportunityPartnerDTO",
        "underlyingTypeRef": "OpportunityPartnerDTO"
      },
      "friendlyName": "Partner",
      "isEnumerable": true,
      "kind": "SchemaArrayProperty",
      "max": -1.0,
      "name": "partners",
      "underlyingName": "Partners",
      "underlyingType": "OpportunityPartnerDTO[]",
      "underlyingTypeRef": "OpportunityPartnerDTO"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyInferentialJsonConverter",
      "description": "The phase of opportunity",
      "foreignKey": {
        "boType": "OpportunityPhase",
        "list": "ListPhase",
        "listDefinitionResolver": "api/latest/Lists/GetListDefinitionForListPhase",
        "type": "IOpportunityPhaseBO",
        "typeRef": "IOpportunityPhaseBO"
      },
      "friendlyName": "Fase",
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Phase",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": true
        }
      ],
      "name": "phase",
      "polymorphicStyleParameterName": "OpportunityPhaseStyle",
      "polymorphicStyles": {
        "LegacyV9;Id": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "Int64",
          "underlyingType": "long",
          "underlyingTypeRef": "Int64"
        },
        "WebApiV1;AdaptiveDescription": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveExternalReference": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;AdaptiveStringOnlyDescription": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "String",
          "underlyingType": "string",
          "underlyingTypeRef": "String"
        },
        "WebApiV1;FlattenedExpansion": {
          "friendlyName": "FlattenedExpansionSchema",
          "kind": "SchemaRootObject",
          "name": "FlattenedExpansionSchema",
          "properties": [
            {
              "description": "Phase",
              "friendlyName": "Phase",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "phase",
              "underlyingName": "Phase",
              "underlyingType": "long",
              "underlyingTypeRef": "Int64"
            },
            {
              "description": "Phase Description",
              "friendlyName": "Phase Description",
              "isLogicalPrimitive": true,
              "kind": "SchemaObjectProperty",
              "layoutStudioPropertyAttributes": [],
              "name": "phase_Description",
              "underlyingName": "Phase_Description",
              "underlyingType": "string",
              "underlyingTypeRef": "String"
            }
          ],
          "underlyingType": "FlattenedExpansionSchema",
          "underlyingTypeRef": "FlattenedExpansionSchema"
        },
        "WebApiV1;Id": {
          "isLogicalPrimitive": true,
          "kind": "SchemaRootObject",
          "name": "Int64",
          "underlyingType": "long",
          "underlyingTypeRef": "Int64"
        }
      },
      "underlyingName": "Phase",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The probability of opportunity",
      "friendlyName": "Probabilità (%)",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Probability",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": true
        }
      ],
      "name": "probability",
      "underlyingName": "Probability",
      "underlyingType": "byte",
      "underlyingTypeRef": "Byte"
    },
    {
      "customConverterType": "FilterForItemsOfArrayConverter",
      "description": "The full products list",
      "elementSchema": {
        "description": "DTO (Data Transfer Object) for Helper class OpportunityProduct representing the 'Opportunity Product' entity",
        "friendlyName": "OpportunityProduct",
        "kind": "SchemaRootObject",
        "name": "OpportunityProductDTO",
        "properties": [
          {
            "description": "Active",
            "friendlyName": "Attivo",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "active",
            "underlyingName": "Active",
            "underlyingType": "bool",
            "underlyingTypeRef": "Boolean"
          },
          {
            "description": "Discount Formula",
            "friendlyName": "Formula di sconto",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "discountFormula",
            "underlyingName": "DiscountFormula",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          },
          {
            "description": "Id",
            "friendlyName": "Id",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "id",
            "underlyingName": "Id",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "Product Id",
            "foreignKey": {
              "boType": "Catalog",
              "type": "ICatalogBO",
              "typeRef": "ICatalogBO"
            },
            "friendlyName": "Prodotto",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "productId",
            "underlyingName": "ProductId",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "Product Name",
            "friendlyName": "Nome prodotto",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "productName",
            "underlyingName": "ProductName",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          },
          {
            "description": "Product Price",
            "friendlyName": "Prezzo unitario",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "productPrice",
            "underlyingName": "ProductPrice",
            "underlyingType": "decimal",
            "underlyingTypeRef": "Decimal"
          },
          {
            "description": "Product Qta",
            "friendlyName": "Qtà",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "productQta",
            "underlyingName": "ProductQta",
            "underlyingType": "decimal",
            "underlyingTypeRef": "Decimal"
          },
          {
            "description": "Product Taxable Amount",
            "friendlyName": "Totale",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "productTaxableAmount",
            "underlyingName": "ProductTaxableAmount",
            "underlyingType": "decimal",
            "underlyingTypeRef": "Decimal"
          },
          {
            "description": "Product Um",
            "friendlyName": "UM",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "productUm",
            "underlyingName": "ProductUm",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          },
          {
            "description": "Product Um Id",
            "foreignKey": {
              "boType": "AlternativeUnit",
              "list": "UnitOfMeasure",
              "listDefinitionResolver": "api/latest/Lists/GetListDefinitionForUnitOfMeasure",
              "type": "IAlternativeUnitBO",
              "typeRef": "IAlternativeUnitBO"
            },
            "friendlyName": "UM",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "productUmId",
            "underlyingName": "ProductUmId",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          }
        ],
        "underlyingType": "OpportunityProductDTO",
        "underlyingTypeRef": "OpportunityProductDTO"
      },
      "friendlyName": "Prodotti",
      "isEnumerable": true,
      "kind": "SchemaArrayProperty",
      "max": -1.0,
      "name": "products",
      "underlyingName": "Products",
      "underlyingType": "OpportunityProductDTO[]",
      "underlyingTypeRef": "OpportunityProductDTO"
    },
    {
      "customConverterType": "FilterForItemsOfArrayConverter",
      "description": "The referrers list",
      "elementSchema": {
        "description": "DTO (Data Transfer Object) for Helper class OpportunityReferrer representing the 'Opportunity Referrer' entity",
        "friendlyName": "OpportunityReferrer",
        "kind": "SchemaRootObject",
        "name": "OpportunityReferrerDTO",
        "properties": [
          {
            "description": "Id",
            "friendlyName": "Id",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "id",
            "underlyingName": "Id",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
            "description": "Influencer Role Type",
            "friendlyName": "InfluencerRole",
            "isEnum": true,
            "isLogicalPrimitive": true,
            "isPolymorphic": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "influencerRoleType",
            "polymorphicStyleParameterName": "InfluencerRoleTypeEnumStyle",
            "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": "InfluencerRoleType",
            "underlyingType": "InfluencerRoleType",
            "underlyingTypeRef": "InfluencerRoleType"
          },
          {
            "description": "The referrer's id",
            "foreignKey": {
              "boType": "Contact",
              "type": "IContactBO",
              "typeRef": "IContactBO"
            },
            "friendlyName": "Referente",
            "isLogicalPrimitive": true,
            "isRequired": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "max": -1.0,
            "name": "referrerId",
            "underlyingName": "ReferrerId",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "The role",
            "friendlyName": "Ruolo",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "max": -1.0,
            "name": "role",
            "underlyingName": "Role",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          },
          {
            "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
            "description": "Status Type",
            "friendlyName": "Stato",
            "isEnum": true,
            "isLogicalPrimitive": true,
            "isPolymorphic": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "statusType",
            "polymorphicStyleParameterName": "OpportunityRefStatusTypeEnumStyle",
            "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": "StatusType",
            "underlyingType": "OpportunityRefStatusType",
            "underlyingTypeRef": "OpportunityRefStatusType"
          }
        ],
        "underlyingType": "OpportunityReferrerDTO",
        "underlyingTypeRef": "OpportunityReferrerDTO"
      },
      "friendlyName": "Referenti",
      "isEnumerable": true,
      "kind": "SchemaArrayProperty",
      "max": -1.0,
      "name": "referrers",
      "underlyingName": "Referrers",
      "underlyingType": "OpportunityReferrerDTO[]",
      "underlyingTypeRef": "OpportunityReferrerDTO"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
      "description": "The status of opportunity",
      "friendlyName": "Stato",
      "isEnum": true,
      "isLogicalPrimitive": true,
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Status",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": true
        }
      ],
      "name": "status",
      "polymorphicStyleParameterName": "OpportunityStatusEnumStyle",
      "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": "Status",
      "underlyingType": "OpportunityStatus",
      "underlyingTypeRef": "OpportunityStatus"
    },
    {
      "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 opportunity",
      "friendlyName": "Nome",
      "isLogicalPrimitive": true,
      "isRequired": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Title",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "max": 50.0,
      "name": "title",
      "underlyingName": "Title",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    }
  ],
  "underlyingType": "OpportunityDTO",
  "underlyingTypeRef": "OpportunityDTO"
}