Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

4.0 KB
Raw Blame
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="23605" systemVersion="24D81" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithSwiftData="YES" userDefinedModelVersionIdentifier="">
    <entity name="DayEntity" representedClassName="DayEntity" syncable="YES" codeGenerationType="class">
        <attribute name="date" optional="YES" attributeType="String"/>
        <relationship name="segments" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="SegmentEntity" inverseName="day" inverseEntity="SegmentEntity"/>
    </entity>
    <entity name="EventEntity" representedClassName="EventEntity" syncable="YES" codeGenerationType="class">
        <attribute name="classType" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="quantity" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="timeStamp" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
    </entity>
    <entity name="FrameEntity" representedClassName="FrameEntity" syncable="YES" codeGenerationType="class">
        <attribute name="aspect_ratio" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="frame_timeStamp" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="res" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
        <relationship name="segment" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="SegmentEntity" inverseName="frames" inverseEntity="SegmentEntity"/>
        <relationship name="squares" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="SquareEntity" inverseName="frame" inverseEntity="SquareEntity"/>
        <fetchedProperty name="fetchedProperty" optional="YES">
            <fetchRequest name="fetchedPropertyFetchRequest" entity="FrameEntity"/>
        </fetchedProperty>
    </entity>
    <entity name="SegmentEntity" representedClassName="SegmentEntity" syncable="YES" codeGenerationType="class">
        <attribute name="duration" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="orientation" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="timeStamp" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="url" optional="YES" attributeType="String"/>
        <relationship name="day" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="DayEntity" inverseName="segments" inverseEntity="DayEntity"/>
        <relationship name="frames" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="FrameEntity" inverseName="segment" inverseEntity="FrameEntity"/>
    </entity>
    <entity name="SquareEntity" representedClassName="SquareEntity" syncable="YES" codeGenerationType="class">
        <attribute name="bottomRightX" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="bottomRightY" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="classIndex" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
        <attribute name="originX" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <attribute name="originY" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
        <relationship name="frame" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="FrameEntity" inverseName="squares" inverseEntity="FrameEntity"/>
    </entity>
</model>