]>
Commit | Line | Data |
---|---|---|
b54c578e A |
1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
2 | <model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="14886.2" systemVersion="19A541" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier=""> | |
3 | <entity name="Bottle" representedClassName="BottleMO" syncable="YES" codeGenerationType="class"> | |
4 | <attribute name="bottleID" optional="YES" attributeType="String"/> | |
5 | <attribute name="contents" optional="YES" attributeType="Binary"/> | |
6 | <attribute name="escrowedSigningSPKI" optional="YES" attributeType="Binary"/> | |
7 | <attribute name="peerID" optional="YES" attributeType="String"/> | |
8 | <attribute name="signatureUsingEscrowKey" optional="YES" attributeType="Binary"/> | |
9 | <attribute name="signatureUsingPeerKey" optional="YES" attributeType="Binary"/> | |
10 | <relationship name="container" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Container" inverseName="bottles" inverseEntity="Container"/> | |
11 | </entity> | |
12 | <entity name="Container" representedClassName="ContainerMO" syncable="YES" codeGenerationType="class"> | |
13 | <attribute name="accountDSID" optional="YES" attributeType="String"/> | |
14 | <attribute name="allowedMachineIDs" optional="YES" attributeType="Transformable" valueTransformerName="SetValueTransformer" customClassName="NSSet"/> | |
15 | <attribute name="changeToken" optional="YES" attributeType="String"/> | |
16 | <attribute name="egoPeerID" optional="YES" attributeType="String"/> | |
17 | <attribute name="egoPeerPermanentInfo" optional="YES" attributeType="Binary"/> | |
18 | <attribute name="egoPeerPermanentInfoSig" optional="YES" attributeType="Binary"/> | |
19 | <attribute name="egoPeerStableInfo" optional="YES" attributeType="Binary"/> | |
20 | <attribute name="egoPeerStableInfoSig" optional="YES" attributeType="Binary"/> | |
21 | <attribute name="moreChanges" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/> | |
22 | <attribute name="name" optional="YES" attributeType="String"/> | |
23 | <relationship name="bottles" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Bottle" inverseName="container" inverseEntity="Bottle"/> | |
24 | <relationship name="machines" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Machine" inverseName="container" inverseEntity="Machine"/> | |
25 | <relationship name="peers" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Peer" inverseName="container" inverseEntity="Peer"/> | |
26 | <relationship name="policies" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Policy" inverseName="container" inverseEntity="Policy"/> | |
27 | </entity> | |
28 | <entity name="Machine" representedClassName="MachineMO" syncable="YES" codeGenerationType="class"> | |
29 | <attribute name="allowed" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/> | |
30 | <attribute name="machineID" optional="YES" attributeType="String"/> | |
31 | <attribute name="modified" optional="YES" attributeType="Date" usesScalarValueType="NO"/> | |
32 | <attribute name="seenOnFullList" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/> | |
33 | <attribute name="status" optional="YES" attributeType="Integer 64" usesScalarValueType="YES"/> | |
34 | <relationship name="container" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Container" inverseName="machines" inverseEntity="Container"/> | |
35 | </entity> | |
36 | <entity name="Peer" representedClassName="PeerMO" syncable="YES" codeGenerationType="class"> | |
37 | <attribute name="dynamicInfo" optional="YES" attributeType="Binary"/> | |
38 | <attribute name="dynamicInfoSig" optional="YES" attributeType="Binary"/> | |
39 | <attribute name="isEgoPeer" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/> | |
40 | <attribute name="peerID" optional="YES" attributeType="String"/> | |
41 | <attribute name="permanentInfo" optional="YES" attributeType="Binary"/> | |
42 | <attribute name="permanentInfoSig" optional="YES" attributeType="Binary"/> | |
43 | <attribute name="stableInfo" optional="YES" attributeType="Binary"/> | |
44 | <attribute name="stableInfoSig" optional="YES" attributeType="Binary"/> | |
45 | <relationship name="container" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Container" inverseName="peers" inverseEntity="Container"/> | |
46 | <relationship name="recoveryVoucher" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="RecoveryVoucher" inverseName="beneficiary" inverseEntity="RecoveryVoucher"/> | |
47 | <relationship name="vouchers" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Voucher" inverseName="beneficiary" inverseEntity="Voucher"/> | |
48 | </entity> | |
49 | <entity name="Policy" representedClassName="PolicyMO" syncable="YES" codeGenerationType="class"> | |
50 | <attribute name="policyData" optional="YES" attributeType="Binary"/> | |
51 | <attribute name="policyHash" optional="YES" attributeType="String"/> | |
52 | <attribute name="version" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/> | |
53 | <relationship name="container" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Container" inverseName="policies" inverseEntity="Container"/> | |
54 | </entity> | |
55 | <entity name="RecoveryVoucher" representedClassName="RecoveryVoucherMO" syncable="YES" codeGenerationType="class"> | |
56 | <attribute name="recoverySigningPubKey" optional="YES" attributeType="Binary"/> | |
57 | <attribute name="recoveryVoucherInfo" optional="YES" attributeType="Binary"/> | |
58 | <attribute name="signature" optional="YES" attributeType="Binary"/> | |
59 | <relationship name="beneficiary" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Peer" inverseName="recoveryVoucher" inverseEntity="Peer"/> | |
60 | </entity> | |
61 | <entity name="Voucher" representedClassName="VoucherMO" syncable="YES" codeGenerationType="class"> | |
62 | <attribute name="voucherInfo" optional="YES" attributeType="Binary"/> | |
63 | <attribute name="voucherInfoSig" optional="YES" attributeType="Binary"/> | |
64 | <relationship name="beneficiary" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Peer" inverseName="vouchers" inverseEntity="Peer"/> | |
65 | </entity> | |
66 | <elements> | |
67 | <element name="Bottle" positionX="-549" positionY="-234" width="128" height="150"/> | |
68 | <element name="Container" positionX="-758" positionY="-261" width="128" height="253"/> | |
69 | <element name="Machine" positionX="-549" positionY="-234" width="128" height="133"/> | |
70 | <element name="Peer" positionX="-414" positionY="-387" width="128" height="210"/> | |
71 | <element name="Policy" positionX="-414" positionY="54" width="128" height="105"/> | |
72 | <element name="RecoveryVoucher" positionX="-65" positionY="-297" width="128" height="105"/> | |
73 | <element name="Voucher" positionX="-65" positionY="-171" width="128" height="90"/> | |
74 | </elements> | |
75 | </model> |