crossmate

A collaborative crossword app for iOS
Log | Files | Refs | LICENSE

contents (7137B)


      1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      2 <model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="22522" systemVersion="24F74" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithSwiftData="NO" userDefinedModelVersionIdentifier="">
      3     <entity name="GameEntity" representedClassName="GameEntity" syncable="YES" codeGenerationType="class">
      4         <attribute name="blockMask" optional="YES" attributeType="Binary"/>
      5         <attribute name="cachedPublisher" optional="YES" attributeType="String"/>
      6         <attribute name="cachedPuzzleDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
      7         <attribute name="ckRecordName" optional="YES" attributeType="String"/>
      8         <attribute name="ckShareRecordName" optional="YES" attributeType="String"/>
      9         <attribute name="ckSystemFields" optional="YES" attributeType="Binary"/>
     10         <attribute name="ckZoneName" optional="YES" attributeType="String"/>
     11         <attribute name="ckZoneOwnerName" optional="YES" attributeType="String"/>
     12         <attribute name="completedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
     13         <attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
     14         <attribute name="databaseScope" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
     15         <attribute name="gridHeight" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
     16         <attribute name="gridWidth" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
     17         <attribute name="id" attributeType="UUID" usesScalarValueType="NO"/>
     18         <attribute name="isAccessRevoked" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
     19         <attribute name="lastSeenOtherMoveAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
     20         <attribute name="lastSyncedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
     21         <attribute name="latestOtherMoveAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
     22         <attribute name="puzzleResourceID" optional="YES" attributeType="String"/>
     23         <attribute name="puzzleCmVersion" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
     24         <attribute name="puzzleSource" attributeType="String"/>
     25         <attribute name="title" attributeType="String"/>
     26         <attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
     27         <relationship name="cells" toMany="YES" deletionRule="Cascade" destinationEntity="CellEntity" inverseName="game" inverseEntity="CellEntity"/>
     28         <relationship name="moves" toMany="YES" deletionRule="Cascade" destinationEntity="MovesEntity" inverseName="game" inverseEntity="MovesEntity"/>
     29         <relationship name="players" toMany="YES" deletionRule="Cascade" destinationEntity="PlayerEntity" inverseName="game" inverseEntity="PlayerEntity"/>
     30     </entity>
     31     <entity name="PlayerEntity" representedClassName="PlayerEntity" syncable="YES" codeGenerationType="class">
     32         <attribute name="authorID" attributeType="String"/>
     33         <attribute name="ckRecordName" attributeType="String"/>
     34         <attribute name="ckSystemFields" optional="YES" attributeType="Binary"/>
     35         <attribute name="name" attributeType="String" defaultValueString=""/>
     36         <attribute name="selCol" optional="YES" attributeType="Integer 64" usesScalarValueType="NO"/>
     37         <attribute name="selDir" optional="YES" attributeType="Integer 64" usesScalarValueType="NO"/>
     38         <attribute name="selRow" optional="YES" attributeType="Integer 64" usesScalarValueType="NO"/>
     39         <attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
     40         <relationship name="game" maxCount="1" deletionRule="Nullify" destinationEntity="GameEntity" inverseName="players" inverseEntity="GameEntity"/>
     41         <fetchIndex name="byGameAndAuthor">
     42             <fetchIndexElement property="game" type="Binary" order="ascending"/>
     43             <fetchIndexElement property="authorID" type="Binary" order="ascending"/>
     44         </fetchIndex>
     45     </entity>
     46     <entity name="MovesEntity" representedClassName="MovesEntity" syncable="YES" codeGenerationType="class">
     47         <attribute name="authorID" attributeType="String"/>
     48         <attribute name="cells" attributeType="Binary"/>
     49         <attribute name="ckRecordName" attributeType="String"/>
     50         <attribute name="ckSystemFields" optional="YES" attributeType="Binary"/>
     51         <attribute name="deviceID" attributeType="String"/>
     52         <attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
     53         <relationship name="game" maxCount="1" deletionRule="Nullify" destinationEntity="GameEntity" inverseName="moves" inverseEntity="GameEntity"/>
     54         <fetchIndex name="byGameAndAuthorAndDevice">
     55             <fetchIndexElement property="game" type="Binary" order="ascending"/>
     56             <fetchIndexElement property="authorID" type="Binary" order="ascending"/>
     57             <fetchIndexElement property="deviceID" type="Binary" order="ascending"/>
     58         </fetchIndex>
     59     </entity>
     60     <entity name="CellEntity" representedClassName="CellEntity" syncable="YES" codeGenerationType="class">
     61         <attribute name="checkedWrong" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
     62         <attribute name="ckRecordName" optional="YES" attributeType="String"/>
     63         <attribute name="ckSystemFields" optional="YES" attributeType="Binary"/>
     64         <attribute name="col" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
     65         <attribute name="databaseScope" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
     66         <attribute name="lastSyncedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
     67         <attribute name="letter" attributeType="String" defaultValueString=""/>
     68         <attribute name="letterAuthorID" optional="YES" attributeType="String"/>
     69         <attribute name="markKind" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
     70         <attribute name="row" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
     71         <attribute name="updatedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
     72         <relationship name="game" maxCount="1" deletionRule="Nullify" destinationEntity="GameEntity" inverseName="cells" inverseEntity="GameEntity"/>
     73     </entity>
     74     <entity name="SyncStateEntity" representedClassName="SyncStateEntity" syncable="YES" codeGenerationType="class">
     75         <attribute name="ckPrivateEngineState" optional="YES" attributeType="Binary"/>
     76         <attribute name="ckSharedEngineState" optional="YES" attributeType="Binary"/>
     77         <attribute name="id" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
     78         <attribute name="lastSyncedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
     79     </entity>
     80 </model>