{
  "ash" : {
    "generateResource" : "N"
  },
  "attributes" : [
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "_rowid",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "subscribedCalendarID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "ll"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "name",
      "externalType" : "char",
      "name" : "name",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "valueType" : "c",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "ashName" : "respect_free_busy?",
        "ashType" : ":boolean_integer",
        "includeInResource" : "Y"
      },
      "columnName" : "respectFreeBusy",
      "defaultValue" : "1",
      "externalType" : "int",
      "name" : "respectFreeBusy",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "resourcePath",
      "externalType" : "char",
      "name" : "resourcePath",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "valueType" : "c",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "hexColor",
      "externalType" : "char",
      "name" : "hexColor",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "valueType" : "c",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "subscribedCalendarAccountID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "subscribedCalendarAccountID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "ll"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "ashName" : "type",
        "ashType" : "Daylite.Events.SubscribedCalendar.Type",
        "includeInResource" : "Y"
      },
      "columnName" : "typeCode",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "typeCode",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "lastUpdateDate",
      "externalType" : "datetime",
      "name" : "lastUpdateDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "nextUpdateDate",
      "externalType" : "datetime",
      "name" : "nextUpdateDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDate"
    },
    {
      "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" : "GWSubscribedCalendar",
  "classProperties" : [
    "subscribedCalendarID",
    "name",
    "respectFreeBusy",
    "resourcePath",
    "hexColor",
    "subscribedCalendarAccountID",
    "typeCode",
    "lastUpdateDate",
    "nextUpdateDate",
    "deletionUserID",
    "deletionDate",
    "deletionIdentifier",
    "subscribedCalendarAccount",
    "timeblocks"
  ],
  "domain" : "Events",
  "enums" : [
    {
      "addedInModelVersion" : 1,
      "items" : [
        {
          "addedInModelVersion" : 1001,
          "name" : "Unspecified",
          "value" : 0
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "CalDAV",
          "value" : 1
        },
        {
          "addedInModelVersion" : 1001,
          "name" : "ICS",
          "value" : 2
        }
      ],
      "name" : "SubscribedCalendarType",
      "type" : 1
    }
  ],
  "externalName" : "SubscribedCalendar",
  "isDatabasePreference" : false,
  "isTrashable" : true,
  "name" : "SubscribedCalendar",
  "primaryKeyAttributes" : [
    "subscribedCalendarID"
  ],
  "record" : {
    "allowsRecord" : "Y",
    "isDirectlyUpdatable" : "Y"
  },
  "relationships" : [
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "SubscribedCalendarAccount",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "subscribedCalendarAccountID",
          "sourceAttribute" : "subscribedCalendarAccountID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "subscribedCalendarAccount",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "Timeblock",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "subscribedCalendarID",
          "sourceAttribute" : "subscribedCalendarID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "timeblocks",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    }
  ],
  "supportsPermissions" : false,
  "uniqueIdentifier" : "169"
}