             // Tag results as having a remote origin.
             var taggedContent: JSONObject? = content
             if taggedContent != nil {
-                taggedContent?[MirroredIndex.JSONKeyOrigin] = MirroredIndex.JSONValueOriginRemote
+                taggedContent?[MirroredIndex.jsonKeyOrigin] = MirroredIndex.jsonValueOriginRemote
             }
             completionHandler(taggedContent, error)
         })

    @objc public static let SyncDidFinishNotification = Notification.Name("AlgoliaSearch.MirroredIndex.SyncDidFinishNotification")
    
    /// Notification user info key used to pass the error, when an error occurred during the sync.
    @objc public static let SyncErrorKey = "AlgoliaSearch.MirroredIndex.SyncErrorKey"
    
    /// Default minimum delay between two syncs.
    @objc public static let DefaultDelayBetweenSyncs: TimeInterval = 60 * 60 * 24 // 1 day

    /// Key used to indicate the origin of results in the returned JSON.
    @objc public static let JSONKeyOrigin = "origin"
    
    /// Value for `JSONKeyOrigin` indicating that the results come from the local mirror.
    @objc public static let JSONValueOriginLocal = "local"
    
    /// Value for `JSONKeyOrigin` indicating that the results come from the online API.
    @objc public static let JSONValueOriginRemote = "remote"

    // ----------------------------------------------------------------------
    // MARK: Properties

    }
    
    /// Minimum delay between two syncs.
    @objc public var delayBetweenSyncs: TimeInterval = defaultDelayBetweenSyncs
    
    /// Date of the last successful sync, or nil if the index has never been successfully synced.
    @objc public var lastSuccessfulSyncDate: Date? {
