{
  "addedInModelVersion" : 1152,
  "ash" : {
    "generateResource" : "Y"
  },
  "attributes" : [
    {
      "addedInModelVersion" : 1152,
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "_rowid",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "googleCalendarRuleInfoID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "addedInModelVersion" : 1152,
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "userID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "userID",
      "purpose" : "The user the rule belongs to.",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "addedInModelVersion" : 1152,
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "categoryID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "categoryID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "addedInModelVersion" : 1152,
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "externalCalendarID",
      "externalType" : "char",
      "name" : "externalCalendarID",
      "purpose" : "Stores the external calendar id for the app to uniquely identify the calendar.",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : 1024
    },
    {
      "addedInModelVersion" : 1152,
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "externalCalendarName",
      "externalType" : "char",
      "name" : "externalCalendarName",
      "purpose" : "Stores the external calendar name for display in the app.",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : 256
    },
    {
      "addedInModelVersion" : 1152,
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "externalCalendarColor",
      "externalType" : "char",
      "name" : "externalCalendarColor",
      "purpose" : "Hex encoded color string of the external calendar color for display in the app.",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : 64
    }
  ],
  "className" : "GWGoogleCalendarRuleInfo",
  "classProperties" : [
    "googleCalendarRuleInfoID",
    "userID",
    "categoryID",
    "externalCalendarID",
    "externalCalendarName",
    "externalCalendarColor",
    "category",
    "user"
  ],
  "domain" : "CalendarSync",
  "externalName" : "GoogleCalendarRuleInfo",
  "isDatabasePreference" : false,
  "isTrashable" : false,
  "moduleName" : "DLSubstrate",
  "name" : "GoogleCalendarRuleInfo",
  "primaryKeyAttributes" : [
    "googleCalendarRuleInfoID"
  ],
  "record" : {
    "allowsRecord" : "Y",
    "isDirectlyUpdatable" : "Y"
  },
  "relationships" : [
    {
      "addedInModelVersion" : 1152,
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "Category",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "categoryID",
          "sourceAttribute" : "categoryID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "category",
      "purpose" : "The category the rule belongs to. Any timeblocks associated with this category will be synced to the external calendar. The category is used on the backend to determine whether the Timeblock needs to be processed for a possible external calendar sync.",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "addedInModelVersion" : 1152,
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "User",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "userID",
          "sourceAttribute" : "userID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "user",
      "purpose" : "The user that owns the syncing rule.",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    }
  ],
  "supportsPermissions" : false,
  "syncs" : true,
  "uniqueIdentifier" : 229
}