<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="22222" systemVersion="22G91" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
    <entity name="Draft" representedClassName="ComposeUI.Draft" syncable="YES">
        <attribute name="accountID" attributeType="String"/>
        <attribute name="contentWarning" attributeType="String" defaultValueString=""/>
        <attribute name="contentWarningEnabled" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <attribute name="editedStatusID" optional="YES" attributeType="String"/>
        <attribute name="id" attributeType="UUID" usesScalarValueType="NO"/>
        <attribute name="initialContentWarning" optional="YES" attributeType="String"/>
        <attribute name="initialText" attributeType="String"/>
        <attribute name="inReplyToID" optional="YES" attributeType="String"/>
        <attribute name="language" optional="YES" attributeType="String"/>
        <attribute name="lastModified" attributeType="Date" usesScalarValueType="NO"/>
        <attribute name="localOnly" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
        <attribute name="text" attributeType="String" defaultValueString=""/>
        <attribute name="visibilityStr" optional="YES" attributeType="String"/>
        <relationship name="attachments" toMany="YES" deletionRule="Cascade" ordered="YES" destinationEntity="DraftAttachment" inverseName="draft" inverseEntity="DraftAttachment"/>
        <relationship name="poll" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="Poll" inverseName="draft" inverseEntity="Poll"/>
    </entity>
    <entity name="DraftAttachment" representedClassName="ComposeUI.DraftAttachment" syncable="YES">
        <attribute name="assetID" optional="YES" attributeType="String"/>
        <attribute name="attachmentDescription" attributeType="String" defaultValueString=""/>
        <attribute name="drawingData" optional="YES" attributeType="Binary"/>
        <attribute name="editedAttachmentID" optional="YES" attributeType="String"/>
        <attribute name="editedAttachmentKindString" optional="YES" attributeType="String"/>
        <attribute name="editedAttachmentURL" optional="YES" attributeType="URI"/>
        <attribute name="fileType" optional="YES" attributeType="String"/>
        <attribute name="fileURL" optional="YES" attributeType="URI"/>
        <attribute name="id" attributeType="UUID" usesScalarValueType="NO"/>
        <relationship name="draft" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Draft" inverseName="attachments" inverseEntity="Draft"/>
    </entity>
    <entity name="Poll" representedClassName="ComposeUI.Poll" syncable="YES">
        <attribute name="duration" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="multiple" attributeType="Boolean" usesScalarValueType="YES"/>
        <relationship name="draft" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Draft" inverseName="poll" inverseEntity="Draft"/>
        <relationship name="options" toMany="YES" deletionRule="Cascade" ordered="YES" destinationEntity="PollOption" inverseName="poll" inverseEntity="PollOption"/>
    </entity>
    <entity name="PollOption" representedClassName="ComposeUI.PollOption" syncable="YES">
        <attribute name="text" attributeType="String" defaultValueString=""/>
        <relationship name="poll" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Poll" inverseName="options" inverseEntity="Poll"/>
    </entity>
</model>