{
  "description": "DTO (Data Transfer Object) for Helper class Relation representing the 'Relation' entity",
  "friendlyName": "Relation",
  "kind": "SchemaRootObject",
  "name": "RelationDTO",
  "properties": [
    {
      "description": "The company id of the child",
      "foreignKey": {
        "boType": "Company",
        "type": "CompanyBO",
        "typeRef": "CompanyBO"
      },
      "friendlyName": "The company id of the child",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "childId",
      "underlyingName": "ChildId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "Child Relation",
      "friendlyName": "Child Relation",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "childRelation",
      "underlyingName": "ChildRelation",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
      "description": "Child Type",
      "friendlyName": "Child Type",
      "isEnum": true,
      "isLogicalPrimitive": true,
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "childType",
      "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": "ChildType",
      "underlyingType": "BusinessObjectType",
      "underlyingTypeRef": "BusinessObjectType"
    },
    {
      "description": "Color",
      "friendlyName": "Color",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "color",
      "underlyingName": "Color",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "Created By Date",
      "friendlyName": "Created By Date",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "createdByDate",
      "underlyingName": "CreatedByDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "Created By Id",
      "friendlyName": "Created By Id",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "createdById",
      "underlyingName": "CreatedById",
      "underlyingType": "int",
      "underlyingTypeRef": "Int32"
    },
    {
      "description": "Id",
      "friendlyName": "Id",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "id",
      "underlyingName": "Id",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "In Company",
      "friendlyName": "In Company",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "inCompany",
      "underlyingName": "InCompany",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "description": "In Contact",
      "friendlyName": "In Contact",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "inContact",
      "underlyingName": "InContact",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "description": "Last Modified By Date",
      "friendlyName": "Last Modified By Date",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "lastModifiedByDate",
      "underlyingName": "LastModifiedByDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "description": "Last Modified By Id",
      "friendlyName": "Last Modified By Id",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "lastModifiedById",
      "underlyingName": "LastModifiedById",
      "underlyingType": "int",
      "underlyingTypeRef": "Int32"
    },
    {
      "description": "The company id of the parent",
      "foreignKey": {
        "boType": "Company",
        "type": "CompanyBO",
        "typeRef": "CompanyBO"
      },
      "friendlyName": "The company id of the parent",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "parentId",
      "underlyingName": "ParentId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "Parent Relation",
      "friendlyName": "Parent Relation",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "parentRelation",
      "underlyingName": "ParentRelation",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
      "description": "Parent Type",
      "friendlyName": "Parent Type",
      "isEnum": true,
      "isLogicalPrimitive": true,
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "parentType",
      "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": "ParentType",
      "underlyingType": "BusinessObjectType",
      "underlyingTypeRef": "BusinessObjectType"
    },
    {
      "description": "Relation Type",
      "friendlyName": "Relation Type",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "relationType",
      "underlyingName": "RelationType",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    }
  ],
  "underlyingType": "RelationDTO",
  "underlyingTypeRef": "RelationDTO"
}