{
  "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"
}