{
  "ash" : {
    "generateResource" : "Y"
  },
  "attributes" : [
    {
      "allowsNull" : "N",
      "ash" : {
        "ashName" : "social_profile_service",
        "ashType" : "Daylite.Contacts.ElectronicAddress.SocialProfileService",
        "includeInResource" : "Y"
      },
      "columnName" : "addressProviderCode",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "addressProviderCode",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "Y",
        "isUpdatable" : "Y",
        "recordName" : "socialProfileService",
        "recordType" : "SocialProfile.Service"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "N"
      },
      "columnName" : "addressTypeCode",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "addressTypeCode",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "contactID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "contactID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "createDate",
      "externalType" : "datetime",
      "name" : "createDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "Y",
        "isUpdatable" : "N"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "_rowid",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "eAddressID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "labelID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "labelID",
      "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" : "Y",
        "isUpdatable" : "N"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "note",
      "externalType" : "char",
      "name" : "note",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "Y",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "N",
      "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" : "organizationID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "organizationID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "N"
      },
      "columnName" : "palmPhoneIndex",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "palmPhoneIndex",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "supportedPlatforms" : "MCPSupportedPlatformsAll",
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "N"
      },
      "columnName" : "typeCode",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "typeCode",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "url",
      "externalType" : "char",
      "name" : "url",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "Y",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : 2048
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "N"
      },
      "columnName" : "useWhenSend",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "useWhenSendingEmail",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "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" : "GWElectronicAddress",
  "classProperties" : [
    "addressProviderCode",
    "addressTypeCode",
    "contactID",
    "createDate",
    "eAddressID",
    "labelID",
    "modifyDate",
    "note",
    "order",
    "organizationID",
    "palmPhoneIndex",
    "typeCode",
    "url",
    "useWhenSendingEmail",
    "deletionUserID",
    "deletionDate",
    "deletionIdentifier",
    "contact",
    "label",
    "organization"
  ],
  "domain" : "Contacts",
  "enums" : [
    {
      "addedInModelVersion" : 1,
      "items" : [
        {
          "addedInModelVersion" : 1001,
          "name" : "AIM",
          "value" : 0
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "Jabber",
          "value" : 1
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "MSN",
          "value" : 2
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "Yahoo",
          "value" : 3
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "ICQ",
          "value" : 4
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "Twitter",
          "value" : 5
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "Facebook",
          "value" : 6
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "LinkedIn",
          "value" : 7
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "Skype",
          "value" : 8
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "GaduGadu",
          "value" : 9
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "GoogleTalk",
          "value" : 10
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "QQ",
          "value" : 11
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "Flickr",
          "value" : 12
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "MySpace",
          "value" : 13
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "SinaWeibo",
          "value" : 14
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "TencentWeibo",
          "value" : 15
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "Yelp",
          "value" : 16
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "Other",
          "value" : 17
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "GameCenter",
          "value" : 18
        }
      ],
      "name" : "ElectronicAddressSocialProfileService",
      "type" : 1
    }
  ],
  "externalName" : "ElectronicAddress",
  "fetchSpecificationDictionary" : {

  },
  "isDatabasePreference" : false,
  "isTrashable" : true,
  "name" : "ElectronicAddress",
  "primaryKeyAttributes" : [
    "eAddressID"
  ],
  "record" : {
    "allowsRecord" : "Y",
    "isDirectlyUpdatable" : "Y",
    "recordName" : "AnyElectronicAddress"
  },
  "relationships" : [
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "Contact",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "contactID",
          "sourceAttribute" : "contactID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "contact",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "Label",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "labelID",
          "sourceAttribute" : "labelID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "label",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "Y",
        "isInternal" : "Y",
        "propagatesUpdates" : "N",
        "recordName" : "labelRecord"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "Organization",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "organizationID",
          "sourceAttribute" : "organizationID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "organization",
      "record" : {
        "allowsRecord" : "N",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    }
  ],
  "supportsPermissions" : false,
  "uniqueIdentifier" : "30"
}