{
  "ash" : {
    "generateResource" : "Y"
  },
  "attributes" : [
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "_rowid",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "emailID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "assignedToID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "assignedToID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "categoryID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "categoryID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "createDate",
      "externalType" : "datetime",
      "isIndexed" : "N",
      "name" : "createDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "N"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "createdByID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "createdByID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "largeDataID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "largeDataID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "modifyDate",
      "externalType" : "datetime",
      "name" : "modifyDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "N"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "sourceImportID",
      "externalType" : "char",
      "name" : "sourceImportID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "subject",
      "externalType" : "char",
      "isIndexed" : "N",
      "name" : "subject",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "visibilityPresetID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "visibilityPresetID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "inReplyToMessageID",
      "externalType" : "char",
      "name" : "inReplyToMessageID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "messageID",
      "externalType" : "char",
      "isIndexed" : "Y",
      "name" : "messageID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "processedByUserID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "processedByUserID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "DMIStatusCode",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "DMIStatusCode",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y",
        "recordName" : "dmiStatusCode",
        "sourceKeyPath" : "dmiStatusCode"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "DMIRecordDate",
      "externalType" : "datetime",
      "name" : "DMIRecordDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y",
        "recordName" : "dmiRecordDate",
        "sourceKeyPath" : "dmiRecordDate"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "toString",
      "externalType" : "char",
      "name" : "toString",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "fromString",
      "externalType" : "char",
      "name" : "fromString",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "carbonCopyString",
      "externalType" : "char",
      "name" : "carbonCopyString",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y",
        "recordName" : "ccString"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "blankCarbonCopyString",
      "externalType" : "char",
      "name" : "blankCarbonCopyString",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y",
        "recordName" : "bccString"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "emailMessageDate",
      "externalType" : "datetime",
      "name" : "emailMessageDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y",
        "recordName" : "messageDate"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "rawHeader",
      "externalType" : "char",
      "name" : "rawHeader",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "ordering",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "order",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "originalBodyHeader",
      "externalType" : "object",
      "name" : "originalBodyHeader",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSData"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "ashType" : ":pipe_set",
        "includeInResource" : "Y"
      },
      "columnName" : "readPermissions",
      "externalType" : "char",
      "isIndexed" : "Y",
      "name" : "readPermissions",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "ashType" : ":pipe_set",
        "includeInResource" : "Y"
      },
      "columnName" : "writePermissions",
      "externalType" : "char",
      "name" : "writePermissions",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "addedInModelVersion" : 0,
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "deletionUserID",
      "externalType" : "int",
      "isIndexed" : "Y",
      "name" : "deletionUserID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "addedInModelVersion" : 0,
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "deletionDate",
      "externalType" : "datetime",
      "isIndexed" : "Y",
      "name" : "deletionDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDate"
    },
    {
      "addedInModelVersion" : 0,
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "deletionIdentifier",
      "externalType" : "char",
      "isIndexed" : "Y",
      "name" : "deletionIdentifier",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : 255
    }
  ],
  "className" : "GWEmail",
  "classProperties" : [
    "emailID",
    "assignedToID",
    "categoryID",
    "createDate",
    "createdByID",
    "largeDataID",
    "modifyDate",
    "sourceImportID",
    "subject",
    "visibilityPresetID",
    "inReplyToMessageID",
    "messageID",
    "processedByUserID",
    "DMIStatusCode",
    "DMIRecordDate",
    "toString",
    "fromString",
    "carbonCopyString",
    "blankCarbonCopyString",
    "emailMessageDate",
    "rawHeader",
    "order",
    "originalBodyHeader",
    "readPermissions",
    "writePermissions",
    "deletionUserID",
    "deletionDate",
    "deletionIdentifier",
    "assignedTo",
    "category",
    "createdBy",
    "largeData",
    "visibilityPreset",
    "processedByUser",
    "emailNotes",
    "notes",
    "customRecordSets",
    "emailCustomRecordSets",
    "emailGroups",
    "emailDumbLists",
    "dumbLists",
    "groups",
    "emailKeywords",
    "keywords",
    "emailOpportunities",
    "opportunities",
    "emailOrganizations",
    "organizations",
    "emailProjects",
    "projects",
    "emailTasks",
    "tasks",
    "emailTimeblocks",
    "timeblocks",
    "emailContacts",
    "contacts",
    "fileAttachments",
    "emailFileAttachments",
    "urlReferences",
    "emailURLReferences"
  ],
  "domain" : "Emails",
  "externalName" : "Email",
  "fullTextSearchIndices" : [
    {
      "attributeNames" : [
        "subject"
      ],
      "name" : "subject"
    }
  ],
  "isDatabasePreference" : false,
  "isPresentableInTrash" : true,
  "isTrashable" : true,
  "localizationKey" : "Email",
  "localizationPluralKey" : "Emails",
  "name" : "Email",
  "primaryKeyAttributes" : [
    "emailID"
  ],
  "record" : {
    "allowsRecord" : "Y",
    "isDirectlyUpdatable" : "Y"
  },
  "relationships" : [
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "User",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "userID",
          "sourceAttribute" : "assignedToID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "assignedTo",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N",
        "recordName" : "owner"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "Category",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "categoryID",
          "sourceAttribute" : "categoryID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "category",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "Y",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "User",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "userID",
          "sourceAttribute" : "createdByID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "createdBy",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N",
        "recordName" : "creator"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "LargeData",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "largeDataID",
          "sourceAttribute" : "largeDataID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "largeData",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "VisibilityPreset",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "visibilityPresetID",
          "sourceAttribute" : "visibilityPresetID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "visibilityPreset",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "User",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "userID",
          "sourceAttribute" : "processedByUserID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "processedByUser",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailNoteJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailNotes",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailNotes.note",
      "destination" : "Note",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "notes",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailCustomRecordSets.customRecordSet",
      "destination" : "CustomRecordSet",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "customRecordSets",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailCustomRecordSetJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailCustomRecordSets",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailGroupJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailGroups",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailDumbListJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailDumbLists",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailDumbLists.sourceList",
      "deleteRule" : "EODeleteRuleNullify",
      "destination" : "SourceList",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "dumbLists",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailGroups.group",
      "destination" : "Group",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "groups",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "KeywordEmailJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailKeywords",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailKeywords.keyword",
      "destination" : "Keyword",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "keywords",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "Y",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailOpportunityJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailOpportunities",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailOpportunities.opportunity",
      "destination" : "Opportunity",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "opportunities",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailOrganizationJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailOrganizations",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailOrganizations.organization",
      "destination" : "Organization",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "organizations",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N",
        "recordName" : "companies"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailProjectJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailProjects",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailProjects.project",
      "destination" : "Project",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "projects",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailTaskJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailTasks",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailTasks.task",
      "destination" : "Task",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "tasks",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailTimeblockJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailTimeblocks",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailTimeblocks.timeblock",
      "destination" : "Timeblock",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "timeblocks",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "EmailContactJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailContacts",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailContacts.contact",
      "destination" : "Contact",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "contacts",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailFileAttachments.fileAttachment",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "fileAttachments",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "FileAttachmentEmailJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailFileAttachments",
      "ownsDestination" : "Y",
      "propagatesPrimaryKey" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "definition" : "emailURLReferences.uRLReference",
      "joins" : [

      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "urlReferences",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "URLReferenceEmailJoin",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "emailID",
          "sourceAttribute" : "emailID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "emailURLReferences",
      "ownsDestination" : "Y",
      "propagatesPrimaryKey" : "Y",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    }
  ],
  "supportsPermissions" : true,
  "uniqueIdentifier" : "147"
}