where(['type' => $type]) ->whereJsonContains('market_ids', [(string)$marketId]) ->get()->toArray(); } }